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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

JamieAi33
/
Phi-2-QLora

Question Answering
PEFT
Safetensors
English
QuestionAnswering
legal
finan
chem
biology
Model card Files Files and versions
xet
Community

Instructions to use JamieAi33/Phi-2-QLora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use JamieAi33/Phi-2-QLora with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("microsoft/phi-2")
    model = PeftModel.from_pretrained(base_model, "JamieAi33/Phi-2-QLora")
  • Notebooks
  • Google Colab
  • Kaggle
Phi-2-QLora
127 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 11 commits
JamieAi33's picture
JamieAi33
Update README.md
3c85c02 verified almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    3.71 kB
    Update README.md almost 2 years ago
  • adapter_config.json
    668 Bytes
    Upload adapter_config.json with huggingface_hub almost 2 years ago
  • adapter_model.safetensors
    83.9 MB
    xet
    Upload adapter_model.safetensors with huggingface_hub almost 2 years ago
  • optimizer.pt
    42.9 MB
    xet
    Upload optimizer.pt with huggingface_hub almost 2 years ago
  • rng_state.pth
    14.2 kB
    xet
    Upload rng_state.pth with huggingface_hub almost 2 years ago
  • scheduler.pt
    1.06 kB
    xet
    Upload scheduler.pt with huggingface_hub almost 2 years ago
  • trainer_state.json
    16.2 kB
    Upload trainer_state.json with huggingface_hub almost 2 years ago
  • training_args.bin
    5.3 kB
    xet
    Upload training_args.bin with huggingface_hub almost 2 years ago