metadata
tags: autotrain
language: en
widget:
- text: I love AutoTrain 🤗
datasets:
- crcb/autotrain-data-dvs
co2_eq_emissions: 8.758858538967111
Model Trained Using AutoTrain
- Problem type: Binary Classification
- Model ID: 753223045
- CO2 Emissions (in grams): 8.758858538967111
Validation Metrics
- Loss: 0.14833936095237732
- Accuracy: 0.9471454508775469
- Precision: 0.5045871559633027
- Recall: 0.4166666666666667
- AUC: 0.8806422686270332
- F1: 0.4564315352697096
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/crcb/autotrain-dvs-753223045
Or Python API:
from transformers import AutoModelForSequenceClassification, AutoTokenizer
model = AutoModelForSequenceClassification.from_pretrained("crcb/autotrain-dvs-753223045", use_auth_token=True)
tokenizer = AutoTokenizer.from_pretrained("crcb/autotrain-dvs-753223045", use_auth_token=True)
inputs = tokenizer("I love AutoTrain", return_tensors="pt")
outputs = model(**inputs)