Edit model card

Model Trained Using AutoTrain

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

Validation Metrics

  • Loss: 0.888
  • Accuracy: 0.812
  • Macro F1: 0.684
  • Micro F1: 0.812
  • Weighted F1: 0.808
  • Macro Precision: 0.708
  • Micro Precision: 0.812
  • Weighted Precision: 0.813
  • Macro Recall: 0.691
  • Micro Recall: 0.812
  • Weighted Recall: 0.812

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": "Je participe à un accueil de jour"}' https://api-inference.huggingface.co/models/jeveuxaider/activity-classifier

Or Python API:

from transformers import AutoModelForSequenceClassification, AutoTokenizer
model = AutoModelForSequenceClassification.from_pretrained("jeveuxaider/activity-classifier", use_auth_token=True)
tokenizer = AutoTokenizer.from_pretrained("jeveuxaider/activity-classifier", use_auth_token=True)
inputs = tokenizer("Je participe à un accueil de jour", return_tensors="pt")
outputs = model(**inputs)
Downloads last month
2,253
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.