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