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