Spaces:
Runtime error
Runtime error
Commit
·
fccd952
1
Parent(s):
64e0c1f
Update app.py
Browse files
app.py
CHANGED
@@ -74,7 +74,7 @@ def chat(curr_system_message, history):
|
|
74 |
|
75 |
with gr.Blocks() as demo:
|
76 |
# history = gr.State([])
|
77 |
-
gr.Markdown("
|
78 |
|
79 |
with gr.Row():
|
80 |
with gr.Column():
|
@@ -82,14 +82,16 @@ with gr.Blocks() as demo:
|
|
82 |
"""
|
83 |
ChatLM is a chat Large Language model finetuned with pretrained [Falcon-1B model](https://huggingface.co/tiiuae/falcon-rw-1b)
|
84 |
and trained on [chat-bot-instructions prompts dataset](https://huggingface.co/datasets/ayoolaolafenwa/sft-data).
|
85 |
-
|
|
|
86 |
it will not generalize well for tasks like coding and current affairs.
|
|
|
|
|
|
|
87 |
"""
|
88 |
)
|
89 |
-
gr.Markdown(""" # Github Repo
|
90 |
-
https://github.com/ayoolaolafenwa/ChatLM/tree/main """)
|
91 |
|
92 |
-
chatbot = gr.Chatbot().style(height=
|
93 |
with gr.Row():
|
94 |
with gr.Column():
|
95 |
msg = gr.Textbox(label="Chat Message Box", placeholder="Chat Message Box",
|
|
|
74 |
|
75 |
with gr.Blocks() as demo:
|
76 |
# history = gr.State([])
|
77 |
+
gr.Markdown("* ChatLM")
|
78 |
|
79 |
with gr.Row():
|
80 |
with gr.Column():
|
|
|
82 |
"""
|
83 |
ChatLM is a chat Large Language model finetuned with pretrained [Falcon-1B model](https://huggingface.co/tiiuae/falcon-rw-1b)
|
84 |
and trained on [chat-bot-instructions prompts dataset](https://huggingface.co/datasets/ayoolaolafenwa/sft-data).
|
85 |
+
|
86 |
+
* Note:ChatLM was trained on a dataset containing normal day to day human conversations, due to limited data used in training
|
87 |
it will not generalize well for tasks like coding and current affairs.
|
88 |
+
|
89 |
+
* Github Repo
|
90 |
+
https://github.com/ayoolaolafenwa/ChatLM/tree/main
|
91 |
"""
|
92 |
)
|
|
|
|
|
93 |
|
94 |
+
chatbot = gr.Chatbot().style(height=400)
|
95 |
with gr.Row():
|
96 |
with gr.Column():
|
97 |
msg = gr.Textbox(label="Chat Message Box", placeholder="Chat Message Box",
|