Model Trained Using AutoTrain
- Problem type: Single Column Regression
- Model ID: 54234127237
- CO2 Emissions (in grams): 0.0017
Validation Metrics
- Loss: 0.514
- MSE: 0.514
- MAE: 0.552
- R2: 0.268
- RMSE: 0.717
- Explained Variance: 0.270
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/alexisbaladon/autotrain-huhu-prejudice-54234127237
Or Python API:
from transformers import AutoModelForSequenceClassification, AutoTokenizer
model = AutoModelForSequenceClassification.from_pretrained("alexisbaladon/autotrain-huhu-prejudice-54234127237", use_auth_token=True)
tokenizer = AutoTokenizer.from_pretrained("alexisbaladon/autotrain-huhu-prejudice-54234127237", use_auth_token=True)
inputs = tokenizer("I love AutoTrain", return_tensors="pt")
outputs = model(**inputs)