Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -11,8 +11,8 @@ from pkg_resources import resource_filename
|
|
11 |
|
12 |
ENGINE = "Together"
|
13 |
SWIFT_MODEL_ID = "meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo"
|
14 |
-
FEEDBACK_MODEL_ID = "meta-llama/Meta-Llama-3.1-
|
15 |
-
SAGE_MODEL_ID = "meta-llama/Meta-Llama-3.1-
|
16 |
|
17 |
|
18 |
# ENGINE = "Groq"
|
@@ -115,13 +115,13 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
115 |
# TODO: add top-p and temperature for each module for controlling
|
116 |
with gr.Column():
|
117 |
top_p_swift = gr.Textbox(label="Top-p for Swift", value="0.9")
|
118 |
-
temperature_swift = gr.Textbox(label="Temperature for Swift", value="0.
|
119 |
with gr.Column():
|
120 |
top_p_sage = gr.Textbox(label="Top-p for Sage", value="0.9")
|
121 |
-
temperature_sage = gr.Textbox(label="Temperature for Sage", value="0.
|
122 |
with gr.Column():
|
123 |
top_p_feedback = gr.Textbox(label="Top-p for Feedback", value="0.9")
|
124 |
-
temperature_feedback = gr.Textbox(label="Temperature for Feedback", value="0.
|
125 |
|
126 |
use_retrieval = gr.Checkbox(label="Use Retrieval Augmentation", value=False, visible=False)
|
127 |
start_with_sage = gr.Checkbox(label="Start with Sage", value=False, visible=False)
|
|
|
11 |
|
12 |
ENGINE = "Together"
|
13 |
SWIFT_MODEL_ID = "meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo"
|
14 |
+
FEEDBACK_MODEL_ID = "meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo"
|
15 |
+
SAGE_MODEL_ID = "meta-llama/Meta-Llama-3.1-405B-Instruct-Turbo"
|
16 |
|
17 |
|
18 |
# ENGINE = "Groq"
|
|
|
115 |
# TODO: add top-p and temperature for each module for controlling
|
116 |
with gr.Column():
|
117 |
top_p_swift = gr.Textbox(label="Top-p for Swift", value="0.9")
|
118 |
+
temperature_swift = gr.Textbox(label="Temperature for Swift", value="0.5")
|
119 |
with gr.Column():
|
120 |
top_p_sage = gr.Textbox(label="Top-p for Sage", value="0.9")
|
121 |
+
temperature_sage = gr.Textbox(label="Temperature for Sage", value="0.5")
|
122 |
with gr.Column():
|
123 |
top_p_feedback = gr.Textbox(label="Top-p for Feedback", value="0.9")
|
124 |
+
temperature_feedback = gr.Textbox(label="Temperature for Feedback", value="0.5")
|
125 |
|
126 |
use_retrieval = gr.Checkbox(label="Use Retrieval Augmentation", value=False, visible=False)
|
127 |
start_with_sage = gr.Checkbox(label="Start with Sage", value=False, visible=False)
|