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

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

Model Trained Using AutoTrain

  • Problem type: Text Classification

Validation Metrics

loss: 0.6593675017356873

f1_macro: 0.6489004767693293

f1_micro: 0.6925925925925925

f1_weighted: 0.6558835632606125

precision_macro: 0.6958400129775946

precision_micro: 0.6925925925925925

precision_weighted: 0.7395732343473669

recall_macro: 0.7205811088713783

recall_micro: 0.6925925925925925

recall_weighted: 0.6925925925925925

accuracy: 0.6925925925925925

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