muhtasham commited on
Commit
dfe457f
1 Parent(s): 57989ca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -45,13 +45,13 @@ with demo:
45
  leads to **substantial improvements in length generalization!** \n
46
  In-context learning enables variable length pattern matching, producing solutions of correct lengths. \n
47
  This space is an attempt at inspecting this LLM behavior/capability in the new HuggingFace BigScienceW [Bloom](https://huggingface.co/bigscience/bloom) model. \n
48
- This Space is created by [Muhtasham Oblokulov](https://twitter.com/muhtahsam9) for EuroPython 2022 Demo. \n
49
  This Space is work in progress, BLOOM doesn't support inference on long sequencess so you may try with shorter sequences. \n
50
  """
51
  )
52
  with gr.Row():
53
- input_prompt = gr.Textbox(value="Question: The coin is heads up. (3) Then Kara flips. (2) Then Luke doesn't flip. (1) Then Austin flips. Is the coin still heads up? Solution: Coin is initially heads up. (3) After Kara flips, coin becomes tails. (2) Luke doesn't flip, so coin stays tails. (1) After Austin flips, coin turns to heads.\nQuestion: The coin is heads up. (4) Then Kara flips. (3) Then Luke doesn't flip. (2) Then Austin doesn't flip. (1) Then Kara flips. Is the coin still heads up? ",
54
- label="Enter your examples (few-shot) followed by Query :")
55
  generated_txt = gr.Textbox(lines=10, label="Generated Solution:")
56
 
57
  b1 = gr.Button("Generate Text")
 
45
  leads to **substantial improvements in length generalization!** \n
46
  In-context learning enables variable length pattern matching, producing solutions of correct lengths. \n
47
  This space is an attempt at inspecting this LLM behavior/capability in the new HuggingFace BigScienceW [Bloom](https://huggingface.co/bigscience/bloom) model. \n
48
+ This Space is created by [Muhtasham Oblokulov](https://twitter.com/muhtasham9) for EuroPython 2022 Demo. \n
49
  This Space is work in progress, BLOOM doesn't support inference on long sequencess so you may try with shorter sequences. \n
50
  """
51
  )
52
  with gr.Row():
53
+ input_prompt = gr.Textbox(value="Q:The coin is heads up.(1) Then Austin flips. Is the coin still heads up? Solution: Coin is initially heads up. (1) After Austin flips, coin turns to heads. Q: The coin is heads up. (2) Then Austin doesn't flip. (1) Then Kara flips. Is the coin still heads up?",
54
+ label="Enter your examples zero-shot (few-shot is not supported due to API limit) followed by Query :")
55
  generated_txt = gr.Textbox(lines=10, label="Generated Solution:")
56
 
57
  b1 = gr.Button("Generate Text")