Update app.py
Browse files
app.py
CHANGED
@@ -134,7 +134,6 @@ prompt_template_br = PromptTemplate(
|
|
134 |
input_variables=["context", "question"],
|
135 |
template="""<|begin_of_text|><|start_header_id|>system<|end_header_id|>
|
136 |
I am a helpful assistant.
|
137 |
-
|
138 |
<|eot_id|>
|
139 |
{context}
|
140 |
<|start_header_id|>user<|end_header_id|>
|
@@ -144,6 +143,7 @@ I am a helpful assistant.
|
|
144 |
|
145 |
with st.sidebar:
|
146 |
st.title("Watsonx RAG: Multi-Document Retrieval")
|
|
|
147 |
watsonx_model = st.selectbox("Model", ["meta-llama/llama-3-405b-instruct", "codellama/codellama-34b-instruct-hf", "ibm/granite-20b-multilingual"])
|
148 |
max_new_tokens = st.slider("Max output tokens", min_value=100, max_value=4000, value=600, step=100)
|
149 |
decoding_method = st.radio("Decoding", (DecodingMethods.GREEDY.value, DecodingMethods.SAMPLE.value))
|
|
|
134 |
input_variables=["context", "question"],
|
135 |
template="""<|begin_of_text|><|start_header_id|>system<|end_header_id|>
|
136 |
I am a helpful assistant.
|
|
|
137 |
<|eot_id|>
|
138 |
{context}
|
139 |
<|start_header_id|>user<|end_header_id|>
|
|
|
143 |
|
144 |
with st.sidebar:
|
145 |
st.title("Watsonx RAG: Multi-Document Retrieval")
|
146 |
+
st.sidebar.markdown("Developed by **Rahman**")
|
147 |
watsonx_model = st.selectbox("Model", ["meta-llama/llama-3-405b-instruct", "codellama/codellama-34b-instruct-hf", "ibm/granite-20b-multilingual"])
|
148 |
max_new_tokens = st.slider("Max output tokens", min_value=100, max_value=4000, value=600, step=100)
|
149 |
decoding_method = st.radio("Decoding", (DecodingMethods.GREEDY.value, DecodingMethods.SAMPLE.value))
|