Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/marian-regression-tests.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Grundkiewicz <rgrundki@exseed.ed.ac.uk>2017-10-13 17:00:32 +0300
committerRoman Grundkiewicz <rgrundki@exseed.ed.ac.uk>2017-10-13 17:00:32 +0300
commit3c236e9c72ee1cd223c506872a072bb0e60d9f81 (patch)
tree5659e5d0cdf346893edfe2ae4090caf171c6d018 /models/download-wmt16.sh
parentabb4feb35ff60028d483312678260b86b668f3c8 (diff)
Update WMT16 tests
Diffstat (limited to 'models/download-wmt16.sh')
-rw-r--r--models/download-wmt16.sh23
1 files changed, 4 insertions, 19 deletions
diff --git a/models/download-wmt16.sh b/models/download-wmt16.sh
index 9522df1..2b7e99d 100644
--- a/models/download-wmt16.sh
+++ b/models/download-wmt16.sh
@@ -1,21 +1,6 @@
#!/bin/bash
-URL=http://data.statmt.org/rsennrich/wmt16_systems
-SRC=en
-TRG=de
-
-MODEL_FILES=(
- $URL/$SRC-$TRG/model.npz
- $URL/$SRC-$TRG/model.npz.json
- $URL/$SRC-$TRG/vocab.$SRC.json
- $URL/$SRC-$TRG/vocab.$TRG.json
- $URL/$SRC-$TRG/$SRC$TRG.bpe
- $URL/$SRC-$TRG/truecase-model.$SRC
-)
-
-mkdir -p wmt16.$SRC-$TRG
-
-for model_file in ${MODEL_FILES[@]}; do
- echo $model_file
- wget -q --no-clobber --directory-prefix wmt16.$SRC-$TRG $model_file
-done
+# Download single en-de wmt16 model
+wget -r -e robots=off -nH -np \
+ -R *ens* -R *r2l* -R index.html* \
+ http://data.statmt.org/wmt16_systems/en-de/