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
6afdd36
1 Parent(s): 8d42717

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -338,8 +338,8 @@ NLI training data of this model includes [label-nli](https://huggingface.co/data
338
 
339
  ```python
340
  from transformers import pipeline
341
- nli_pipe = pipeline("text-classification",model="sileod/deberta-v3-base-tasksource-nli")
342
- nli_pipe([dict(text='there is a cat',
343
  text_pair='there is a black cat')]) #list of (premise,hypothesis)
344
  # [{'label': 'neutral', 'score': 0.9952911138534546}]
345
  ```
338
 
339
  ```python
340
  from transformers import pipeline
341
+ pipe = pipeline("text-classification",model="sileod/deberta-v3-base-tasksource-nli")
342
+ pipe([dict(text='there is a cat',
343
  text_pair='there is a black cat')]) #list of (premise,hypothesis)
344
  # [{'label': 'neutral', 'score': 0.9952911138534546}]
345
  ```