Spaces:
Runtime error
Runtime error
kaushikbar
commited on
Commit
·
08887e8
1
Parent(s):
2c83e39
changed model for english
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ from langdetect import detect, DetectorFactory, detect_langs
|
|
5 |
import fasttext
|
6 |
from transformers import pipeline
|
7 |
|
8 |
-
models = {'en': 'microsoft/deberta-xlarge-mnli'
|
9 |
'de': 'Sahajtomar/German_Zeroshot', # German
|
10 |
'es': 'Recognai/zeroshot_selectra_medium', # Spanish
|
11 |
'it': 'joeddav/xlm-roberta-large-xnli', # Italian
|
|
|
5 |
import fasttext
|
6 |
from transformers import pipeline
|
7 |
|
8 |
+
models = {'en': 'Narsil/deberta-large-mnli-zero-cls', #'microsoft/deberta-xlarge-mnli' # English
|
9 |
'de': 'Sahajtomar/German_Zeroshot', # German
|
10 |
'es': 'Recognai/zeroshot_selectra_medium', # Spanish
|
11 |
'it': 'joeddav/xlm-roberta-large-xnli', # Italian
|