Edit model card

Model Trained Using AutoTrain

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

Validation Metrics

  • Loss: 1.121
  • Accuracy: 0.589
  • Macro F1: 0.403
  • Micro F1: 0.589
  • Weighted F1: 0.541
  • Macro Precision: 0.433
  • Micro Precision: 0.589
  • Weighted Precision: 0.536
  • Macro Recall: 0.415
  • Micro Recall: 0.589
  • Weighted Recall: 0.589

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/lucieackley/autotrain-fitness_message_classification-40235104670

Or Python API:

from transformers import AutoModelForSequenceClassification, AutoTokenizer

model = AutoModelForSequenceClassification.from_pretrained("lucieackley/autotrain-fitness_message_classification-40235104670", use_auth_token=True)

tokenizer = AutoTokenizer.from_pretrained("lucieackley/autotrain-fitness_message_classification-40235104670", use_auth_token=True)

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

outputs = model(**inputs)
Downloads last month
10
Inference Examples
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social visibility and check back later, or deploy to Inference Endpoints (dedicated) instead.

Space using lucieackley/fitness_message_classification 1