Spaces:
Running
Running
update descriptions etc
Browse files
app.py
CHANGED
@@ -16,7 +16,10 @@ examples = [
|
|
16 |
]
|
17 |
|
18 |
title = "InstructionGen: Flan T5 Small & Bart Base"
|
19 |
-
description =
|
|
|
|
|
|
|
20 |
|
21 |
|
22 |
def inference(text):
|
@@ -33,8 +36,8 @@ io = gr.Interface(
|
|
33 |
inference,
|
34 |
gr.Textbox(lines=3),
|
35 |
outputs=[
|
36 |
-
gr.Textbox(lines=3, label="Flan T5 Small
|
37 |
-
gr.Textbox(lines=3, label="Bart Base
|
38 |
],
|
39 |
title=title,
|
40 |
description=description,
|
|
|
16 |
]
|
17 |
|
18 |
title = "InstructionGen: Flan T5 Small & Bart Base"
|
19 |
+
description = (
|
20 |
+
"This demo compares the [flan-t5-small-instructiongen](https://huggingface.co/pszemraj/flan-t5-small-instructiongen) and [bart-base-instructiongen](https://huggingface.co/pszemraj/bart-base-instructiongen) models on 'creating' an instruction for arbitrary text.",
|
21 |
+
)
|
22 |
+
article = "Both models generate instructions for Large Language Models (LLMs) from arbitrary text. They are trained on the [fleece2instructions](https://huggingface.co/datasets/pszemraj/fleece2instructions) dataset, which is a filtered/foramtted version of the [alpaca](https://huggingface.co/datasets/tatsu-lab/alpaca) dataset"
|
23 |
|
24 |
|
25 |
def inference(text):
|
|
|
36 |
inference,
|
37 |
gr.Textbox(lines=3),
|
38 |
outputs=[
|
39 |
+
gr.Textbox(lines=3, label="Flan T5 Small", interactive=False),
|
40 |
+
gr.Textbox(lines=3, label="Bart Base", interactive=False),
|
41 |
],
|
42 |
title=title,
|
43 |
description=description,
|