Update README.md
Browse files
README.md
CHANGED
@@ -282,7 +282,7 @@ classifier = pipeline("zero-shot-classification",model="sileod/deberta-v3-base-t
|
|
282 |
|
283 |
text = "one day I will see the world"
|
284 |
candidate_labels = ['travel', 'cooking', 'dancing']
|
285 |
-
classifier(
|
286 |
```
|
287 |
NLI training data of this model includes [label-nli](https://huggingface.co/datasets/tasksource/zero-shot-label-nli), a NLI dataset specially constructed to improve this kind of zero-shot classification.
|
288 |
|
|
|
282 |
|
283 |
text = "one day I will see the world"
|
284 |
candidate_labels = ['travel', 'cooking', 'dancing']
|
285 |
+
classifier(text, candidate_labels)
|
286 |
```
|
287 |
NLI training data of this model includes [label-nli](https://huggingface.co/datasets/tasksource/zero-shot-label-nli), a NLI dataset specially constructed to improve this kind of zero-shot classification.
|
288 |
|