Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -42,8 +42,8 @@ def get_system_tokens(model):
|
|
42 |
return get_message_tokens(model, **system_message)
|
43 |
|
44 |
|
45 |
-
repo_name = "
|
46 |
-
model_name = "
|
47 |
|
48 |
snapshot_download(repo_id=repo_name, local_dir=".", allow_patterns=model_name)
|
49 |
|
@@ -103,8 +103,8 @@ with gr.Blocks(
|
|
103 |
theme=gr.themes.Soft()
|
104 |
) as demo:
|
105 |
gr.Markdown(
|
106 |
-
f"""<h1><center
|
107 |
-
|
108 |
这是量化版兮辞·析辞的部署,具有**70亿**个参数,在 CPU 上运行。
|
109 |
SLIDE 是一种会话语言模型,在多种类型的语料库上进行训练。
|
110 |
本节目由上海师范大学附属外国语中学**NLPark**赞助播出~
|
|
|
42 |
return get_message_tokens(model, **system_message)
|
43 |
|
44 |
|
45 |
+
repo_name = "TheBloke/Mistral-11B-OmniMix-GGUF"
|
46 |
+
model_name = "mistral-11b-omnimix-bf16.Q4_K_S.gguf"
|
47 |
|
48 |
snapshot_download(repo_id=repo_name, local_dir=".", allow_patterns=model_name)
|
49 |
|
|
|
103 |
theme=gr.themes.Soft()
|
104 |
) as demo:
|
105 |
gr.Markdown(
|
106 |
+
f"""<h1><center>Shi-Ci-人工智能助理</center></h1>
|
107 |
+
这儿是一个**纯英文**模型的部署. If you are interested in other languages, please check other models, such as [MPT-7B-Chat](https://huggingface.co/spaces/mosaicml/mpt-7b-chat).
|
108 |
这是量化版兮辞·析辞的部署,具有**70亿**个参数,在 CPU 上运行。
|
109 |
SLIDE 是一种会话语言模型,在多种类型的语料库上进行训练。
|
110 |
本节目由上海师范大学附属外国语中学**NLPark**赞助播出~
|