Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

AlgorithmicResearchGroup
/
phi-chemistry

Summarization
Transformers
Safetensors
English
phi
text-generation
arxiv
custom_code
text-generation-inference
Model card Files Files and versions
xet
Community

Instructions to use AlgorithmicResearchGroup/phi-chemistry with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use AlgorithmicResearchGroup/phi-chemistry with Transformers:

    # Use a pipeline as a high-level helper
    # Warning: Pipeline type "summarization" is no longer supported in transformers v5.
    # You must load the model directly (see below) or downgrade to v4.x with:
    # 'pip install "transformers<5.0.0'
    from transformers import pipeline
    
    pipe = pipeline("summarization", model="AlgorithmicResearchGroup/phi-chemistry", trust_remote_code=True)
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForCausalLM
    
    tokenizer = AutoTokenizer.from_pretrained("AlgorithmicResearchGroup/phi-chemistry", trust_remote_code=True)
    model = AutoModelForCausalLM.from_pretrained("AlgorithmicResearchGroup/phi-chemistry", trust_remote_code=True)
  • Notebooks
  • Google Colab
  • Kaggle
phi-chemistry
Ctrl+K
Ctrl+K
  • 2 contributors
History: 2 commits
matthewkenney's picture
matthewkenney
Upload MixFormerSequentialForCausalLM
dff68b0 over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • config.json
    841 Bytes
    Upload MixFormerSequentialForCausalLM over 2 years ago
  • generation_config.json
    69 Bytes
    Upload MixFormerSequentialForCausalLM over 2 years ago
  • model.safetensors
    2.84 GB
    xet
    Upload MixFormerSequentialForCausalLM over 2 years ago