MoritzLaurer HF staff commited on
Commit
168b58a
1 Parent(s): 121ad0f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -9,7 +9,7 @@ library_name: transformers
9
  license: mit
10
  ---
11
 
12
- # deberta-v3-base-zeroshot-v1
13
  ## Model description
14
  The model is designed for zero-shot classification with the Hugging Face pipeline.
15
  The model should be substantially better at zero-shot classification than my other zero-shot models on the
@@ -41,7 +41,7 @@ as opposed to three classes (entailment/neutral/contradiction)
41
  #### Simple zero-shot classification pipeline
42
  ```python
43
  from transformers import pipeline
44
- classifier = pipeline("zero-shot-classification", model="MoritzLaurer/deberta-v3-base-zeroshot-v1")
45
  sequence_to_classify = "Angela Merkel is a politician in Germany and leader of the CDU"
46
  candidate_labels = ["politics", "economy", "entertainment", "environment"]
47
  output = classifier(sequence_to_classify, candidate_labels, multi_label=False)
 
9
  license: mit
10
  ---
11
 
12
+ # deberta-v3-large-zeroshot-v1
13
  ## Model description
14
  The model is designed for zero-shot classification with the Hugging Face pipeline.
15
  The model should be substantially better at zero-shot classification than my other zero-shot models on the
 
41
  #### Simple zero-shot classification pipeline
42
  ```python
43
  from transformers import pipeline
44
+ classifier = pipeline("zero-shot-classification", model="MoritzLaurer/deberta-v3-large-zeroshot-v1")
45
  sequence_to_classify = "Angela Merkel is a politician in Germany and leader of the CDU"
46
  candidate_labels = ["politics", "economy", "entertainment", "environment"]
47
  output = classifier(sequence_to_classify, candidate_labels, multi_label=False)