Model Trained Using AutoTrain

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

Validation Metrics

  • Loss: 0.483
  • Accuracy: 0.863
  • Macro F1: 0.821
  • Micro F1: 0.863
  • Weighted F1: 0.858
  • Macro Precision: 0.876
  • Micro Precision: 0.863
  • Weighted Precision: 0.866
  • Macro Recall: 0.813
  • Micro Recall: 0.863
  • Weighted Recall: 0.863

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/pedro-m4u/autotrain-new_1000_respostas-3526695346

Or Python API:

from transformers import AutoModelForSequenceClassification, AutoTokenizer

model = AutoModelForSequenceClassification.from_pretrained("pedro-m4u/autotrain-new_1000_respostas-3526695346", use_auth_token=True)

tokenizer = AutoTokenizer.from_pretrained("pedro-m4u/autotrain-new_1000_respostas-3526695346", use_auth_token=True)

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

outputs = model(**inputs)
Downloads last month
3
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Dataset used to train pedro-m4u/1000_respostas-MODELO_2

Space using pedro-m4u/1000_respostas-MODELO_2 1