Update app.py
Browse files
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/
|
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="
|
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")
|