Instructions to use kamel-usp/jbcs2025_phi-4-phi4_classification_lora-C4-full_context-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-full_context-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-full_context-r8") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from kamel-usp/jbcs2025_phi-4-phi4_classification_lora-C4-full_context-r8: direct link, hf CLI and curl.
- Browser
- Download file 1.16 kB
-
https://huggingface.co/kamel-usp/jbcs2025_phi-4-phi4_classification_lora-C4-full_context-r8/resolve/main/README.md
- Command line
-
hf download hf://kamel-usp/jbcs2025_phi-4-phi4_classification_lora-C4-full_context-r8/README.md
-
curl -L -o README.md https://huggingface.co/kamel-usp/jbcs2025_phi-4-phi4_classification_lora-C4-full_context-r8/resolve/main/README.md
1.16 kB
metadata
language:
- pt
- en
tags:
- aes
datasets:
- kamel-usp/aes_enem_dataset
base_model: microsoft/phi-4
metrics:
- accuracy
- qwk
library_name: peft
model-index:
- name: phi-4-phi4_classification_lora-C4-full_context-r8
results:
- task:
type: text-classification
name: Automated Essay Score
dataset:
name: Automated Essay Score ENEM Dataset
type: kamel-usp/aes_enem_dataset
config: JBCS2025
split: test
metrics:
- name: Macro F1
type: f1
value: 0.3340388007054673
- name: QWK
type: qwk
value: 0.5481955230698949
- name: Weighted Macro F1
type: f1
value: 0.5752579143883491
Model ID: phi-4-phi4_classification_lora-C4-full_context-r8
Results
| test_data | |
|---|---|
| eval_accuracy | 0.565217 |
| eval_RMSE | 31.5769 |
| eval_QWK | 0.548196 |
| eval_Macro_F1 | 0.334039 |
| eval_Weighted_F1 | 0.575258 |
| eval_Micro_F1 | 0.565217 |
| eval_HDIV | 0.00724638 |