ysharma HF Staff commited on
Commit
a68aa93
·
1 Parent(s): 24c4849
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -60,10 +60,10 @@ demo = gr.Blocks()
60
  with demo:
61
  gr.Markdown("<h1><center>Step By Step With Bloom</center></h1>")
62
  gr.Markdown(
63
- """ BigScienceW Bloom \n\n Large language models have demonstrated a capability of 'Chain-of-thought reasoning'. Some amazing researchers recently found out that by addding **Lets think step by step** it improves the model's zero-shot performance. Some might say — You can get good results out of LLMs if you know how to speak to them"""
64
  )
65
  with gr.Row():
66
- example_prompt = gr.Radio( ["Q: A juggler can juggle 16 balls. Half of the balls are golf balls, and half of the golf balls are blue. How many blue golf balls are there?\nA: Let’s think step by step.\n", "Q: Roger has 5 tennis balls. He buys 2 more cans of tennis balls. Each can has 3 tennis balls. How many tennis balls does he have now?\nA: Let’s think step by step.\n", "Q: On average Joe throws 25 punches per minute. A fight lasts 5 rounds of 3 minutes. How many punches did he throw?\nA: Let’s think step by step.\n"], label= "Choose a sample Prompt")
67
  #input_word = gr.Textbox(placeholder="Enter a word here to generate text ...")
68
  generated_txt = gr.Textbox(lines=7)
69
 
 
60
  with demo:
61
  gr.Markdown("<h1><center>Step By Step With Bloom</center></h1>")
62
  gr.Markdown(
63
+ """ [BigScienceW Bloom](https://twitter.com/BigscienceW) \n\n Large language models have demonstrated a capability of 'Chain-of-thought reasoning'. Some amazing researchers [Jason Wei et al.](https://arxiv.org/abs/2206.07682) recently found out that by addding **Lets think step by step** it improves the model's zero-shot performance. Some might say — You can get good results out of LLMs if you know how to speak to them."""
64
  )
65
  with gr.Row():
66
+ example_prompt = gr.Radio( ["Q: A juggler can juggle 16 balls. Half of the balls are golf balls, and half of the golf balls are blue. How many blue golf balls are there?\nA: Let’s think step by step.\n", "Q: Roger has 5 tennis balls already. He buys 2 more cans of tennis balls. Each can has 3 tennis balls. How many tennis balls does he have now?\nA: Let’s think step by step.\n", "Q: On average Joe throws 25 punches per minute. A fight lasts 5 rounds of 3 minutes each. How many punches did he throw?\nA: Let’s think step by step.\n"], label= "Choose a sample Prompt")
67
  #input_word = gr.Textbox(placeholder="Enter a word here to generate text ...")
68
  generated_txt = gr.Textbox(lines=7)
69