Model Trained Using AutoTrain
- Problem type: Multi-class Classification
- Model ID: 56514130987
- CO2 Emissions (in grams): 0.0206
Validation Metrics
- Loss: 2.740
- Accuracy: 0.303
- Macro F1: 0.141
- Micro F1: 0.303
- Weighted F1: 0.210
- Macro Precision: 0.135
- Micro Precision: 0.303
- Weighted Precision: 0.188
- Macro Recall: 0.167
- Micro Recall: 0.303
- Weighted Recall: 0.303
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"}' /static-proxy?url=https%3A%2F%2Fapi-inference.huggingface.co%2Fmodels%2FwTao1215%2Fautotrain-it-case-classify-56514130987
Or Python API:
from transformers import AutoModelForSequenceClassification, AutoTokenizer
model = AutoModelForSequenceClassification.from_pretrained("wTao1215/autotrain-it-case-classify-56514130987", use_auth_token=True)
tokenizer = AutoTokenizer.from_pretrained("wTao1215/autotrain-it-case-classify-56514130987", use_auth_token=True)
inputs = tokenizer("I love AutoTrain", return_tensors="pt")
outputs = model(**inputs)
- Downloads last month
- 7
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social
visibility and check back later, or deploy to Inference Endpoints (dedicated)
instead.