yuchenlin commited on
Commit
8117d05
·
1 Parent(s): ee702ea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
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-8B-Instruct-Turbo"
15
- SAGE_MODEL_ID = "meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo"
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.7")
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.7")
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.7")
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)