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

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

Model Trained Using AutoTrain

  • Problem type: Text Classification

Validation Metrics

loss: 0.6413357257843018

f1_macro: 0.7163881004940608

f1_micro: 0.725925925925926

f1_weighted: 0.7259726456194447

precision_macro: 0.6712302319912927

precision_micro: 0.725925925925926

precision_weighted: 0.7310670226564031

recall_macro: 0.8041251807057194

recall_micro: 0.725925925925926

recall_weighted: 0.725925925925926

accuracy: 0.725925925925926

Downloads last month
3
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

Collection including mserloth/v20