Spaces:
Runtime error
Runtime error
Sanchit Gandhi
commited on
Commit
·
92e6c3f
1
Parent(s):
7011f7b
Update app.py
Browse files
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
|
|
|
|
|
|
|
20 |
|
21 |
-
|
22 |
-
|
23 |
-
|
|
|
|
|
|
|
|
|
|
|
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")
|