File size: 919 Bytes
a93e458
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
langs=(en de es fr it pt nl ru zh ko en_de de_en en_fr fr_en en_es es_en en_it it_en en_nl nl_en en_pt pt_en en_ru ru_en en_zh zh_en en_ko ko_en)

for lang in ${langs[@]}; do
    mkdir -p /mnt/cephfs-nvme/shared/experiments_megatron/cpt_llama_3/DumpHFDataset/Dataset.${lang}
    echo "0" > /mnt/cephfs-nvme/shared/experiments_megatron/cpt_llama_3/DumpHFDataset/Dataset.${lang}/ducttape_exit_code.txt
    touch /mnt/cephfs-nvme/shared/experiments_megatron/cpt_llama_3/DumpHFDataset/Dataset.${lang}/ducttape_stderr.txt
    touch /mnt/cephfs-nvme/shared/experiments_megatron/cpt_llama_3/DumpHFDataset/Dataset.${lang}/ducttape_stdout.txt
    touch /mnt/cephfs-nvme/shared/experiments_megatron/cpt_llama_3/DumpHFDataset/Dataset.${lang}/ducttape_task.sh
    cp /mnt/cephfs-nvme/shared/tower-base-training-data/${lang}/dataset.json /mnt/cephfs-nvme/shared/experiments_megatron/cpt_llama_3/DumpHFDataset/Dataset.${lang}/ &
done