Spaces:
Runtime error
Runtime error
InternLM-Math
commited on
Commit
•
a1b7944
1
Parent(s):
e61f4aa
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ from lmdeploy import ChatTemplateConfig
|
|
7 |
|
8 |
chat_template = ChatTemplateConfig(model_name='internlm2-chat-7b', system='', eosys='', meta_instruction='')
|
9 |
backend_config = TurbomindEngineConfig(model_name='internlm2-chat-7b', max_batch_size=1, cache_max_entry_count=0.05)#, model_format='awq')
|
10 |
-
model_path = 'internlm/internlm2-math-7b'
|
11 |
|
12 |
InterFace.async_engine = AsyncEngine(
|
13 |
model_path=model_path,
|
@@ -72,7 +72,7 @@ with gr.Blocks(css=CSS, theme=THEME) as demo:
|
|
72 |
state_session_id = gr.State(0)
|
73 |
|
74 |
with gr.Column(elem_id='container'):
|
75 |
-
gr.Markdown('##
|
76 |
gr.Markdown('[InternLM Math GitHub Page](https://github.com/InternLM/InternLM-Math)')
|
77 |
|
78 |
chatbot = gr.Chatbot(
|
|
|
7 |
|
8 |
chat_template = ChatTemplateConfig(model_name='internlm2-chat-7b', system='', eosys='', meta_instruction='')
|
9 |
backend_config = TurbomindEngineConfig(model_name='internlm2-chat-7b', max_batch_size=1, cache_max_entry_count=0.05)#, model_format='awq')
|
10 |
+
model_path = 'internlm/internlm2-math-plus-7b'
|
11 |
|
12 |
InterFace.async_engine = AsyncEngine(
|
13 |
model_path=model_path,
|
|
|
72 |
state_session_id = gr.State(0)
|
73 |
|
74 |
with gr.Column(elem_id='container'):
|
75 |
+
gr.Markdown('## Internlm2-math-plus-7b')
|
76 |
gr.Markdown('[InternLM Math GitHub Page](https://github.com/InternLM/InternLM-Math)')
|
77 |
|
78 |
chatbot = gr.Chatbot(
|