Update README.md
Browse files
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/
|
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/
|
50 |
|
51 |
-
tokenizer = AutoTokenizer.from_pretrained("lucafrost/
|
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 |
|