Model Trained Using AutoTrain

Validation Metrics

  • Loss: 0.270
  • Accuracy: 0.900
  • Macro F1: 0.866
  • Micro F1: 0.900
  • Weighted F1: 0.899
  • Macro Precision: 0.874
  • Micro Precision: 0.900
  • Weighted Precision: 0.899
  • Macro Recall: 0.859
  • Micro Recall: 0.900
  • Weighted Recall: 0.900

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/mkhairil/autotrain-text-sentiment-indonlu-smse-2885384370

Or Python API:

from transformers import AutoModelForSequenceClassification, AutoTokenizer

model = AutoModelForSequenceClassification.from_pretrained("mkhairil/autotrain-text-sentiment-indonlu-smse-2885384370", use_auth_token=True)

tokenizer = AutoTokenizer.from_pretrained("mkhairil/autotrain-text-sentiment-indonlu-smse-2885384370", use_auth_token=True)

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

outputs = model(**inputs)
Downloads last month
3
Safetensors
Model size
0.2B params
Tensor type
I64
·
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Space using mkhairil/autotrain-text-sentiment-indonlu-smse-2885384370 1