Zero-Shot Classification
Transformers
PyTorch
Safetensors
English
deberta-v2
text-classification
deberta-v3-base
deberta-v3
deberta
nli
natural-language-inference
multitask
multi-task
pipeline
extreme-multi-task
extreme-mtl
tasksource
zero-shot
rlhf
Eval Results
Inference Endpoints
sileod commited on
Commit
c62344d
1 Parent(s): 27c7d53

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
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(sequence_to_classify, 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
 
 
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