Spaces:
Runtime error
Runtime error
J-Antoine ZAGATO
commited on
Commit
•
a2772c8
1
Parent(s):
42ce011
Changed title & markdown
Browse files
app.py
CHANGED
@@ -353,10 +353,10 @@ with gr.Blocks(css=CSS) as demo:
|
|
353 |
dataset_name = "fsdlredteam/flagged_2",
|
354 |
organization = "fsdlredteam",
|
355 |
private = True )
|
356 |
-
|
357 |
-
gr.Markdown("# FSDL 2022 Red-Teaming Open-Source Models Interface")
|
358 |
-
gr.Markdown("<img src=https://i.imgur.com/ZxbbLUQ.png>")
|
359 |
|
|
|
|
|
|
|
360 |
gr.Markdown("### Pick a text generation model below, write a prompt and explore the output")
|
361 |
gr.Markdown("### Or compare the output of multiple models at the same time")
|
362 |
|
@@ -369,9 +369,12 @@ with gr.Blocks(css=CSS) as demo:
|
|
369 |
|
370 |
with gr.Group() as single_model:
|
371 |
|
372 |
-
gr.Markdown("You can upload any model from the Hugging Face hub -even private ones,
|
373 |
-
|
374 |
-
|
|
|
|
|
|
|
375 |
gr.Markdown("Beware ! Generation can take up to a few minutes with very large models.")
|
376 |
|
377 |
with gr.Row():
|
@@ -576,7 +579,9 @@ with gr.Blocks(css=CSS) as demo:
|
|
576 |
model_list.append(output_spans_multi)
|
577 |
|
578 |
|
579 |
-
|
|
|
|
|
580 |
|
581 |
# Single Model
|
582 |
|
|
|
353 |
dataset_name = "fsdlredteam/flagged_2",
|
354 |
organization = "fsdlredteam",
|
355 |
private = True )
|
|
|
|
|
|
|
356 |
|
357 |
+
gr.Markdown("<p align='center'><img src='https://i.imgur.com/ZxbbLUQ.png>'/></p>")
|
358 |
+
gr.Markdown("<h1 align='center'>BuggingSpace</h1>")
|
359 |
+
gr.Markdown("<h2 align='center'>FSDL 2022 Red-Teaming Open-Source Models Project</h2>")
|
360 |
gr.Markdown("### Pick a text generation model below, write a prompt and explore the output")
|
361 |
gr.Markdown("### Or compare the output of multiple models at the same time")
|
362 |
|
|
|
369 |
|
370 |
with gr.Group() as single_model:
|
371 |
|
372 |
+
gr.Markdown("You can upload any model from the Hugging Face hub -even private ones, \
|
373 |
+
provided you use your private key! "
|
374 |
+
"Write your prompt or alternatively use one from the \
|
375 |
+
[RealToxicityPrompts](https://allenai.org/data/real-toxicity-prompts) dataset.")
|
376 |
+
gr.Markdown("Use it to audit the model for potential failure modes, \
|
377 |
+
analyse its output with the Detoxify suite and contribute by reporting any problematic result.")
|
378 |
gr.Markdown("Beware ! Generation can take up to a few minutes with very large models.")
|
379 |
|
380 |
with gr.Row():
|
|
|
579 |
model_list.append(output_spans_multi)
|
580 |
|
581 |
|
582 |
+
with gr.Row():
|
583 |
+
gr.Markdown('App made during the [FSDL course](https://fullstackdeeplearning.com) \
|
584 |
+
by Team53: Jean-Antoine, Sajenthan, Sashank, Kemp, Srihari, Astitwa')
|
585 |
|
586 |
# Single Model
|
587 |
|