Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -33,9 +33,9 @@ st.markdown("<p class='sub-title'>Enter a claim and context to verify its accura
|
|
33 |
with st.sidebar.expander("βοΈ Settings", expanded=False):
|
34 |
tfidf_threshold = st.slider("π§ TF-IDF Threshold", 0.0, 1.0, 0.5, 0.01)
|
35 |
length_ratio_threshold = st.slider("π Length Ratio Threshold", 0.1, 1.0, 0.5, 0.01)
|
36 |
-
qatc_model_name = st.selectbox("π€ QATC Model", ["
|
37 |
-
bc_model_name = st.selectbox("π·οΈ Binary Classification Model", ["
|
38 |
-
tc_model_name = st.selectbox("π Three-Class Model", ["
|
39 |
|
40 |
# Load selected models
|
41 |
tokenizer_qatc, model_qatc = load_model(qatc_model_name, QATCForQuestionAnswering)
|
|
|
33 |
with st.sidebar.expander("βοΈ Settings", expanded=False):
|
34 |
tfidf_threshold = st.slider("π§ TF-IDF Threshold", 0.0, 1.0, 0.5, 0.01)
|
35 |
length_ratio_threshold = st.slider("π Length Ratio Threshold", 0.1, 1.0, 0.5, 0.01)
|
36 |
+
qatc_model_name = st.selectbox("π€ QATC Model", ["SemViQA/qatc-infoxlm-viwikifc","SemViQA/qatc-infoxlm-isedsc01","SemViQA/qatc-vimrc-viwikifc","SemViQA/qatc-vimrc-isedsc01"])
|
37 |
+
bc_model_name = st.selectbox("π·οΈ Binary Classification Model", ["SemViQA/bc-xlmr-viwikifc","SemViQA/bc-xlmr-isedsc01","SemViQA/bc-infoxlm-viwikifc","SemViQA/bc-infoxlm-isedsc01","SemViQA/bc-erniem-viwikifc","SemViQA/bc-erniem-isedsc01"])
|
38 |
+
tc_model_name = st.selectbox("π Three-Class Model", ["SemViQA/tc-xlmr-viwikifc","SemViQA/tc-xlmr-isedsc01","SemViQA/tc-infoxlm-viwikifc","SemViQA/tc-infoxlm-isedsc01","SemViQA/tc-erniem-viwikifc","SemViQA/tc-erniem-isedsc01"])
|
39 |
|
40 |
# Load selected models
|
41 |
tokenizer_qatc, model_qatc = load_model(qatc_model_name, QATCForQuestionAnswering)
|