Update README.md
Browse files
README.md
CHANGED
@@ -35,4 +35,7 @@ Here is how to use this model to get the label of a given text:
|
|
35 |
>>> pipe = TextClassificationPipeline(model = model, tokenizer = tokenizer, top_k = 2, device = 0)
|
36 |
>>> pipe(text)
|
37 |
|
|
|
|
|
|
|
38 |
```
|
|
|
35 |
>>> pipe = TextClassificationPipeline(model = model, tokenizer = tokenizer, top_k = 2, device = 0)
|
36 |
>>> pipe(text)
|
37 |
|
38 |
+
[{'label': 'negative', 'score': 0.9987003803253174},
|
39 |
+
{'label': 'positive', 'score': 0.001299630501307547}]
|
40 |
+
|
41 |
```
|