DialogZoo / src /serialization.sh
AnAutomaticPencil's picture
data preprocessing update
a6326c7
#!/bin/bash
DATASET="MAMS-ATSA"
TASK="ABSA"
# python DST.py "/mnt/lustre/sjtu/home/dm311/workspace/Multi-Lingual-Dialog/data/MultiLingual/universal/${DATASET}" "/mnt/lustre/sjtu/home/dm311/workspace/Multi-Lingual-Dialog/data/MultiLingual/seq-dict/DST-GoogleSimulatedDialogue-Restaurant"
# python seq2file.py "/mnt/lustre/sjtu/home/dm311/workspace/Multi-Lingual-Dialog/data/MultiLingual/seq-dict/DST-GoogleSimulatedDialogue-Restaurant" "/mnt/lustre/sjtu/home/dm311/workspace/Multi-Lingual-Dialog/data/MultiLingual/seq/DST-GoogleSimulatedDialogue-Restaurant"
# for split in `ls /mnt/lustre/sjtu/home/dm311/workspace/Multi-Lingual-Dialog/data/MultiLingual/universal/${DATASET}`; do
# python ${TASK}.py "/mnt/lustre/sjtu/home/dm311/workspace/Multi-Lingual-Dialog/data/MultiLingual/universal/${DATASET}/${split}" "/mnt/lustre/sjtu/home/dm311/workspace/Multi-Lingual-Dialog/data/MultiLingual/seq-dict/${TASK}-${DATASET}-${split}"
# python seq2file.py "/mnt/lustre/sjtu/home/dm311/workspace/Multi-Lingual-Dialog/data/MultiLingual/seq-dict/${TASK}-${DATASET}-${split}" "/mnt/lustre/sjtu/home/dm311/workspace/Multi-Lingual-Dialog/data/MultiLingual/seq/${TASK}-${DATASET}-${split}"
# done
# python SF.py "/mnt/lustre/sjtu/home/dm311/workspace/Multi-Lingual-Dialog/data/MultiLingual/universal/${DATASET}" "/mnt/lustre/sjtu/home/dm311/workspace/Multi-Lingual-Dialog/data/MultiLingual/seq-dict/T2S-${DATASET}"
# python seq2file.py "/mnt/lustre/sjtu/home/dm311/workspace/Multi-Lingual-Dialog/data/MultiLingual/seq-dict/T2S-${DATASET}" "/mnt/lustre/sjtu/home/dm311/workspace/Multi-Lingual-Dialog/data/MultiLingual/seq/T2S-${DATASET}"
python ${TASK}.py "/mnt/lustre/sjtu/home/dm311/workspace/Multi-Lingual-Dialog/data/MultiLingual/universal/MAMS/${DATASET}" "/mnt/lustre/sjtu/home/dm311/workspace/Multi-Lingual-Dialog/data/MultiLingual/seq-dict/${TASK}-${DATASET}"
python seq2file.py "/mnt/lustre/sjtu/home/dm311/workspace/Multi-Lingual-Dialog/data/MultiLingual/seq-dict/${TASK}-${DATASET}" "/mnt/lustre/sjtu/home/dm311/workspace/Multi-Lingual-Dialog/data/MultiLingual/seq/${TASK}-${DATASET}"