xu song
commited on
Commit
•
2e0b320
1
Parent(s):
863617a
update
Browse files- app.py +6 -4
- requirements.txt +1 -1
app.py
CHANGED
@@ -14,9 +14,6 @@ system_list = [
|
|
14 |
]
|
15 |
|
16 |
user_simulator_doc = """\
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
There are maily two types of user simulator:
|
21 |
- prompt-based user-simulator (role-play)
|
22 |
- model-based user-simulator
|
@@ -25,9 +22,14 @@ In most cases, large language models (LLMs) are used to serve as assistant gener
|
|
25 |
Besides, it can also used as user simulator.
|
26 |
"""
|
27 |
|
|
|
|
|
|
|
|
|
28 |
with gr.Blocks() as demo:
|
29 |
# Knowledge Distillation through Self Chatting
|
30 |
-
|
|
|
31 |
with gr.Row():
|
32 |
with gr.Column(scale=5):
|
33 |
system = gr.Dropdown(
|
|
|
14 |
]
|
15 |
|
16 |
user_simulator_doc = """\
|
|
|
|
|
|
|
17 |
There are maily two types of user simulator:
|
18 |
- prompt-based user-simulator (role-play)
|
19 |
- model-based user-simulator
|
|
|
22 |
Besides, it can also used as user simulator.
|
23 |
"""
|
24 |
|
25 |
+
survey = """\
|
26 |
+
|
27 |
+
"""
|
28 |
+
|
29 |
with gr.Blocks() as demo:
|
30 |
# Knowledge Distillation through Self Chatting
|
31 |
+
#
|
32 |
+
gr.HTML("""<h1 align="center">Distilling the Knowledge from LLM through Self Chatting</h1>""")
|
33 |
with gr.Row():
|
34 |
with gr.Column(scale=5):
|
35 |
system = gr.Dropdown(
|
requirements.txt
CHANGED
@@ -2,4 +2,4 @@ huggingface_hub==0.22.2
|
|
2 |
transformers
|
3 |
torch
|
4 |
accelerate
|
5 |
-
llama-cpp-python
|
|
|
2 |
transformers
|
3 |
torch
|
4 |
accelerate
|
5 |
+
git+https://github.com/xu-song/llama-cpp-python.git
|