metadata
tags:
- autotrain
- text-classification
language:
- unk
widget:
- text: I love AutoTrain 🤗
datasets:
- Muhsabrys/autotrain-data-iuexist-largetwhin
co2_eq_emissions:
emissions: 4.162542244862881
Model Trained Using AutoTrain
- Problem type: Multi-class Classification
- Model ID: 49044118709
- CO2 Emissions (in grams): 4.1625
Validation Metrics
- Loss: 0.717
- Accuracy: 0.718
- Macro F1: 0.503
- Micro F1: 0.718
- Weighted F1: 0.680
- Macro Precision: 0.478
- Micro Precision: 0.718
- Weighted Precision: 0.647
- Macro Recall: 0.531
- Micro Recall: 0.718
- Weighted Recall: 0.718
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/Muhsabrys/autotrain-iuexist-largetwhin-49044118709
Or Python API:
from transformers import AutoModelForSequenceClassification, AutoTokenizer
model = AutoModelForSequenceClassification.from_pretrained("Muhsabrys/autotrain-iuexist-largetwhin-49044118709", use_auth_token=True)
tokenizer = AutoTokenizer.from_pretrained("Muhsabrys/autotrain-iuexist-largetwhin-49044118709", use_auth_token=True)
inputs = tokenizer("I love AutoTrain", return_tensors="pt")
outputs = model(**inputs)