metadata
tags:
- autotrain
- text-regression
language:
- unk
widget:
- text: I love AutoTrain 🤗
datasets:
- huynhdoo/autotrain-data-ell-conventions
co2_eq_emissions:
emissions: 2.6341173422087247
Model Trained Using AutoTrain
- Problem type: Single Column Regression
- Model ID: 2218371153
- CO2 Emissions (in grams): 2.6341
Validation Metrics
- Loss: 0.259
- MSE: 0.259
- MAE: 0.402
- R2: 0.426
- RMSE: 0.509
- Explained Variance: 0.439
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/huynhdoo/autotrain-ell-conventions-2218371153
Or Python API:
from transformers import AutoModelForSequenceClassification, AutoTokenizer
model = AutoModelForSequenceClassification.from_pretrained("huynhdoo/autotrain-ell-conventions-2218371153", use_auth_token=True)
tokenizer = AutoTokenizer.from_pretrained("huynhdoo/autotrain-ell-conventions-2218371153", use_auth_token=True)
inputs = tokenizer("I love AutoTrain", return_tensors="pt")
outputs = model(**inputs)