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

tokenizer = AutoTokenizer.from_pretrained("assaflehr/cls2.0")
model = AutoModelForSequenceClassification.from_pretrained("assaflehr/cls2.0", device_map="auto")
Quick Links

Model Trained Using AutoTrain

  • Problem type: Text Classification

Validation Metrics

loss: 0.32059717178344727

f1: 0.9162629757785468

precision: 0.9168975069252078

recall: 0.9156293222683264

auc: 0.963556761725483

accuracy: 0.9163208852005532

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

Model tree for assaflehr/cls2.0

Finetuned
(871)
this model