metadata
tags:
- autotrain
- text-regression
language:
- unk
widget:
- text: I love AutoTrain 🤗
datasets:
- Muhsabrys/autotrain-data-twhinlargepretweet_regression
co2_eq_emissions:
emissions: 0.01584310747510509
Model Trained Using AutoTrain
- Problem type: Single Column Regression
- Model ID: 51696122377
- CO2 Emissions (in grams): 0.0158
Validation Metrics
- Loss: 0.050
- MSE: 0.050
- MAE: 0.171
- R2: 0.612
- RMSE: 0.223
- Explained Variance: 0.613
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-twhinlargepretweet_regression-51696122377
Or Python API:
from transformers import AutoModelForSequenceClassification, AutoTokenizer
model = AutoModelForSequenceClassification.from_pretrained("Muhsabrys/autotrain-twhinlargepretweet_regression-51696122377", use_auth_token=True)
tokenizer = AutoTokenizer.from_pretrained("Muhsabrys/autotrain-twhinlargepretweet_regression-51696122377", use_auth_token=True)
inputs = tokenizer("I love AutoTrain", return_tensors="pt")
outputs = model(**inputs)