Commit 19b6e8bf authored by Jo Chuang's avatar Jo Chuang Committed by Facebook Github Bot
Browse files

Extract after skipping download for LM example script

Summary: Pull Request resolved: https://github.com/pytorch/fairseq/pull/538

Differential Revision: D14258736

Pulled By: myleott

fbshipit-source-id: ca16355e4c4700fc8eecf2c9374ec170bca826a4
parent 98daf039
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@ for ((i=0;i<${#URLS[@]};++i)); do
            echo "$url not successfully downloaded."
            exit -1
        fi
    fi
    if [ ${file: -4} == ".tgz" ]; then
        tar zxvf $file
    elif [ ${file: -4} == ".tar" ]; then
@@ -28,6 +29,5 @@ for ((i=0;i<${#URLS[@]};++i)); do
    elif [ ${file: -4} == ".zip" ]; then
        unzip $file
    fi
    fi
done
cd ..