Spaces:
Build error
Build error
additional changes
Browse files- app.py +2 -1
- requirements.txt +5 -0
app.py
CHANGED
@@ -158,5 +158,6 @@ iface = gr.Interface(
|
|
158 |
examples=examples,
|
159 |
cache_examples=True,
|
160 |
title="BLOOM vs BLOOMZ",
|
161 |
-
description='''<p>Compare outputs of the BLOOM and BLOOMZ 176 billion parameter models using the [Petals](https://petals.ml/) network.
|
|
|
162 |
).launch()
|
|
|
158 |
examples=examples,
|
159 |
cache_examples=True,
|
160 |
title="BLOOM vs BLOOMZ",
|
161 |
+
description='''<p>Compare outputs of the BLOOM and BLOOMZ 176 billion parameter models using the [Petals](https://petals.ml/) network. WARNING: Inference may take a long time. Keep the max_tokens low to speed things up.<p>
|
162 |
+
<p>Please consider [joining](https://github.com/bigscience-workshop/petals) the Petals network to help speed up inference.</p><p>Big thanks to [RFTCapital](https://www.rftcapital.com) for providing initial compute resources.</p>'''
|
163 |
).launch()
|
requirements.txt
CHANGED
@@ -1,4 +1,9 @@
|
|
1 |
threadpoolctl==3.1.0
|
2 |
transformers==4.25.1
|
|
|
|
|
|
|
3 |
torch==1.13.1
|
|
|
|
|
4 |
petals
|
|
|
1 |
threadpoolctl==3.1.0
|
2 |
transformers==4.25.1
|
3 |
+
bitsandbytes>=0.35.4
|
4 |
+
huggingface-hub>=0.7.0
|
5 |
+
protobuf>=3.12.2,<4.0.0
|
6 |
torch==1.13.1
|
7 |
+
hivemind>=1.1.2
|
8 |
+
gradio
|
9 |
petals
|