Spaces:
Runtime error
Runtime error
kaushikbar
commited on
Commit
•
31d359c
1
Parent(s):
98167cf
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': 'Narsil/deberta-large-mnli-zero-cls', #'facebook/bart-large-mnli', #'microsoft/deberta-xlarge-mnli', # 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': 'joeddav/xlm-roberta-large-xnli', #'Narsil/deberta-large-mnli-zero-cls', #'facebook/bart-large-mnli', #'microsoft/deberta-xlarge-mnli', # English
|
11 |
#'de': 'Sahajtomar/German_Zeroshot', # German
|
12 |
#'es': 'Recognai/zeroshot_selectra_medium', # Spanish
|
13 |
#'it': 'joeddav/xlm-roberta-large-xnli', # Italian
|