sefaozalpadl commited on
Commit
94938ca
1 Parent(s): 078bb98

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -5
README.md CHANGED
@@ -2,13 +2,13 @@
2
  tags: autonlp
3
  language: en
4
  widget:
5
- - text: "I love AutoNLP 🤗"
6
  datasets:
7
  - sefaozalpadl/autonlp-data-election_relevancy_analysis
8
  co2_eq_emissions: 1.3248523193990855
9
  ---
10
 
11
- # Model Trained Using AutoNLP
12
 
13
  - Problem type: Binary Classification
14
  - Model ID: 23315155
@@ -28,7 +28,7 @@ co2_eq_emissions: 1.3248523193990855
28
  You can use cURL to access this model:
29
 
30
  ```
31
- $ 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/autonlp-election_relevancy_analysis-23315155
32
  ```
33
 
34
  Or Python API:
@@ -36,9 +36,9 @@ Or Python API:
36
  ```
37
  from transformers import AutoModelForSequenceClassification, AutoTokenizer
38
 
39
- model = AutoModelForSequenceClassification.from_pretrained("sefaozalpadl/autonlp-election_relevancy_analysis-23315155", use_auth_token=True)
40
 
41
- tokenizer = AutoTokenizer.from_pretrained("sefaozalpadl/autonlp-election_relevancy_analysis-23315155", use_auth_token=True)
42
 
43
  inputs = tokenizer("I love AutoNLP", return_tensors="pt")
44
 
 
2
  tags: autonlp
3
  language: en
4
  widget:
5
+ - text: "@PressSec Response to Putin is laughable. He has Biden's number. He knows Biden can't hold up in a live debate, and the Chinese did a number on the U.S. too. Biden is making US the laughing stock of the world. We pay the price for a stolen election"
6
  datasets:
7
  - sefaozalpadl/autonlp-data-election_relevancy_analysis
8
  co2_eq_emissions: 1.3248523193990855
9
  ---
10
 
11
+ # Election Fraud Binary Classifier
12
 
13
  - Problem type: Binary Classification
14
  - Model ID: 23315155
 
28
  You can use cURL to access this model:
29
 
30
  ```
31
+ $ 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
32
  ```
33
 
34
  Or Python API:
 
36
  ```
37
  from transformers import AutoModelForSequenceClassification, AutoTokenizer
38
 
39
+ model = AutoModelForSequenceClassification.from_pretrained("sefaozalpadl/election_relevancy_best", use_auth_token=True)
40
 
41
+ tokenizer = AutoTokenizer.from_pretrained("sefaozalpadl/election_relevancy_best", use_auth_token=True)
42
 
43
  inputs = tokenizer("I love AutoNLP", return_tensors="pt")
44