Update README.md
Browse files
README.md
CHANGED
|
@@ -41,7 +41,7 @@ This model is a fine-tuned version of [Alibaba-NLP/gte-multilingual-base](https:
|
|
| 41 |
The model can be loaded with the `zero-shot-classification` pipeline like so:
|
| 42 |
|
| 43 |
```python
|
| 44 |
-
from transformers import pipeline
|
| 45 |
model = "mjwong/gte-multilingual-base-xnli"
|
| 46 |
tokenizer = AutoTokenizer.from_pretrained(model)
|
| 47 |
classifier = pipeline("zero-shot-classification",
|
|
|
|
| 41 |
The model can be loaded with the `zero-shot-classification` pipeline like so:
|
| 42 |
|
| 43 |
```python
|
| 44 |
+
from transformers import AutoTokenizer, pipeline
|
| 45 |
model = "mjwong/gte-multilingual-base-xnli"
|
| 46 |
tokenizer = AutoTokenizer.from_pretrained(model)
|
| 47 |
classifier = pipeline("zero-shot-classification",
|