pere commited on
Commit
9b8becd
1 Parent(s): d016132

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -42,7 +42,7 @@ classifier = pipeline("zero-shot-classification", model="NbAiLab/nb-bert-base-mn
42
  You can then use this pipeline to classify sequences into any of the class names you specify.
43
  ```python
44
  sequence_to_classify = 'Folkehelseinstituttets mest optimistiske anslag er at alle over 18 år er ferdigvaksinert innen midten av september.'
45
- candidate_labels = ['politikk, helse, sport, religion']
46
  hypothesis_template = 'Denne teksten handler om {}.'
47
  classifier(sequence_to_classify, candidate_labels, hypothesis_template=hypothesis_template, multi_class=True)
48
 
42
  You can then use this pipeline to classify sequences into any of the class names you specify.
43
  ```python
44
  sequence_to_classify = 'Folkehelseinstituttets mest optimistiske anslag er at alle over 18 år er ferdigvaksinert innen midten av september.'
45
+ candidate_labels = ['politikk', 'helse', 'sport', 'religion']
46
  hypothesis_template = 'Denne teksten handler om {}.'
47
  classifier(sequence_to_classify, candidate_labels, hypothesis_template=hypothesis_template, multi_class=True)
48