Model Trained Using AutoTrain
- Problem type: Multi-class Classification
- Model ID: 39730103438
- CO2 Emissions (in grams): 0.5875
Validation Metrics
- Loss: 0.029
- Accuracy: 0.996
- Macro F1: 0.997
- Micro F1: 0.996
- Weighted F1: 0.996
- Macro Precision: 0.997
- Micro Precision: 0.996
- Weighted Precision: 0.996
- Macro Recall: 0.997
- Micro Recall: 0.996
- Weighted Recall: 0.996
Usage
You can use cURL to access this model:
$ curl -X POST -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{"inputs": "I love AutoTrain"}' https://api-inference.huggingface.co/models/unlabeledstudiosllc/autotrain-client-message-topics-39730103438
Or Python API:
from transformers import AutoModelForSequenceClassification, AutoTokenizer
model = AutoModelForSequenceClassification.from_pretrained("unlabeledstudiosllc/autotrain-client-message-topics-39730103438", use_auth_token=True)
tokenizer = AutoTokenizer.from_pretrained("unlabeledstudiosllc/autotrain-client-message-topics-39730103438", use_auth_token=True)
inputs = tokenizer("I love AutoTrain", return_tensors="pt")
outputs = model(**inputs)