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

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

Model Trained Using AutoTrain

  • Problem type: Text Classification

Validation Metrics

loss: 0.8816452026367188

f1_macro: 0.5019607843137255

f1_micro: 0.75

f1_weighted: 0.7313725490196079

precision_macro: 0.5

precision_micro: 0.75

precision_weighted: 0.71875

recall_macro: 0.5079365079365079

recall_micro: 0.75

recall_weighted: 0.75

accuracy: 0.75

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