Model Trained Using AutoTrain
- Problem type: Multi-class Classification
- Model ID: 64427135743
- CO2 Emissions (in grams): 0.3719
Validation Metrics
- Loss: 1.587
- Accuracy: 0.391
- Macro F1: 0.179
- Micro F1: 0.391
- Weighted F1: 0.261
- Macro Precision: 0.144
- Micro Precision: 0.391
- Weighted Precision: 0.202
- Macro Recall: 0.250
- Micro Recall: 0.391
- Weighted Recall: 0.391
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/ketong3906/autotrain-66dolly-64427135743
Or Python API:
from transformers import AutoModelForSequenceClassification, AutoTokenizer
model = AutoModelForSequenceClassification.from_pretrained("ketong3906/autotrain-66dolly-64427135743", use_auth_token=True)
tokenizer = AutoTokenizer.from_pretrained("ketong3906/autotrain-66dolly-64427135743", use_auth_token=True)
inputs = tokenizer("I love AutoTrain", return_tensors="pt")
outputs = model(**inputs)