Commit
•
1d650f1
1
Parent(s):
b5a9615
Update app.py
Browse files
app.py
CHANGED
@@ -167,9 +167,21 @@ Twee van de wortelbedrijven werkten mee door meer informatie over de ongeoorloof
|
|
167 |
Vat bovenstaand artikel samen"""
|
168 |
],
|
169 |
],
|
170 |
-
title="
|
171 |
-
description="""
|
172 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
173 |
""",
|
174 |
)
|
175 |
|
|
|
167 |
Vat bovenstaand artikel samen"""
|
168 |
],
|
169 |
],
|
170 |
+
title="💪🏽🦾 LLM human-feedback collector ChatInterface 🦾💪🏽",
|
171 |
+
description="""This is an adaptation of the gr.ChatInferface which allows for human feedback collection for SFT, DPO and KTO. Example usage:
|
172 |
+
|
173 |
+
```python
|
174 |
+
chat_interface = ChatInterface(
|
175 |
+
fn=generate,
|
176 |
+
prefence_techniques="dpo",
|
177 |
+
min_turns=1,
|
178 |
+
max_turns=10,
|
179 |
+
repo_id="example_dataset",
|
180 |
+
chatbot=gr.Chatbot(
|
181 |
+
height=450, label="GEITje-SPIN", show_share_button=True, avatar_images=(None, "geitje-logo.jpg")
|
182 |
+
)
|
183 |
+
)
|
184 |
+
```
|
185 |
""",
|
186 |
)
|
187 |
|