Instructions to use omusico/phi-2-qlora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use omusico/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, "omusico/phi-2-qlora") - Notebooks
- Google Colab
- Kaggle
Download training_args.bin from omusico/phi-2-qlora: direct link, hf CLI and curl.
- Browser
- Download file 4.79 kB
-
https://huggingface.co/omusico/phi-2-qlora/resolve/main/training_args.bin
- Command line
-
hf download hf://omusico/phi-2-qlora/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/omusico/phi-2-qlora/resolve/main/training_args.bin
4.79 kB
- Xet hash:
- 40932fc4bbbf791c00dfc05001f5cf531dee39af09475daae72cd21bcda016b4
- Size of remote file:
- 4.79 kB
- SHA256:
- 185dc3b2f8a513d6add6b0e939f09995f2df5bd44646101065c83beef24eee7b
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.