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