Spaces:
Running
on
Zero
Running
on
Zero
Commit
Β·
968ee27
1
Parent(s):
b2d025f
preview
Browse files
app.py
CHANGED
|
@@ -65,7 +65,7 @@ scheduler = CommitScheduler(
|
|
| 65 |
repo_type="dataset",
|
| 66 |
folder_path=dataset_folder,
|
| 67 |
path_in_repo="data",
|
| 68 |
-
every=5, # Upload every
|
| 69 |
)
|
| 70 |
|
| 71 |
|
|
@@ -209,7 +209,7 @@ As well as providing a demo for the Magpie generations, this Space also allows y
|
|
| 209 |
2. **π¬ Response Generation:** The model generates a response to this instruction.
|
| 210 |
3. **ππ User Feedback (optional):** Rate the quality of the generated content and contribute to a crowdsourced preference dataset for synthetic dataset.
|
| 211 |
|
| 212 |
-
π Find the crowd-generated dataset at [davanstrien/magpie-preference](https://huggingface.co/datasets/davanstrien/magpie-preference). It's updated every 5 minutes!
|
| 213 |
|
| 214 |
π Learn more about Magpie in the [paper](https://huggingface.co/papers/2406.08464).
|
| 215 |
|
|
@@ -291,6 +291,13 @@ with gr.Blocks() as iface:
|
|
| 291 |
],
|
| 292 |
outputs=[feedback_output, thumbs_up, thumbs_down, generate_btn],
|
| 293 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 294 |
|
| 295 |
# Launch the app
|
| 296 |
iface.launch(debug=True)
|
|
|
|
| 65 |
repo_type="dataset",
|
| 66 |
folder_path=dataset_folder,
|
| 67 |
path_in_repo="data",
|
| 68 |
+
every=5, # Upload every 5 minutes
|
| 69 |
)
|
| 70 |
|
| 71 |
|
|
|
|
| 209 |
2. **π¬ Response Generation:** The model generates a response to this instruction.
|
| 210 |
3. **ππ User Feedback (optional):** Rate the quality of the generated content and contribute to a crowdsourced preference dataset for synthetic dataset.
|
| 211 |
|
| 212 |
+
π Find the crowd-generated dataset at [davanstrien/magpie-preference](https://huggingface.co/datasets/davanstrien/magpie-preference). It's updated every 5 minutes! You can also see a preview of the dataset below!
|
| 213 |
|
| 214 |
π Learn more about Magpie in the [paper](https://huggingface.co/papers/2406.08464).
|
| 215 |
|
|
|
|
| 291 |
],
|
| 292 |
outputs=[feedback_output, thumbs_up, thumbs_down, generate_btn],
|
| 293 |
)
|
| 294 |
+
gr.Markdown("### Generated Dataset")
|
| 295 |
+
gr.HTML("""<iframe
|
| 296 |
+
src="https://huggingface.co/datasets/davanstrien/magpie-preference/embed/viewer"
|
| 297 |
+
frameborder="0"
|
| 298 |
+
width="100%"
|
| 299 |
+
height="560px"
|
| 300 |
+
></iframe>""")
|
| 301 |
|
| 302 |
# Launch the app
|
| 303 |
iface.launch(debug=True)
|