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

  • Log In
  • Sign Up

AlgorithmicResearchGroup
/
phi-arxiv-math-instruct

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-arxiv-math-instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use AlgorithmicResearchGroup/phi-arxiv-math-instruct 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-arxiv-math-instruct", trust_remote_code=True)
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForCausalLM
    
    tokenizer = AutoTokenizer.from_pretrained("AlgorithmicResearchGroup/phi-arxiv-math-instruct", trust_remote_code=True)
    model = AutoModelForCausalLM.from_pretrained("AlgorithmicResearchGroup/phi-arxiv-math-instruct", trust_remote_code=True)
  • Notebooks
  • Google Colab
  • Kaggle
phi-arxiv-math-instruct
2.84 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 10 commits
matthewkenney's picture
matthewkenney
Upload tokenizer
25a7f5f over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    2.15 kB
    Create README.md over 2 years ago
  • added_tokens.json
    1.08 kB
    Upload tokenizer over 2 years ago
  • config.json
    765 Bytes
    Update config.json over 2 years ago
  • configuration_mixformer_sequential.py
    2.23 kB
    Create configuration_mixformer_sequential.py over 2 years ago
  • generation_config.json
    69 Bytes
    Upload PhiForCausalLM over 2 years ago
  • handler.py
    1.38 kB
    Create handler.py over 2 years ago
  • merges.txt
    456 kB
    Upload tokenizer over 2 years ago
  • model.safetensors
    2.84 GB
    xet
    Upload PhiForCausalLM over 2 years ago
  • requirements.txt
    19 Bytes
    Create requirements.txt over 2 years ago
  • special_tokens_map.json
    131 Bytes
    Upload tokenizer over 2 years ago
  • tokenizer.json
    2.11 MB
    Upload tokenizer over 2 years ago
  • tokenizer_config.json
    7.37 kB
    Upload tokenizer over 2 years ago
  • vocab.json
    798 kB
    Upload tokenizer over 2 years ago