Update app.py
Browse files
app.py
CHANGED
@@ -29,6 +29,10 @@ with st.sidebar:
|
|
29 |
llm = 'meta/meta-llama-3-8b-instruct'
|
30 |
elif selected_model == 'Llama3-70B-Instruct':
|
31 |
llm = 'meta/meta-llama-3-70b-instruct'
|
|
|
|
|
|
|
|
|
32 |
temperature = st.sidebar.slider('temperature', min_value=0.01, max_value=1.0, value=0.1, step=0.01)
|
33 |
top_p = st.sidebar.slider('top_p', min_value=0.01, max_value=1.0, value=0.9, step=0.01)
|
34 |
max_length = st.sidebar.slider('max_length', min_value=32, max_value=1000, value=400, step=8)
|
|
|
29 |
llm = 'meta/meta-llama-3-8b-instruct'
|
30 |
elif selected_model == 'Llama3-70B-Instruct':
|
31 |
llm = 'meta/meta-llama-3-70b-instruct'
|
32 |
+
|
33 |
+
st.sidebar.header("System Prompt")
|
34 |
+
user_input = st.sidebar.text_area("Context for Fine-tuning:", height=10)
|
35 |
+
|
36 |
temperature = st.sidebar.slider('temperature', min_value=0.01, max_value=1.0, value=0.1, step=0.01)
|
37 |
top_p = st.sidebar.slider('top_p', min_value=0.01, max_value=1.0, value=0.9, step=0.01)
|
38 |
max_length = st.sidebar.slider('max_length', min_value=32, max_value=1000, value=400, step=8)
|