--- tags: - autotrain - text-classification language: - en widget: - text: "I love AutoTrain" datasets: - MarketingHHM/autotrain-data-hhmpredictivev3 co2_eq_emissions: emissions: 0.5506881836447735 --- # Model Trained Using AutoTrain - Problem type: Multi-class Classification - Model ID: 65823136268 - CO2 Emissions (in grams): 0.5507 ## Validation Metrics - Loss: 1.550 - Accuracy: 0.308 - Macro F1: 0.223 - Micro F1: 0.308 - Weighted F1: 0.223 - Macro Precision: 0.263 - Micro Precision: 0.308 - Weighted Precision: 0.263 - Macro Recall: 0.308 - Micro Recall: 0.308 - Weighted Recall: 0.308 ## 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/MarketingHHM/autotrain-hhmpredictivev3-65823136268 ``` Or Python API: ``` from transformers import AutoModelForSequenceClassification, AutoTokenizer model = AutoModelForSequenceClassification.from_pretrained("MarketingHHM/autotrain-hhmpredictivev3-65823136268", use_auth_token=True) tokenizer = AutoTokenizer.from_pretrained("MarketingHHM/autotrain-hhmpredictivev3-65823136268", use_auth_token=True) inputs = tokenizer("I love AutoTrain", return_tensors="pt") outputs = model(**inputs) ```