Spaces:
Running
on
Zero
Running
on
Zero
aixsatoshi
commited on
Commit
•
26d0948
1
Parent(s):
7e885fe
Update app.py
Browse files
app.py
CHANGED
@@ -18,6 +18,19 @@ hf_hub_download(
|
|
18 |
local_dir="./models"
|
19 |
)
|
20 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
|
22 |
llm = None
|
23 |
llm_model = None
|
@@ -110,6 +123,8 @@ def respond(
|
|
110 |
description = """<p align="center">★画面下のAdditional Inputから、使用したいモデルと、チャットテンプレートを選択してください。★</p>
|
111 |
<p><center>
|
112 |
<a href="https://huggingface.co/team-hatakeyama-phase2/Tanuki-8x8B-dpo-v1.0-GGUF/" target="_blank">Tanuki-8x8B-dpo-v1.0-IQ4_NL.gguf</a><br>
|
|
|
|
|
113 |
</center></p>
|
114 |
"""
|
115 |
|
@@ -123,7 +138,9 @@ demo = gr.ChatInterface(
|
|
123 |
respond,
|
124 |
additional_inputs=[
|
125 |
gr.Dropdown([
|
126 |
-
'Tanuki-8x8B-dpo-v1.0-IQ4_NL.gguf'
|
|
|
|
|
127 |
],
|
128 |
value="Tanuki-8x8B-dpo-v1.0-IQ4_NL.gguf",
|
129 |
label="Model"
|
|
|
18 |
local_dir="./models"
|
19 |
)
|
20 |
|
21 |
+
hf_hub_download(
|
22 |
+
repo_id="team-hatakeyama-phase2/Tanuki-8x8B-dpo-v1.0-GGUF",
|
23 |
+
filename="Tanuki-8x8B-dpo-v1.0-Q6_K.gguf",
|
24 |
+
local_dir="./models"
|
25 |
+
)
|
26 |
+
|
27 |
+
hf_hub_download(
|
28 |
+
repo_id="team-hatakeyama-phase2/Tanuki-8x8B-dpo-v1.0-GGUF",
|
29 |
+
filename="Tanuki-8x8B-dpo-v1.0-IQ3_M.gguf",
|
30 |
+
local_dir="./models"
|
31 |
+
)
|
32 |
+
|
33 |
+
|
34 |
|
35 |
llm = None
|
36 |
llm_model = None
|
|
|
123 |
description = """<p align="center">★画面下のAdditional Inputから、使用したいモデルと、チャットテンプレートを選択してください。★</p>
|
124 |
<p><center>
|
125 |
<a href="https://huggingface.co/team-hatakeyama-phase2/Tanuki-8x8B-dpo-v1.0-GGUF/" target="_blank">Tanuki-8x8B-dpo-v1.0-IQ4_NL.gguf</a><br>
|
126 |
+
<a href="https://huggingface.co/team-hatakeyama-phase2/Tanuki-8x8B-dpo-v1.0-GGUF/" target="_blank">Tanuki-8x8B-dpo-v1.0-Q6_K.gguf</a><br>
|
127 |
+
<a href="https://huggingface.co/team-hatakeyama-phase2/Tanuki-8x8B-dpo-v1.0-GGUF/" target="_blank">Tanuki-8x8B-dpo-v1.0-IQ3_M.gguf</a><br>
|
128 |
</center></p>
|
129 |
"""
|
130 |
|
|
|
138 |
respond,
|
139 |
additional_inputs=[
|
140 |
gr.Dropdown([
|
141 |
+
'Tanuki-8x8B-dpo-v1.0-IQ4_NL.gguf',
|
142 |
+
'Tanuki-8x8B-dpo-v1.0-Q6_K.gguf',
|
143 |
+
'Tanuki-8x8B-dpo-v1.0-IQ3_M.gguf'
|
144 |
],
|
145 |
value="Tanuki-8x8B-dpo-v1.0-IQ4_NL.gguf",
|
146 |
label="Model"
|