Update app.py
Browse filesmDeBERTa model added
app.py
CHANGED
@@ -26,10 +26,11 @@ label_list_1 = ["dünya", "ekonomi", "kültür", "sağlık", "siyaset", "spor",
|
|
26 |
label_list_2 = ["positive", "negative", "neutral"]
|
27 |
|
28 |
st.title("Turkish Zero-Shot Text Classification \
|
29 |
-
with Multilingual XLM-RoBERTa Models")
|
30 |
|
31 |
model_list = ['vicgalle/xlm-roberta-large-xnli-anli',
|
32 |
-
'joeddav/xlm-roberta-large-xnli'
|
|
|
33 |
|
34 |
st.sidebar.header("Select Model")
|
35 |
model_checkpoint = st.sidebar.radio("", model_list)
|
@@ -37,6 +38,7 @@ model_checkpoint = st.sidebar.radio("", model_list)
|
|
37 |
st.sidebar.write("For details of models:")
|
38 |
st.sidebar.write("https://huggingface.co/vicgalle")
|
39 |
st.sidebar.write("https://huggingface.co/joeddav")
|
|
|
40 |
|
41 |
st.sidebar.write("For XNLI Dataset:")
|
42 |
st.sidebar.write("https://huggingface.co/datasets/xnli")
|
|
|
26 |
label_list_2 = ["positive", "negative", "neutral"]
|
27 |
|
28 |
st.title("Turkish Zero-Shot Text Classification \
|
29 |
+
with Multilingual XLM-RoBERTa and mDeBERTa Models")
|
30 |
|
31 |
model_list = ['vicgalle/xlm-roberta-large-xnli-anli',
|
32 |
+
'joeddav/xlm-roberta-large-xnli',
|
33 |
+
'MoritzLaurer/mDeBERTa-v3-base-xnli-multilingual-nli-2mil7']
|
34 |
|
35 |
st.sidebar.header("Select Model")
|
36 |
model_checkpoint = st.sidebar.radio("", model_list)
|
|
|
38 |
st.sidebar.write("For details of models:")
|
39 |
st.sidebar.write("https://huggingface.co/vicgalle")
|
40 |
st.sidebar.write("https://huggingface.co/joeddav")
|
41 |
+
st.sidebar.write("https://huggingface.co/MoritzLaurer")
|
42 |
|
43 |
st.sidebar.write("For XNLI Dataset:")
|
44 |
st.sidebar.write("https://huggingface.co/datasets/xnli")
|