Spaces:
Running
on
Zero
Running
on
Zero
Lord-Raven
commited on
Commit
·
7f46726
1
Parent(s):
4627b79
Playing with different models.
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import json
|
|
3 |
from transformers import pipeline
|
4 |
from transformers import AutoTokenizer
|
5 |
|
6 |
-
classifier = pipeline(task='zero-shot-classification', model='
|
7 |
|
8 |
def zero_shot_classification(data_string):
|
9 |
print(data_string)
|
|
|
3 |
from transformers import pipeline
|
4 |
from transformers import AutoTokenizer
|
5 |
|
6 |
+
classifier = pipeline(task='zero-shot-classification', model='MoritzLaurer/deberta-v3-large-zeroshot-v2.0')
|
7 |
|
8 |
def zero_shot_classification(data_string):
|
9 |
print(data_string)
|