CoolFace
Modelpublic

0xYuan/autotrain-b-63449135459

sourceHugging Faceupdated 3y agoView on Hugging Face
0likes8downloads
Model Card

Model Trained Using AutoTrain

  • —Problem type: Binary Classification
  • —Model ID: 63449135459
  • —CO2 Emissions (in grams): 4.7204

Validation Metrics

  • —Loss: 0.375
  • —Accuracy: 0.852
  • —Precision: 0.866
  • —Recall: 0.893
  • —AUC: 0.906
  • —F1: 0.879

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/0xYuan/autotrain-b-63449135459

Or Python API:

from transformers import AutoModelForSequenceClassification, AutoTokenizer

model = AutoModelForSequenceClassification.from_pretrained("0xYuan/autotrain-b-63449135459", use_auth_token=True)

tokenizer = AutoTokenizer.from_pretrained("0xYuan/autotrain-b-63449135459", use_auth_token=True)

inputs = tokenizer("I love AutoTrain", return_tensors="pt")

outputs = model(**inputs)