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="riyaz-31/autotrain-aws-bot")
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("riyaz-31/autotrain-aws-bot")
model = AutoModelForSequenceClassification.from_pretrained("riyaz-31/autotrain-aws-bot", device_map="auto")
Quick Links

Model Trained Using AutoTrain

  • Problem type: Text Classification

Validation Metrics

loss: 0.24507267773151398

f1: 1.0

precision: 1.0

recall: 1.0

auc: 1.0

accuracy: 1.0

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