Model Trained Using AutoTrain
- Problem type: Single Column Regression
- Model ID: 2218171131
- CO2 Emissions (in grams): 2.4375
Validation Metrics
- Loss: 0.325
- MSE: 0.325
- MAE: 0.449
- R2: 0.342
- RMSE: 0.570
- Explained Variance: 0.425
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-grammar-2218171131
Or Python API:
from transformers import AutoModelForSequenceClassification, AutoTokenizer
model = AutoModelForSequenceClassification.from_pretrained("huynhdoo/autotrain-ell-grammar-2218171131", use_auth_token=True)
tokenizer = AutoTokenizer.from_pretrained("huynhdoo/autotrain-ell-grammar-2218171131", use_auth_token=True)
inputs = tokenizer("I love AutoTrain", return_tensors="pt")
outputs = model(**inputs)
- Downloads last month
- 2