yuchenlin commited on
Commit
a19b85a
β€’
1 Parent(s): 8359b58
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -97,6 +97,8 @@ def respond(
97
  _model_name = "Qwen/Qwen1.5-72B"
98
  elif model_name == "Yi-34B":
99
  _model_name = "zero-one-ai/Yi-34B"
 
 
100
  elif model_name == "OLMO":
101
  _model_name = "allenai/OLMo-7B"
102
  else:
@@ -170,7 +172,9 @@ with gr.Blocks(gr.themes.Soft(), js=js_code_label) as demo:
170
 
171
  **Talk with __BASE__ LLMs which are not fine-tuned at all.**
172
  """)
173
- model_name = gr.Radio(["Llama-3-8B", "Llama-3-70B", "Mistral-7B-v0.1", "Mixtral-8x22B", "Yi-34B", "Llama-2-7B", "Llama-2-70B", "OLMO"], value="Llama-3-8B", label="Base LLM name")
 
 
174
  with gr.Column():
175
  together_api_key = gr.Textbox(label="πŸ”‘ Together APIKey", placeholder="Enter your Together API Key. Leave it blank if you want to use the default API key.", type="password", elem_id="api_key")
176
  with gr.Column():
 
97
  _model_name = "Qwen/Qwen1.5-72B"
98
  elif model_name == "Yi-34B":
99
  _model_name = "zero-one-ai/Yi-34B"
100
+ elif model_name == "Yi-6B":
101
+ _model_name = "zero-one-ai/Yi-6B"
102
  elif model_name == "OLMO":
103
  _model_name = "allenai/OLMo-7B"
104
  else:
 
172
 
173
  **Talk with __BASE__ LLMs which are not fine-tuned at all.**
174
  """)
175
+ model_name = gr.Radio(["Llama-3-8B", "Llama-3-70B", "Mistral-7B-v0.1",
176
+ "Mixtral-8x22B", "Yi-6B", "Yi-34B", "Llama-2-7B", "Llama-2-70B", "OLMO"]
177
+ , value="Llama-3-8B", label="Base LLM name")
178
  with gr.Column():
179
  together_api_key = gr.Textbox(label="πŸ”‘ Together APIKey", placeholder="Enter your Together API Key. Leave it blank if you want to use the default API key.", type="password", elem_id="api_key")
180
  with gr.Column():