Instructions to use abdelhakimDZ/phi-2-role-play with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use abdelhakimDZ/phi-2-role-play with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("microsoft/phi-2") model = PeftModel.from_pretrained(base_model, "abdelhakimDZ/phi-2-role-play") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
567c384 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:66bae3f5829e5fb8892b8425ba21c8d40d7dc1d4ae4afec10f7a71a322b51a24
size 4920
|