system's picture
system HF staff
Commit From AutoTrain
2354915
|
raw
history blame
1.17 kB
metadata
tags:
  - autotrain
  - text-classification
language:
  - unk
widget:
  - text: I love AutoTrain 🤗
datasets:
  - ekincanozcelik/autotrain-data-okr_iptal_v4
co2_eq_emissions:
  emissions: 0.6003148876836777

Model Trained Using AutoTrain

  • Problem type: Binary Classification
  • Model ID: 48282117445
  • CO2 Emissions (in grams): 0.6003

Validation Metrics

  • Loss: 0.259
  • Accuracy: 0.907
  • Precision: 0.901
  • Recall: 0.932
  • AUC: 0.959
  • F1: 0.916

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_v4-48282117445

Or Python API:

from transformers import AutoModelForSequenceClassification, AutoTokenizer

model = AutoModelForSequenceClassification.from_pretrained("ekincanozcelik/autotrain-okr_iptal_v4-48282117445", use_auth_token=True)

tokenizer = AutoTokenizer.from_pretrained("ekincanozcelik/autotrain-okr_iptal_v4-48282117445", use_auth_token=True)

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

outputs = model(**inputs)