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