AyoubChLin
commited on
Commit
·
6bc7611
1
Parent(s):
ab0aff8
Update README.md
Browse files
README.md
CHANGED
@@ -38,9 +38,9 @@ The model can be used for zero-shot text classification tasks on news articles.
|
|
38 |
```python
|
39 |
from transformers import pipeline, AutoTokenizer, AutoModelForSequenceClassification
|
40 |
|
41 |
-
tokenizer = AutoTokenizer.from_pretrained("AyoubChLin/
|
42 |
|
43 |
-
model = AutoModelForSequenceClassification.from_pretrained("AyoubChLin/
|
44 |
classifier = pipeline(
|
45 |
"zero-shot-classification",
|
46 |
model=model,
|
|
|
38 |
```python
|
39 |
from transformers import pipeline, AutoTokenizer, AutoModelForSequenceClassification
|
40 |
|
41 |
+
tokenizer = AutoTokenizer.from_pretrained("AyoubChLin/Bart-MNLI-CNN_news")
|
42 |
|
43 |
+
model = AutoModelForSequenceClassification.from_pretrained("AyoubChLin/Bart-MNLI-CNN_news")
|
44 |
classifier = pipeline(
|
45 |
"zero-shot-classification",
|
46 |
model=model,
|