Model Trained Using AutoTrain
- Problem type: Binary Classification
- Model ID: 39304102733
- CO2 Emissions (in grams): 1.3917
Validation Metrics
- Loss: 0.200
- Accuracy: 0.937
- Precision: 0.936
- Recall: 0.940
- AUC: 0.982
- F1: 0.938
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/raghuram13/autotrain-sentiment_analysis-39304102733
Or Python API:
from transformers import AutoModelForSequenceClassification, AutoTokenizer
model = AutoModelForSequenceClassification.from_pretrained("raghuram13/autotrain-sentiment_analysis-39304102733", use_auth_token=True)
tokenizer = AutoTokenizer.from_pretrained("raghuram13/autotrain-sentiment_analysis-39304102733", use_auth_token=True)
inputs = tokenizer("I love AutoTrain", return_tensors="pt")
outputs = model(**inputs)
- Downloads last month
- 103
Inference Providers
NEW
This model is not currently available via any of the supported third-party Inference Providers, and
the model is not deployed on the HF Inference API.