Commit
·
d1887dd
1
Parent(s):
ef06cf1
Fix MeCabTokenizer
Browse files
README.md
CHANGED
|
@@ -28,7 +28,7 @@ Google Colaboratory Example
|
|
| 28 |
```
|
| 29 |
```
|
| 30 |
from transformers import pipeline
|
| 31 |
-
p = pipeline("zero-shot-classification", "paulhindemith/fasttext-classification", revision="2022.11.
|
| 32 |
```
|
| 33 |
```
|
| 34 |
p("海賊王におれはなる", candidate_labels=["海","山","陸"], hypothesis_template="{}", multi_label=True)
|
|
|
|
| 28 |
```
|
| 29 |
```
|
| 30 |
from transformers import pipeline
|
| 31 |
+
p = pipeline("zero-shot-classification", "paulhindemith/fasttext-classification", revision="2022.11.13", trust_remote_code=True)
|
| 32 |
```
|
| 33 |
```
|
| 34 |
p("海賊王におれはなる", candidate_labels=["海","山","陸"], hypothesis_template="{}", multi_label=True)
|