Spaces:
Runtime error
Runtime error
SivilTaram
commited on
Commit
·
fe11039
1
Parent(s):
38360e7
update app
Browse files
app.py
CHANGED
|
@@ -57,7 +57,7 @@ def main():
|
|
| 57 |
st.write('We will use the following modules', [
|
| 58 |
LORA_HUB_NAMES[i] for i in st.session_state["select_names"]])
|
| 59 |
|
| 60 |
-
st.subheader("Prepare
|
| 61 |
|
| 62 |
txt_input = st.text_area('Examples Inputs (One Line One Input)',
|
| 63 |
'''
|
|
@@ -72,8 +72,11 @@ Infer the date from context. Q: Today is the second day of the third month of 1
|
|
| 72 |
(F)
|
| 73 |
'''.strip())
|
| 74 |
|
|
|
|
|
|
|
| 75 |
max_step = st.slider('Maximum iteration step', 10, 1000, step=10)
|
| 76 |
|
|
|
|
| 77 |
# st.subheader("Watch the logs below")
|
| 78 |
buffer = st.expander("Learning Logs")
|
| 79 |
|
|
|
|
| 57 |
st.write('We will use the following modules', [
|
| 58 |
LORA_HUB_NAMES[i] for i in st.session_state["select_names"]])
|
| 59 |
|
| 60 |
+
st.subheader("Prepare Few-shot Examples")
|
| 61 |
|
| 62 |
txt_input = st.text_area('Examples Inputs (One Line One Input)',
|
| 63 |
'''
|
|
|
|
| 72 |
(F)
|
| 73 |
'''.strip())
|
| 74 |
|
| 75 |
+
st.subheader("Set Hyper-parameter")
|
| 76 |
+
|
| 77 |
max_step = st.slider('Maximum iteration step', 10, 1000, step=10)
|
| 78 |
|
| 79 |
+
st.subheader("Start LoraHub Learning")
|
| 80 |
# st.subheader("Watch the logs below")
|
| 81 |
buffer = st.expander("Learning Logs")
|
| 82 |
|