pszemraj commited on
Commit
40cfc91
·
1 Parent(s): 25069ae

update descriptions etc

Browse files
Files changed (1) hide show
  1. app.py +6 -3
app.py CHANGED
@@ -16,7 +16,10 @@ examples = [
16
  ]
17
 
18
  title = "InstructionGen: Flan T5 Small & Bart Base"
19
- description = "This demo compares the pszemraj/flan-t5-small-instructiongen and pszemraj/bart-base-instructiongen models. Both models generate instructions for Language Learning Models (LLMs) based on the provided example titles."
 
 
 
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 InstructionGen", interactive=False),
37
- gr.Textbox(lines=3, label="Bart Base InstructionGen", interactive=False),
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,