system's picture
system HF staff
Commit From AutoTrain
924af64
metadata
tags:
  - autotrain
  - text-classification
language:
  - unk
widget:
  - text: I love AutoTrain 🤗
datasets:
  - ekincanozcelik/autotrain-data-okr_iptal_v3
co2_eq_emissions:
  emissions: 0.6594277471514705

Model Trained Using AutoTrain

  • Problem type: Binary Classification
  • Model ID: 47629116653
  • CO2 Emissions (in grams): 0.6594

Validation Metrics

  • Loss: 0.273
  • Accuracy: 0.912
  • Precision: 0.926
  • Recall: 0.897
  • AUC: 0.940
  • F1: 0.911

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/ekincanozcelik/autotrain-okr_iptal_v3-47629116653

Or Python API:

from transformers import AutoModelForSequenceClassification, AutoTokenizer

model = AutoModelForSequenceClassification.from_pretrained("ekincanozcelik/autotrain-okr_iptal_v3-47629116653", use_auth_token=True)

tokenizer = AutoTokenizer.from_pretrained("ekincanozcelik/autotrain-okr_iptal_v3-47629116653", use_auth_token=True)

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

outputs = model(**inputs)