Election Fraud Binary Classifier

  • Problem type: Binary Classification
  • Model ID: 23315155
  • CO2 Emissions (in grams): 1.3248523193990855

Validation Metrics

  • Loss: 0.4240806996822357
  • Accuracy: 0.8173913043478261
  • Precision: 0.8837209302325582
  • Recall: 0.8085106382978723
  • AUC: 0.8882580285281696
  • F1: 0.8444444444444444

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/sefaozalpadl/election_relevancy_best

Or Python API:

from transformers import AutoTokenizer, AutoModelForSequenceClassification
  
tokenizer = AutoTokenizer.from_pretrained("sefaozalpadl/election_relevancy_best")

model = AutoModelForSequenceClassification.from_pretrained("sefaozalpadl/election_relevancy_best")

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

outputs = model(**inputs)
Downloads last month
0
Hosted inference API
Text Classification
Examples
Examples
This model can be loaded on the Inference API on-demand.