Spaces:
Runtime error
Runtime error
kaushikbar
commited on
Commit
·
d151332
1
Parent(s):
6881e71
added explain
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ from transformers import pipeline
|
|
7 |
from transformers_interpret import ZeroShotClassificationExplainer
|
8 |
import string, nltk
|
9 |
|
10 |
-
models = {'en': 'microsoft/deberta-xlarge-mnli' #'Narsil/deberta-large-mnli-zero-cls', # English
|
11 |
'de': 'Sahajtomar/German_Zeroshot', # German
|
12 |
'es': 'Recognai/zeroshot_selectra_medium', # Spanish
|
13 |
'it': 'joeddav/xlm-roberta-large-xnli', # Italian
|
|
|
7 |
from transformers_interpret import ZeroShotClassificationExplainer
|
8 |
import string, nltk
|
9 |
|
10 |
+
models = {'en': 'microsoft/deberta-xlarge-mnli', #'Narsil/deberta-large-mnli-zero-cls', # English
|
11 |
'de': 'Sahajtomar/German_Zeroshot', # German
|
12 |
'es': 'Recognai/zeroshot_selectra_medium', # Spanish
|
13 |
'it': 'joeddav/xlm-roberta-large-xnli', # Italian
|