Nihal Nayak commited on
Commit
d6c9c32
1 Parent(s): 44cf124

fix: instructions

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -66,7 +66,7 @@ task_types = [
66
  task_types = [task_type.capitalize() for task_type in task_types]
67
 
68
  description = """
69
- This is a demo for Bonito, an open-source model for conditional task generation that can generate synthetic instruction tuning datasets for a wide range of NLP tasks.
70
 
71
  ## More details on Bonito
72
  Model: https://huggingface.co/BatsResearch/bonito-v1
@@ -102,10 +102,10 @@ demo = gr.Interface(
102
  ],
103
  outputs=[
104
  gr.Textbox(
105
- label="Input",
106
  lines=5,
107
  ),
108
- gr.Textbox(label="Output"),
109
  ],
110
  additional_inputs=[
111
  gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
 
66
  task_types = [task_type.capitalize() for task_type in task_types]
67
 
68
  description = """
69
+ This is a demo for Bonito, an open-source model for conditional task generation: the task of converting unannotated text into task-specific synthetic instruction tuning data.
70
 
71
  ## More details on Bonito
72
  Model: https://huggingface.co/BatsResearch/bonito-v1
 
102
  ],
103
  outputs=[
104
  gr.Textbox(
105
+ label="Instruction",
106
  lines=5,
107
  ),
108
+ gr.Textbox(label="Response"),
109
  ],
110
  additional_inputs=[
111
  gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),