Commit
•
757d9bc
1
Parent(s):
c899018
Update README.md
Browse files
README.md
CHANGED
@@ -45,6 +45,7 @@ validation with English data can be easier if you don't speak all languages in y
|
|
45 |
### How to use the model
|
46 |
#### Simple zero-shot classification pipeline
|
47 |
```python
|
|
|
48 |
from transformers import pipeline
|
49 |
text = "Angela Merkel is a politician in Germany and leader of the CDU"
|
50 |
hypothesis_template = "This example is about {}"
|
|
|
45 |
### How to use the model
|
46 |
#### Simple zero-shot classification pipeline
|
47 |
```python
|
48 |
+
#!pip install transformers[sentencepiece]
|
49 |
from transformers import pipeline
|
50 |
text = "Angela Merkel is a politician in Germany and leader of the CDU"
|
51 |
hypothesis_template = "This example is about {}"
|