xuandin commited on
Commit
266fd09
Β·
verified Β·
1 Parent(s): f4d5aab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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", ["xuandin/semviqa-qatc-vimrc-viwikifc"])
37
- bc_model_name = st.selectbox("🏷️ Binary Classification Model", ["xuandin/semviqa-bc"])
38
- tc_model_name = st.selectbox("πŸ“Š Three-Class Model", ["xuandin/semviqa-tc"])
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)