Spaces:
Runtime error
Runtime error
a100 kh
commited on
Commit
·
5b6193b
1
Parent(s):
5ae4121
clean
Browse files
app.py
CHANGED
|
@@ -56,25 +56,6 @@ def respond(
|
|
| 56 |
For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
|
| 57 |
"""
|
| 58 |
|
| 59 |
-
|
| 60 |
-
demo = gr.ChatInterface(
|
| 61 |
-
respond,
|
| 62 |
-
additional_inputs=[
|
| 63 |
-
# gr.Textbox(value="You are a friendly Chatbot.",
|
| 64 |
-
# label="System message"),
|
| 65 |
-
gr.Slider(minimum=1, maximum=2048, value=1024,
|
| 66 |
-
step=1, label="Max new tokens"),
|
| 67 |
-
gr.Slider(minimum=0.1, maximum=4.0, value=0.3,
|
| 68 |
-
step=0.1, label="Temperature"),
|
| 69 |
-
gr.Slider(
|
| 70 |
-
minimum=0.1,
|
| 71 |
-
maximum=1.0,
|
| 72 |
-
value=0.95,
|
| 73 |
-
step=0.05,
|
| 74 |
-
label="Top-p (nucleus sampling)",
|
| 75 |
-
),
|
| 76 |
-
],
|
| 77 |
-
)
|
| 78 |
description = """
|
| 79 |
### [Tanuki-8x8B-dpo-v1.0](https://huggingface.co/weblab-GENIAC/Tanuki-8x8B-dpo-v1.0)との会話(期間限定での公開)
|
| 80 |
- 人工知能開発のため、原則として**このChatBotの入出力データは全て著作権フリー(CC0)で公開予定です**ので、ご注意ください。著作物、個人情報、機密情報、誹謗中傷などのデータを入力しないでください。
|
|
|
|
| 56 |
For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
|
| 57 |
"""
|
| 58 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 59 |
description = """
|
| 60 |
### [Tanuki-8x8B-dpo-v1.0](https://huggingface.co/weblab-GENIAC/Tanuki-8x8B-dpo-v1.0)との会話(期間限定での公開)
|
| 61 |
- 人工知能開発のため、原則として**このChatBotの入出力データは全て著作権フリー(CC0)で公開予定です**ので、ご注意ください。著作物、個人情報、機密情報、誹謗中傷などのデータを入力しないでください。
|