sefaozalpadl commited on
Commit
01b31b3
1 Parent(s): e98f2b9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -28,7 +28,7 @@ co2_eq_emissions: 0.6503024714880831
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-stop_the_steal_relevancy_analysis-23995359
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-stop_the_steal_relevancy_analysis-23995359", use_auth_token=True)
40
 
41
- tokenizer = AutoTokenizer.from_pretrained("sefaozalpadl/autonlp-stop_the_steal_relevancy_analysis-23995359", use_auth_token=True)
42
 
43
  inputs = tokenizer("I love AutoNLP", return_tensors="pt")
44
 
 
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/stop_the_steal_relevancy_analysis-binary
32
  ```
33
 
34
  Or Python API:
 
36
  ```
37
  from transformers import AutoModelForSequenceClassification, AutoTokenizer
38
 
39
+ model = AutoModelForSequenceClassification.from_pretrained("sefaozalpadl/stop_the_steal_relevancy_analysis-binary", use_auth_token=True)
40
 
41
+ tokenizer = AutoTokenizer.from_pretrained("sefaozalpadl/stop_the_steal_relevancy_analysis-binary", use_auth_token=True)
42
 
43
  inputs = tokenizer("I love AutoNLP", return_tensors="pt")
44