Edit model card

Model Trained Using AutoTrain

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

Validation Metrics

  • Loss: 0.269
  • Accuracy: 0.943
  • Macro F1: 0.944
  • Micro F1: 0.943
  • Weighted F1: 0.943
  • Macro Precision: 0.948
  • Micro Precision: 0.943
  • Weighted Precision: 0.947
  • Macro Recall: 0.944
  • Micro Recall: 0.943
  • Weighted Recall: 0.943

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/dracero/autotrain-dracero-fine-tuned-physics-2123168626

Or Python API:

from transformers import AutoModelForSequenceClassification, AutoTokenizer

model = AutoModelForSequenceClassification.from_pretrained("dracero/autotrain-dracero-fine-tuned-physics-2123168626", use_auth_token=True)

tokenizer = AutoTokenizer.from_pretrained("dracero/autotrain-dracero-fine-tuned-physics-2123168626", use_auth_token=True)

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

outputs = model(**inputs)
Downloads last month
35
Hosted inference API

Unable to determine this model’s library. Check the docs .

Dataset used to train dracero/autotrain-dracero-fine-tuned-physics-2123168626