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