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