Sanchit Gandhi commited on
Commit
92e6c3f
·
1 Parent(s): 7011f7b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -4
app.py CHANGED
@@ -11,16 +11,25 @@ Tips:
11
  - Do NOT talk to BLOOM as an entity, it's not a chatbot but a webpage/blog/article completion model.
12
  - For the best results: MIMIC a few sentences of a webpage similar to the content you want to generate.
13
  Start a paragraph as if YOU were writing a blog, webpage, math post, coding article and BLOOM will generate a coherent follow-up. Longer prompts usually give more interesting results.
 
14
  Options:
15
  - sampling: imaginative completions (may be not super accurate e.g. math/history)
16
  - greedy: accurate completions (may be more boring or have repetitions)
17
  """
18
 
19
- wip_description = """JAX / Flax Gradio Demo for BLOOM. The 176B BLOOM model running on a TPU v3-256 pod, with 2D model parallelism and custom mesh axes.
 
 
 
20
 
21
- Note:
22
- 1. For this WIP demo, only **sampling** is supported.
23
- 2. Rendering of the screenshot is currently not optimised. To experience the true speed of JAX / Flax, tick 'just output raw text'.
 
 
 
 
 
24
  """
25
 
26
  API_URL = os.getenv("API_URL")
 
11
  - Do NOT talk to BLOOM as an entity, it's not a chatbot but a webpage/blog/article completion model.
12
  - For the best results: MIMIC a few sentences of a webpage similar to the content you want to generate.
13
  Start a paragraph as if YOU were writing a blog, webpage, math post, coding article and BLOOM will generate a coherent follow-up. Longer prompts usually give more interesting results.
14
+
15
  Options:
16
  - sampling: imaginative completions (may be not super accurate e.g. math/history)
17
  - greedy: accurate completions (may be more boring or have repetitions)
18
  """
19
 
20
+ wip_description = """Gradio Demo for JAX / Flax BLOOM. The 176B BLOOM model running on a TPU v3-256 pod, with 2D model parallelism and custom mesh axes.
21
+
22
+
23
+ Note: rendering of the screenshot is currently not optimised. To experience the true speed of JAX / Flax, tick 'just output raw text'.
24
 
25
+ Tips:
26
+ - Do NOT talk to BLOOM as an entity, it's not a chatbot but a webpage/blog/article completion model.
27
+ - For the best results: MIMIC a few sentences of a webpage similar to the content you want to generate.
28
+ Start a paragraph as if YOU were writing a blog, webpage, math post, coding article and BLOOM will generate a coherent follow-up. Longer prompts usually give more interesting results.
29
+
30
+ Options:
31
+ - sampling: imaginative completions (may be not super accurate e.g. math/history)
32
+ - greedy: accurate completions (may be more boring or have repetitions)
33
  """
34
 
35
  API_URL = os.getenv("API_URL")