readme: ---
  tags: autonlp
  language: en
  widget:
  - text: "I love AutoNLP 🤗"
  datasets:
  - goudsbloem/autonlp-data-SimpleNLP
  co2_eq_emissions: 18.547505553224322
  ---
  
  # Model Trained Using AutoNLP
  
  - Problem type: Multi-class Classification
  - Model ID: 19783928
  - CO2 Emissions (in grams): 18.547505553224322
  
  ## Validation Metrics
  
  - Loss: 1.272947072982788
  - Accuracy: 0.7294390671874116
  - Macro F1: 0.6967591765541163
  - Micro F1: 0.7294390671874116
  - Weighted F1: 0.7191172456183007
  - Macro Precision: 0.7335481187146402
  - Micro Precision: 0.7294390671874116
  - Weighted Precision: 0.7271242743450566
  - Macro Recall: 0.6980577110396122
  - Micro Recall: 0.7294390671874116
  - Weighted Recall: 0.7294390671874116
  
  
  ## 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 AutoNLP"}' https://api-inference.huggingface.co/models/goudsbloem/autonlp-SimpleNLP-19783928
  ```
  
  Or Python API:
  
  ```
  from transformers import AutoModelForSequenceClassification, AutoTokenizer
  
  model = AutoModelForSequenceClassification.from_pretrained("goudsbloem/autonlp-SimpleNLP-19783928", use_auth_token=True)
  
  tokenizer = AutoTokenizer.from_pretrained("goudsbloem/autonlp-SimpleNLP-19783928", use_auth_token=True)
  
  inputs = tokenizer("I love AutoNLP", return_tensors="pt")
  
  outputs = model(**inputs)
  ```