OrionZheng
commited on
Commit
•
1f9518c
1
Parent(s):
d9ba731
Upload 2 files
Browse files- colab_env.txt +23 -0
- prepare_env.sh +7 -0
colab_env.txt
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
airio @ git+https://github.com/google/airio#egg=airio
|
2 |
+
absl-py==1.4.0
|
3 |
+
clu @ git+https://github.com/google/CommonLoopUtils#egg=clu
|
4 |
+
flax @ git+https://github.com/google/flax#egg=flax
|
5 |
+
fiddle==0.2.11
|
6 |
+
gin-config==0.5.0
|
7 |
+
jax==0.4.20
|
8 |
+
jaxtyping==0.2.24
|
9 |
+
jaxlib @ https://storage.googleapis.com/jax-releases/cuda11/jaxlib-0.4.20+cuda11.cudnn86-cp310-cp310-manylinux2014_x86_64.whl#sha256=01be66238133f884bf5adf15cd7eaaf8445f9d4b056c5c64df28a997a6aff2fe
|
10 |
+
jestimator @ git+https://github.com/google-research/jestimator#egg=jestimator
|
11 |
+
numpy==1.23.5
|
12 |
+
optax @ git+https://github.com/deepmind/optax@1a7956d0e6f6f2881fb8f7d4c579a6435c8431eb
|
13 |
+
orbax-checkpoint==0.4.4
|
14 |
+
seqio @ git+https://github.com/google/seqio#egg=seqio
|
15 |
+
tensorflow-cpu==2.15.0.post1
|
16 |
+
tensorstore==0.1.45
|
17 |
+
protobuf==3.20.3
|
18 |
+
colossalai >= 0.3.3
|
19 |
+
torch >= 1.8.1
|
20 |
+
transformers==4.34.0
|
21 |
+
sentencepiece==0.1.99
|
22 |
+
datasets==2.14.7
|
23 |
+
chex==0.1.7
|
prepare_env.sh
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
python --version
|
2 |
+
python -m pip install --upgrade pip
|
3 |
+
|
4 |
+
pip install -r colab_env.txt
|
5 |
+
# Install t5x
|
6 |
+
git clone --branch=main https://github.com/google-research/t5x
|
7 |
+
python -m pip install ./t5x
|