system's picture
system HF staff
Commit From AutoTrain
3886054
metadata
tags: autotrain
language: en
widget:
  - text: I love AutoTrain 🤗
datasets:
  - liux3790/autotrain-data-journals-covid
co2_eq_emissions: 1.52810485048449

Model Trained Using AutoTrain

  • Problem type: Binary Classification
  • Model ID: 990032813
  • CO2 Emissions (in grams): 1.52810485048449

Validation Metrics

  • Loss: 0.7393798828125
  • Accuracy: 0.5
  • Precision: 0.5
  • Recall: 1.0
  • AUC: 0.0
  • F1: 0.6666666666666666

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/liux3790/autotrain-journals-covid-990032813

Or Python API:

from transformers import AutoModelForSequenceClassification, AutoTokenizer

model = AutoModelForSequenceClassification.from_pretrained("liux3790/autotrain-journals-covid-990032813", use_auth_token=True)

tokenizer = AutoTokenizer.from_pretrained("liux3790/autotrain-journals-covid-990032813", use_auth_token=True)

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

outputs = model(**inputs)