spid3rrr commited on
Commit
f8c2afb
1 Parent(s): 2a8a9dd

Fixed Typo in README.md

Browse files

Fixed a typo in which the suggested code would not run due to a missnamed variable.

Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -51,7 +51,7 @@ text = "Angela Merkel is a politician in Germany and leader of the CDU"
51
  hypothesis_template = "This example is about {}"
52
  classes_verbalized = ["politics", "economy", "entertainment", "environment"]
53
  zeroshot_classifier = pipeline("zero-shot-classification", model="MoritzLaurer/deberta-v3-base-zeroshot-v1.1-all-33")
54
- output = zeroshot_classifier(text, classes_verbalised, hypothesis_template=hypothesis_template, multi_label=False)
55
  print(output)
56
  ```
57
 
 
51
  hypothesis_template = "This example is about {}"
52
  classes_verbalized = ["politics", "economy", "entertainment", "environment"]
53
  zeroshot_classifier = pipeline("zero-shot-classification", model="MoritzLaurer/deberta-v3-base-zeroshot-v1.1-all-33")
54
+ output = zeroshot_classifier(text, classes_verbalized, hypothesis_template=hypothesis_template, multi_label=False)
55
  print(output)
56
  ```
57