Update README.md
Browse files
README.md
CHANGED
@@ -48,11 +48,7 @@ The following hyperparameters were used during training:
|
|
48 |
|
49 |
You can use cURL to access this model:
|
50 |
|
51 |
-
|
52 |
-
$ 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/jarvisx17/japanese-sentiment-analysis
|
53 |
-
```
|
54 |
-
|
55 |
-
Or Python API:
|
56 |
|
57 |
```
|
58 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
|
|
48 |
|
49 |
You can use cURL to access this model:
|
50 |
|
51 |
+
Python API:
|
|
|
|
|
|
|
|
|
52 |
|
53 |
```
|
54 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|