Instructions to use dictatee/phi-2-qlora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use dictatee/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, "dictatee/phi-2-qlora") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
b16e3b5 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:79d4d46c5dc73a1bb26025718745367a06f64c4a0a79d56ae5dd80d944f8f7ff
size 4792
|