Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ st.sidebar.write("")
|
|
35 |
xlm_agg_strategy_info = "'aggregation_strategy' can be selected as 'simple' or 'none' for 'xlm-roberta' because of the RoBERTa model's tokenization approach."
|
36 |
|
37 |
st.sidebar.header("Select Aggregation Strategy Type")
|
38 |
-
if model_checkpoint ==
|
39 |
aggregation = st.sidebar.radio("", ('simple', 'none'))
|
40 |
st.sidebar.write(xlm_agg_strategy_info)
|
41 |
elif model_checkpoint == "xlm-roberta-large-finetuned-conll03-english":
|
|
|
35 |
xlm_agg_strategy_info = "'aggregation_strategy' can be selected as 'simple' or 'none' for 'xlm-roberta' because of the RoBERTa model's tokenization approach."
|
36 |
|
37 |
st.sidebar.header("Select Aggregation Strategy Type")
|
38 |
+
if model_checkpoint == "akdeniz27/xlm-roberta-base-turkish-ner" or model_checkpoint == "akdeniz27/mDeBERTa-v3-base-turkish-ner":
|
39 |
aggregation = st.sidebar.radio("", ('simple', 'none'))
|
40 |
st.sidebar.write(xlm_agg_strategy_info)
|
41 |
elif model_checkpoint == "xlm-roberta-large-finetuned-conll03-english":
|