File tree Expand file tree Collapse file tree 5 files changed +12
-12
lines changed
auto_tuner/llama_pretrain/benchmark_common
dygraph/hybrid_parallelism
static/auto_parallel/llama2/benchmark_common Expand file tree Collapse file tree 5 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -16,11 +16,11 @@ python -m pip install -r ../requirements.txt
16
16
python -m pip install -r ../requirements-dev.txt
17
17
18
18
# install fused_ln custom ops
19
- cd ../model_zoo/gpt-3/external_ops/
19
+ cd ../legacy/ model_zoo/gpt-3/external_ops/
20
20
python setup.py install
21
21
22
22
# install tool_helpers
23
- cd ../../../llm/llama
23
+ cd ../../../../ llm/llama
24
24
python -m pip install tool_helpers
25
25
26
26
rm -rf data && mkdir data
Original file line number Diff line number Diff line change @@ -16,16 +16,16 @@ python -m pip install -r ../requirements.txt
16
16
python -m pip install -r ../requirements-dev.txt
17
17
18
18
# install fused_ln custom ops
19
- cd ../model_zoo/gpt-3/external_ops/
19
+ cd ../legacy/ model_zoo/gpt-3/external_ops/
20
20
python setup.py install
21
21
22
22
# install tool_helpers
23
- cd ../../../llm/llama
23
+ cd ../../../../ llm/llama
24
24
python -m pip install tool_helpers
25
25
26
26
wget https://bj.bcebos.com/paddlenlp/models/transformers/llama/data/llama_openwebtext_100k_ids.npy
27
27
wget https://bj.bcebos.com/paddlenlp/models/transformers/llama/data/llama_openwebtext_100k_idx.npz
28
28
29
29
mkdir data
30
30
mv llama_openwebtext_100k_ids.npy ./data
31
- mv llama_openwebtext_100k_idx.npz ./data
31
+ mv llama_openwebtext_100k_idx.npz ./data
Original file line number Diff line number Diff line change @@ -16,11 +16,11 @@ python -m pip install -r ../requirements.txt
16
16
python -m pip install -r ../requirements-dev.txt
17
17
18
18
# install fused_ln custom ops
19
- cd ../model_zoo/gpt-3/external_ops/
19
+ cd ../legacy/ model_zoo/gpt-3/external_ops/
20
20
python setup.py install
21
21
22
22
# install tool_helpers
23
- cd ../../../llm/llama
23
+ cd ../../../../ llm/llama
24
24
python -m pip install tool_helpers
25
25
26
26
# download data
Original file line number Diff line number Diff line change @@ -18,16 +18,16 @@ python -m pip install -r ../requirements-dev.txt
18
18
python -m pip install tiktoken
19
19
20
20
# install fused_ln custom ops
21
- cd ../model_zoo/gpt-3/external_ops/
21
+ cd ../legacy/ model_zoo/gpt-3/external_ops/
22
22
python setup.py install
23
23
24
24
# install tool_helpers
25
- cd ../../../llm/qwen
25
+ cd ../../../../ llm/qwen
26
26
python -m pip install tool_helpers
27
27
28
28
wget https://bj.bcebos.com/paddlenlp/models/transformers/llama/data/llama_openwebtext_100k_ids.npy
29
29
wget https://bj.bcebos.com/paddlenlp/models/transformers/llama/data/llama_openwebtext_100k_idx.npz
30
30
31
31
mkdir data
32
32
mv llama_openwebtext_100k_ids.npy ./data
33
- mv llama_openwebtext_100k_idx.npz ./data
33
+ mv llama_openwebtext_100k_idx.npz ./data
Original file line number Diff line number Diff line change @@ -16,11 +16,11 @@ python -m pip install -r ../requirements.txt
16
16
python -m pip install -r ../requirements-dev.txt
17
17
18
18
# install fused_ln custom ops
19
- cd ../model_zoo/gpt-3/external_ops/
19
+ cd ../legacy/ model_zoo/gpt-3/external_ops/
20
20
python setup.py install
21
21
22
22
# install tool_helpers
23
- cd ../../../llm/llama
23
+ cd ../../../../ llm/llama
24
24
python -m pip install tool_helpers
25
25
26
26
# download data
You can’t perform that action at this time.
0 commit comments