system's picture
system HF staff
Commit From AutoTrain
844c635
metadata
tags:
  - autotrain
  - text-classification
language:
  - unk
widget:
  - text: I love AutoTrain 🤗
datasets:
  - noob123/autotrain-data-app_review_bert_train
co2_eq_emissions:
  emissions: 4.094086460501482

Model Trained Using AutoTrain

  • Problem type: Binary Classification
  • Model ID: 1310050094
  • CO2 Emissions (in grams): 4.0941

Validation Metrics

  • Loss: 0.449
  • Accuracy: 0.800
  • Precision: 0.855
  • Recall: 0.844
  • AUC: 0.851
  • F1: 0.849

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/noob123/autotrain-app_review_bert_train-1310050094

Or Python API:

from transformers import AutoModelForSequenceClassification, AutoTokenizer

model = AutoModelForSequenceClassification.from_pretrained("noob123/autotrain-app_review_bert_train-1310050094", use_auth_token=True)

tokenizer = AutoTokenizer.from_pretrained("noob123/autotrain-app_review_bert_train-1310050094", use_auth_token=True)

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

outputs = model(**inputs)