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