aixsatoshi commited on
Commit
074cb75
1 Parent(s): 246cb3f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -96,7 +96,7 @@ def create_interface(model_name, description):
96
  gr.Textbox(value=model_name, label="Model", interactive=False),
97
  gr.Textbox(value="You are a helpful assistant.", label="System message"),
98
  gr.Slider(minimum=1, maximum=4096, value=2048, step=1, label="Max tokens"),
99
- gr.Slider(minimum=0.1, maximum 4.0, value=0.7, step=0.1, label="Temperature"),
100
  gr.Slider(
101
  minimum=0.1,
102
  maximum=1.0,
@@ -134,10 +134,10 @@ def create_interface(model_name, description):
134
 
135
  # 各モデルのインターフェース
136
  description_9b = """<p align="center">Gemma-2 9B it Model</p>"""
137
- description_27b = """<p align="center">Gemma-2 27B it Model</p>"""
138
 
139
  interface_9b = create_interface('gemma-2-9b-it-Q5_K_M.gguf', description_9b)
140
- interface_27b = create_interface('gemma-2-27b-it-Q5_K_M.gguf', description_27b)
141
 
142
  # Gradio Blocksで2つのインターフェースを並べて表示
143
  with gr.Blocks() as demo:
 
96
  gr.Textbox(value=model_name, label="Model", interactive=False),
97
  gr.Textbox(value="You are a helpful assistant.", label="System message"),
98
  gr.Slider(minimum=1, maximum=4096, value=2048, step=1, label="Max tokens"),
99
+ gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
100
  gr.Slider(
101
  minimum=0.1,
102
  maximum=1.0,
 
134
 
135
  # 各モデルのインターフェース
136
  description_9b = """<p align="center">Gemma-2 9B it Model</p>"""
137
+ description_27b = """<p align="center">Gemma-2-9B-It-SPPO-Iter3 Model</p>"""
138
 
139
  interface_9b = create_interface('gemma-2-9b-it-Q5_K_M.gguf', description_9b)
140
+ interface_27b = create_interface('Gemma-2-9B-It-SPPO-Iter3-Q5_K_M.gguf', description_9bSPPO)
141
 
142
  # Gradio Blocksで2つのインターフェースを並べて表示
143
  with gr.Blocks() as demo: