lucafrost commited on
Commit
c11ea47
1 Parent(s): d5f991b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -38,7 +38,7 @@ co2_eq_emissions:
38
  You can use cURL to access this model:
39
 
40
  ```
41
- $ 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/lucafrost/autotrain-claimbuster-3165789318
42
  ```
43
 
44
  Or Python API:
@@ -46,9 +46,9 @@ Or Python API:
46
  ```
47
  from transformers import AutoModelForSequenceClassification, AutoTokenizer
48
 
49
- model = AutoModelForSequenceClassification.from_pretrained("lucafrost/autotrain-claimbuster-3165789318", use_auth_token=True)
50
 
51
- tokenizer = AutoTokenizer.from_pretrained("lucafrost/autotrain-claimbuster-3165789318", use_auth_token=True)
52
 
53
  inputs = tokenizer("I love AutoTrain", return_tensors="pt")
54
 
 
38
  You can use cURL to access this model:
39
 
40
  ```
41
+ $ 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/lucafrost/ClaimBuster-DeBERTaV2
42
  ```
43
 
44
  Or Python API:
 
46
  ```
47
  from transformers import AutoModelForSequenceClassification, AutoTokenizer
48
 
49
+ model = AutoModelForSequenceClassification.from_pretrained("lucafrost/ClaimBuster-DeBERTaV2", use_auth_token=True)
50
 
51
+ tokenizer = AutoTokenizer.from_pretrained("lucafrost/ClaimBuster-DeBERTaV2", use_auth_token=True)
52
 
53
  inputs = tokenizer("I love AutoTrain", return_tensors="pt")
54