Instructions to use kamel-usp/jbcs2025_phi-4-phi4_classification_lora-C4-essay_only-r8 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-C4-essay_only-r8 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-C4-essay_only-r8") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from kamel-usp/jbcs2025_phi-4-phi4_classification_lora-C4-essay_only-r8: direct link, hf CLI and curl.
- Browser
- Download file 7.15 MB
-
https://huggingface.co/kamel-usp/jbcs2025_phi-4-phi4_classification_lora-C4-essay_only-r8/resolve/main/tokenizer.json
- Command line
-
hf download hf://kamel-usp/jbcs2025_phi-4-phi4_classification_lora-C4-essay_only-r8/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/kamel-usp/jbcs2025_phi-4-phi4_classification_lora-C4-essay_only-r8/resolve/main/tokenizer.json
7.15 MB
File too large to display, you can check the raw version instead.