Instructions to use luciodery/test_Phi2_0.4_sparse with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use luciodery/test_Phi2_0.4_sparse with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("microsoft/phi-2") model = PeftModel.from_pretrained(base_model, "luciodery/test_Phi2_0.4_sparse") - Notebooks
- Google Colab
- Kaggle
Ctrl+K