#################### # enA-koA: 511_358 # #################### # test export DATASET_ID=test export DIRECTION="enA-koA" export LINE_NO_START=0 export LINE_NO_END=10 python fetch_dataset_s2s.py # main for i in $(seq 49 50); do export N_POOL=15 export DATASET_ID=${i} export DIRECTION="enA-koA" export LINE_NO_START=$(((DATASET_ID-1) * 2500)) export LINE_NO_END=$((DATASET_ID * 2500)) echo ${LINE_NO_START} python fetch_dataset_s2s.py done for i in $(seq 87 100); do export N_POOL=15 export DATASET_ID=${i} export DIRECTION="enA-koA" export LINE_NO_START=$(((DATASET_ID-1) * 2500)) export LINE_NO_END=$((DATASET_ID * 2500)) echo ${LINE_NO_START} python fetch_dataset_s2s.py done # tokenize for i in $(seq 21 36); do export N_POOL=15 export DATASET_ID=${i} export DIRECTION="enA-koA" export LINE_NO_START=$(((DATASET_ID-1) * 2500)) export LINE_NO_END=$((DATASET_ID * 2500)) echo ${LINE_NO_START} python tokenize_dataset_s2s.py done for i in $(seq 65 75); do export N_POOL=15 export DATASET_ID=${i} export DIRECTION="enA-koA" export LINE_NO_START=$(((DATASET_ID-1) * 2500)) export LINE_NO_END=$((DATASET_ID * 2500)) echo ${LINE_NO_START} python tokenize_dataset_s2s.py done # speaker embedding for i in $(seq 1 20); do export DATASET_ID=${i} export DIRECTION="enA-koA" python attach_speaker_embedding_s2s.py done for i in $(seq 51 64); do export DATASET_ID=${i} export DIRECTION="enA-koA" python attach_speaker_embedding_s2s.py done ###################### # enA-frA: 3_054_258 # ###################### # test export DATASET_ID=test export DIRECTION="enA-frA" export LINE_NO_START=0 export LINE_NO_END=10 python fetch_dataset_s2s.py # main for i in $(seq 115 200); do export N_POOL=15 export DATASET_ID=${i} export DIRECTION="enA-frA" export LINE_NO_START=$(((DATASET_ID-1) * 2500)) export LINE_NO_END=$((DATASET_ID * 2500)) echo ${LINE_NO_START} python fetch_dataset_s2s.py done for i in $(seq 209 300); do export N_POOL=15 export DATASET_ID=${i} export DIRECTION="enA-frA" export LINE_NO_START=$(((DATASET_ID-1) * 2500)) export LINE_NO_END=$((DATASET_ID * 2500)) echo ${LINE_NO_START} python fetch_dataset_s2s.py done for i in $(seq 440 500); do export N_POOL=15 export DATASET_ID=${i} export DIRECTION="enA-frA" export LINE_NO_START=$(((DATASET_ID-1) * 2500)) export LINE_NO_END=$((DATASET_ID * 2500)) echo ${LINE_NO_START} python fetch_dataset_s2s.py done for i in $(seq 515 600); do export N_POOL=15 export DATASET_ID=${i} export DIRECTION="enA-frA" export LINE_NO_START=$(((DATASET_ID-1) * 2500)) export LINE_NO_END=$((DATASET_ID * 2500)) echo ${LINE_NO_START} python fetch_dataset_s2s.py done # tokenize for i in $(seq 61 105); do export N_POOL=15 export DATASET_ID=${i} export DIRECTION="enA-frA" export LINE_NO_START=$(((DATASET_ID-1) * 2500)) export LINE_NO_END=$((DATASET_ID * 2500)) echo ${LINE_NO_START} python tokenize_dataset_s2s.py done # speaker embedding for i in $(seq 61 105); do export DATASET_ID=${i} export DIRECTION="enA-frA" python attach_speaker_embedding_s2s.py done # tokenize for i in $(seq 361 425); do export N_POOL=15 export DATASET_ID=${i} export DIRECTION="enA-frA" export LINE_NO_START=$(((DATASET_ID-1) * 2500)) export LINE_NO_END=$((DATASET_ID * 2500)) echo ${LINE_NO_START} python tokenize_dataset_s2s.py done # speaker embedding for i in $(seq 361 425); do export DATASET_ID=${i} export DIRECTION="enA-frA" python attach_speaker_embedding_s2s.py done ###################### # enA-deA: 1_965_186 # ###################### # test export DATASET_ID=test export DIRECTION="deA-enA" export LINE_NO_START=0 export LINE_NO_END=10 python fetch_dataset_s2s.py # main for i in $(seq 136 200); do export N_POOL=15 export DATASET_ID=${i} export DIRECTION="deA-enA" export LINE_NO_START=$(((DATASET_ID-1) * 2500)) export LINE_NO_END=$((DATASET_ID * 2500)) echo ${LINE_NO_START} python fetch_dataset_s2s.py done for i in $(seq 201 394); do export N_POOL=15 export DATASET_ID=${i} export DIRECTION="deA-enA" export LINE_NO_START=$(((DATASET_ID-1) * 2500)) export LINE_NO_END=$((DATASET_ID * 2500)) echo ${LINE_NO_START} python fetch_dataset_s2s.py done # tokenize for i in $(seq 51 104); do export N_POOL=15 export DATASET_ID=${i} export DIRECTION="deA-enA" export LINE_NO_START=$(((DATASET_ID-1) * 2500)) export LINE_NO_END=$((DATASET_ID * 2500)) echo ${LINE_NO_START} python tokenize_dataset_s2s.py done for i in $(seq 370 394); do export N_POOL=15 export DATASET_ID=${i} export DIRECTION="deA-enA" export LINE_NO_START=$(((DATASET_ID-1) * 2500)) export LINE_NO_END=$((DATASET_ID * 2500)) echo ${LINE_NO_START} python tokenize_dataset_s2s.py done # speaker embedding for i in $(seq 28 104); do export DATASET_ID=${i} export DIRECTION="deA-enA" python attach_speaker_embedding_s2s.py done # speaker embedding for i in $(seq 370 394); do export DATASET_ID=${i} export DIRECTION="deA-enA" python attach_speaker_embedding_s2s.py done ###################### # enA-esA: 2_658_022 # ###################### # test export DATASET_ID=test export DIRECTION="enA-esA" export LINE_NO_START=0 export LINE_NO_END=10 python fetch_dataset_s2s.py # main for i in $(seq 98 125); do export N_POOL=15 export DATASET_ID=${i} export DIRECTION="enA-esA" export LINE_NO_START=$(((DATASET_ID-1) * 2500)) export LINE_NO_END=$((DATASET_ID * 2500)) echo ${LINE_NO_START} python fetch_dataset_s2s.py done for i in $(seq 165 250); do export N_POOL=15 export DATASET_ID=${i} export DIRECTION="enA-esA" export LINE_NO_START=$(((DATASET_ID-1) * 2500)) export LINE_NO_END=$((DATASET_ID * 2500)) echo ${LINE_NO_START} python fetch_dataset_s2s.py done for i in $(seq 333 420); do export N_POOL=15 export DATASET_ID=${i} export DIRECTION="enA-esA" export LINE_NO_START=$(((DATASET_ID-1) * 2500)) export LINE_NO_END=$((DATASET_ID * 2500)) echo ${LINE_NO_START} python fetch_dataset_s2s.py done for i in $(seq 434 532); do export N_POOL=15 export DATASET_ID=${i} export DIRECTION="enA-esA" export LINE_NO_START=$(((DATASET_ID-1) * 2500)) export LINE_NO_END=$((DATASET_ID * 2500)) echo ${LINE_NO_START} python fetch_dataset_s2s.py done # tokenize for i in $(seq 1 50); do export N_POOL=15 export DATASET_ID=${i} export DIRECTION="enA-esA" export LINE_NO_START=$(((DATASET_ID-1) * 2500)) export LINE_NO_END=$((DATASET_ID * 2500)) echo ${LINE_NO_START} python tokenize_dataset_s2s.py done # speaker embedding for i in $(seq 1 50); do export DATASET_ID=${i} export DIRECTION="enA-esA" python attach_speaker_embedding_s2s.py done # tokenize for i in $(seq 251 280); do export N_POOL=15 export DATASET_ID=${i} export DIRECTION="enA-esA" export LINE_NO_START=$(((DATASET_ID-1) * 2500)) export LINE_NO_END=$((DATASET_ID * 2500)) echo ${LINE_NO_START} python tokenize_dataset_s2s.py done # speaker embedding for i in $(seq 251 280); do export DATASET_ID=${i} export DIRECTION="enA-esA" python attach_speaker_embedding_s2s.py done #################### # enA-hiA: 454_942 # #################### # test export DATASET_ID=test export DIRECTION="enA-hiA" export LINE_NO_START=0 export LINE_NO_END=10 python fetch_dataset_s2s.py # main for i in $(seq 1 91); do export N_POOL=15 export DATASET_ID=${i} export DIRECTION="enA-hiA" export LINE_NO_START=$(((DATASET_ID-1) * 2500)) export LINE_NO_END=$((DATASET_ID * 2500)) echo ${LINE_NO_START} python fetch_dataset_s2s.py done # tokenize for i in $(seq 1 91); do export DATASET_ID=${i} export DIRECTION="enA-hiA" python tokenize_dataset_s2s.py done # speaker embedding export SE_MODEL="metavoice" export SE_MODEL="w2vbert-600m" export SE_MODEL="hubert-xl" export SE_MODEL="xlsr-2b" for i in $(seq 1 91); do export DATASET_ID=${i} export DIRECTION="enA-hiA" python attach_speaker_embedding_s2s.py done #################### # enA-viA: 740_598 # #################### # test export DATASET_ID=test export DIRECTION="enA-viA" export LINE_NO_START=0 export LINE_NO_END=10 python fetch_dataset_s2s.py # main for i in $(seq 1 149); do export N_POOL=15 export DATASET_ID=${i} export DIRECTION="enA-viA" export LINE_NO_START=$(((DATASET_ID-1) * 2500)) export LINE_NO_END=$((DATASET_ID * 2500)) echo ${LINE_NO_START} python fetch_dataset_s2s.py done # tokenize for i in $(seq 1 149); do export DATASET_ID=${i} export DIRECTION="enA-viA" python tokenize_dataset_s2s.py done # speaker embedding export SE_MODEL="metavoice" export SE_MODEL="w2vbert-600m" export SE_MODEL="hubert-xl" export SE_MODEL="xlsr-2b" for i in $(seq 1 149); do export DATASET_ID=${i} export DIRECTION="enA-viA" python attach_speaker_embedding_s2s.py done ###################### # enA-zhA: 1_289_192 # ###################### # test export DATASET_ID=test export DIRECTION="enA-zhA" export LINE_NO_START=0 export LINE_NO_END=10 python fetch_dataset_s2s.py # main for i in $(seq 1 258); do export N_POOL=15 export DATASET_ID=${i} export DIRECTION="enA-zhA" export LINE_NO_START=$(((DATASET_ID-1) * 2500)) export LINE_NO_END=$((DATASET_ID * 2500)) echo ${LINE_NO_START} python fetch_dataset_s2s.py done # tokenize for i in $(seq 1 258); do export N_POOL=15 export DATASET_ID=${i} export DIRECTION="enA-zhA" export LINE_NO_START=$(((DATASET_ID-1) * 2500)) export LINE_NO_END=$((DATASET_ID * 2500)) echo ${LINE_NO_START} python tokenize_dataset_s2s.py done # speaker embedding export SE_MODEL="metavoice" export SE_MODEL="hubert-xl" export SE_MODEL="xlsr-2b" export SE_MODEL="w2vbert-600m" for i in $(seq 14 258); do export DATASET_ID=${i} export DIRECTION="enA-zhA" python attach_speaker_embedding_s2s.py done #################### # enA-jaA: 718_606 # #################### # test export DATASET_ID=test export DIRECTION="enA-jaA" export LINE_NO_START=0 export LINE_NO_END=10 python fetch_dataset_s2s.py # main for i in $(seq 1 144); do export N_POOL=15 export DATASET_ID=${i} export DIRECTION="enA-jaA" export LINE_NO_START=$(((DATASET_ID-1) * 2500)) export LINE_NO_END=$((DATASET_ID * 2500)) echo ${LINE_NO_START} python fetch_dataset_s2s.py done # tokenize for i in $(seq 1 144); do export DATASET_ID=${i} export DIRECTION="enA-jaA" python tokenize_dataset_s2s.py done # speaker embedding export SE_MODEL="metavoice" export SE_MODEL="w2vbert-600m" export SE_MODEL="xlsr-2b" export SE_MODEL="hubert-xl" for i in $(seq 1 144); do export DATASET_ID=${i} export DIRECTION="enA-jaA" python attach_speaker_embedding_s2s.py rm -rf ~/.cache/huggingface/datasets done