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
File size: 129 Bytes
7bddab2 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:185dc3b2f8a513d6add6b0e939f09995f2df5bd44646101065c83beef24eee7b
size 4792
|