How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-classification", model="Defensa2025/C2ROBERTA4060")
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("Defensa2025/C2ROBERTA4060")
model = AutoModelForSequenceClassification.from_pretrained("Defensa2025/C2ROBERTA4060", device_map="auto")
Quick Links

Model Trained Using AutoTrain

  • Problem type: Text Classification

Validation Metrics

loss: 0.30518293380737305

f1: 0.8927536231884058

precision: 0.9685534591194969

recall: 0.8279569892473119

auc: 0.9376422572796483

accuracy: 0.8854489164086687

Downloads last month
5
Safetensors
Model size
0.3B params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for Defensa2025/C2ROBERTA4060

Finetuned
(4,346)
this model