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

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

Model Trained Using AutoTrain

  • Problem type: Text Classification

Validation Metrics

loss: 0.6887156963348389

f1_macro: 0.6568419235085902

f1_micro: 0.638095238095238

f1_weighted: 0.6344955456066568

precision_macro: 0.7028995456179922

precision_micro: 0.638095238095238

precision_weighted: 0.7468468005684834

recall_macro: 0.6885887791171937

recall_micro: 0.638095238095238

recall_weighted: 0.638095238095238

accuracy: 0.638095238095238

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