Skip to content

Commit 8039634

Browse files
committed
remove directory check in data download
1 parent b728d42 commit 8039634

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

PyTorch/LanguageModeling/BERT/scripts/data_download.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
#!/usr/bin/env bash
22
DATA_DIR=${1:-/workspace/bert/data}
33

4-
# Check running from repository root
5-
if [ ! -d .git ]; then
6-
echo "Not running from repository root! Exiting."
7-
exit 1
8-
fi
9-
104
# Download vocab files from pretrained model
115
cd vocab && python3 download_models.py && rm *.zip && rm ./*/*.ckpt.*
126

0 commit comments

Comments
 (0)