Update app.py
Browse files
app.py
CHANGED
@@ -95,7 +95,7 @@ def main():
|
|
95 |
|
96 |
st.header("Chat with multiple Lithuanian Law Documents:" ":books:")
|
97 |
|
98 |
-
st.markdown("Hi, I am Birute (Powered by qwen2-
|
99 |
st.markdown("Available Documents: LR_Civil_Code_2022, LR_Constitution_2022, LR_Criminal_Code_2018, LR_Criminal_Procedure_code_2022,LR_Labour_code_2010. P.S it's a shame that there are no newest documents translations... ")
|
100 |
|
101 |
if "messages" not in st.session_state:
|
@@ -171,7 +171,7 @@ def create_conversational_rag_chain(retriever):
|
|
171 |
n_ctx=22000,
|
172 |
n_batch=2000,
|
173 |
max_tokens=250,
|
174 |
-
repeat_penalty=1.
|
175 |
last_n_tokens_size = 250,
|
176 |
callback_manager=callback_manager,
|
177 |
verbose=False,
|
|
|
95 |
|
96 |
st.header("Chat with multiple Lithuanian Law Documents:" ":books:")
|
97 |
|
98 |
+
st.markdown("Hi, I am Birute (Powered by qwen2-0_5b model), chat assistant, based on republic of Lithuania law documents. You can choose below information retrieval type and how many documents you want to be retrieved.")
|
99 |
st.markdown("Available Documents: LR_Civil_Code_2022, LR_Constitution_2022, LR_Criminal_Code_2018, LR_Criminal_Procedure_code_2022,LR_Labour_code_2010. P.S it's a shame that there are no newest documents translations... ")
|
100 |
|
101 |
if "messages" not in st.session_state:
|
|
|
171 |
n_ctx=22000,
|
172 |
n_batch=2000,
|
173 |
max_tokens=250,
|
174 |
+
repeat_penalty=1.5,
|
175 |
last_n_tokens_size = 250,
|
176 |
callback_manager=callback_manager,
|
177 |
verbose=False,
|