t0-0 commited on
Commit
b1e845a
·
verified ·
1 Parent(s): e93d67f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -1
app.py CHANGED
@@ -22,7 +22,8 @@ from src.display.utils import (
22
  ModelType,
23
  fields,
24
  WeightType,
25
- Precision
 
26
  )
27
  from src.envs import API, EVAL_REQUESTS_PATH, EVAL_RESULTS_PATH, QUEUE_REPO, REPO_ID, RESULTS_REPO, TOKEN
28
  from src.populate import get_evaluation_queue_df, get_leaderboard_df
@@ -174,6 +175,13 @@ with demo:
174
  value="Original",
175
  interactive=True,
176
  )
 
 
 
 
 
 
 
177
  base_model_name_textbox = gr.Textbox(label="Base model (for delta or adapter weights)")
178
 
179
  submit_button = gr.Button("Submit Eval")
 
22
  ModelType,
23
  fields,
24
  WeightType,
25
+ Precision,
26
+ NumFewShotsType
27
  )
28
  from src.envs import API, EVAL_REQUESTS_PATH, EVAL_RESULTS_PATH, QUEUE_REPO, REPO_ID, RESULTS_REPO, TOKEN
29
  from src.populate import get_evaluation_queue_df, get_leaderboard_df
 
175
  value="Original",
176
  interactive=True,
177
  )
178
+ num_few_shots_type = gr.Dropdown(
179
+ choices=[i.value.name for i in NumFewShotsType],
180
+ label="Num few shots",
181
+ multiselect=True,
182
+ value="4-shots",
183
+ interactive=True,
184
+ )
185
  base_model_name_textbox = gr.Textbox(label="Base model (for delta or adapter weights)")
186
 
187
  submit_button = gr.Button("Submit Eval")