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/C2BERT4060")
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification

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

Model Trained Using AutoTrain

  • Problem type: Text Classification

Validation Metrics

loss: 0.3054405748844147

f1: 0.9032258064516129

precision: 0.9032258064516129

recall: 0.9032258064516129

auc: 0.9365041990424614

accuracy: 0.8885448916408669

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

Model tree for Defensa2025/C2BERT4060

Finetuned
(7,284)
this model