Update app.py
Browse files
app.py
CHANGED
@@ -118,21 +118,7 @@ chat_interface = ChatInterface(
|
|
118 |
["Who was Anthony Bourdain?"],
|
119 |
],
|
120 |
title="💪🏽🦾 LLM human-feedback collector ChatInterface 🦾💪🏽",
|
121 |
-
description="""This is an adaptation of the gr.ChatInferface which allows for human feedback collection for SFT, DPO and KTO.
|
122 |
-
|
123 |
-
```python
|
124 |
-
chat_interface = ChatInterface(
|
125 |
-
fn=generate,
|
126 |
-
prefence_techniques="dpo",
|
127 |
-
min_turns=1,
|
128 |
-
max_turns=10,
|
129 |
-
repo_id="example_dataset",
|
130 |
-
chatbot=gr.Chatbot(
|
131 |
-
height=450, label="GEITje-SPIN", show_share_button=True, avatar_images=(None, "geitje-logo.jpg")
|
132 |
-
)
|
133 |
-
)
|
134 |
-
```
|
135 |
-
""",
|
136 |
)
|
137 |
|
138 |
with gr.Blocks(css="style.css") as demo:
|
|
|
118 |
["Who was Anthony Bourdain?"],
|
119 |
],
|
120 |
title="💪🏽🦾 LLM human-feedback collector ChatInterface 🦾💪🏽",
|
121 |
+
description="""This is an adaptation of the gr.ChatInferface which allows for human feedback collection for SFT, DPO and KTO.""",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
122 |
)
|
123 |
|
124 |
with gr.Blocks(css="style.css") as demo:
|