Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

darshjoshi16
/
phi2-lora-math

PEFT
Safetensors
Transformers
lora
math
reasoning
gsm8k
phi-2
Model card Files Files and versions
xet
Community

Instructions to use darshjoshi16/phi2-lora-math with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use darshjoshi16/phi2-lora-math with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("microsoft/phi-2")
    model = PeftModel.from_pretrained(base_model, "darshjoshi16/phi2-lora-math")
  • Transformers

    How to use darshjoshi16/phi2-lora-math with Transformers:

    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("darshjoshi16/phi2-lora-math", dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
phi2-lora-math
41.6 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
darshjoshi16's picture
darshjoshi16
Update README.md
d7d6de0 verified 12 months ago
  • .gitattributes
    1.52 kB
    initial commit 12 months ago
  • README.md
    3.31 kB
    Update README.md 12 months ago
  • adapter_config.json
    791 Bytes
    Upload model 12 months ago
  • adapter_model.safetensors
    36.7 MB
    xet
    Upload model 12 months ago
  • added_tokens.json
    1.08 kB
    Upload tokenizer 12 months ago
  • merges.txt
    456 kB
    Upload tokenizer 12 months ago
  • special_tokens_map.json
    441 Bytes
    Upload tokenizer 12 months ago
  • tokenizer.json
    3.56 MB
    Upload tokenizer 12 months ago
  • tokenizer_config.json
    7.4 kB
    Upload tokenizer 12 months ago
  • vocab.json
    798 kB
    Upload tokenizer 12 months ago