Instructions to use kamel-usp/jbcs2025_phi-4-phi4_classification_lora-C2-essay_only-r16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use kamel-usp/jbcs2025_phi-4-phi4_classification_lora-C2-essay_only-r16 with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("microsoft/phi-4") model = PeftModel.from_pretrained(base_model, "kamel-usp/jbcs2025_phi-4-phi4_classification_lora-C2-essay_only-r16") - Notebooks
- Google Colab
- Kaggle
Download vocab.json from kamel-usp/jbcs2025_phi-4-phi4_classification_lora-C2-essay_only-r16: direct link, hf CLI and curl.
- Browser
- Download file 1.61 MB
-
https://huggingface.co/kamel-usp/jbcs2025_phi-4-phi4_classification_lora-C2-essay_only-r16/resolve/main/vocab.json
- Command line
-
hf download hf://kamel-usp/jbcs2025_phi-4-phi4_classification_lora-C2-essay_only-r16/vocab.json
-
curl -L -o vocab.json https://huggingface.co/kamel-usp/jbcs2025_phi-4-phi4_classification_lora-C2-essay_only-r16/resolve/main/vocab.json
1.61 MB
File too large to display, you can check the raw version instead.