Instructions to use ntnu-smil/phi-4-normal-gec-0331-8bit-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use ntnu-smil/phi-4-normal-gec-0331-8bit-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("microsoft/Phi-4") model = PeftModel.from_pretrained(base_model, "ntnu-smil/phi-4-normal-gec-0331-8bit-lora") - Notebooks
- Google Colab
- Kaggle
Ctrl+K