中文

Model Trained Using AutoTrain

  • Problem type: Multi-class Classification
  • Model ID: 69166137722
  • CO2 Emissions (in grams): 0.3594

Validation Metrics

  • Loss: 0.884
  • Accuracy: 0.685
  • Macro F1: 0.643
  • Micro F1: 0.685
  • Weighted F1: 0.677
  • Macro Precision: 0.677
  • Micro Precision: 0.685
  • Weighted Precision: 0.689
  • Macro Recall: 0.642
  • Micro Recall: 0.685
  • Weighted Recall: 0.685

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/elsliew/autotrain-skillsync2-69166137722

Or Python API:

from transformers import AutoModelForSequenceClassification, AutoTokenizer

model = AutoModelForSequenceClassification.from_pretrained("elsliew/autotrain-skillsync2-69166137722", use_auth_token=True)

tokenizer = AutoTokenizer.from_pretrained("elsliew/autotrain-skillsync2-69166137722", use_auth_token=True)

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

outputs = model(**inputs)