-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
batch implementation and model checkpoints updated
- Loading branch information
Showing
11 changed files
with
70,306 additions
and
214 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
""" | ||
#!/usr/bin/env python3 -u | ||
# Copyright (c) 2017-present, Facebook, Inc. | ||
# All rights reserved. | ||
# | ||
# This source code is licensed under the license found in the LICENSE file in | ||
# the root directory of this source tree. An additional grant of patent rights | ||
# can be found in the PATENTS file in the same directory. | ||
""" | ||
|
||
mkdir data | ||
|
||
# WMT16 EN-RO | ||
cd data | ||
mkdir wmt16.en-ro | ||
cd wmt16.en-ro | ||
gdown https://drive.google.com/uc?id=1YrAwCEuktG-iDVxtEW-FE72uFTLc5QMl | ||
tar -zxvf wmt16.tar.gz | ||
mv wmt16/en-ro/train/corpus.bpe.en train.en | ||
mv wmt16/en-ro/train/corpus.bpe.ro train.ro | ||
mv wmt16/en-ro/dev/dev.bpe.en valid.en | ||
mv wmt16/en-ro/dev/dev.bpe.ro valid.ro | ||
mv wmt16/en-ro/test/test.bpe.en test.en | ||
mv wmt16/en-ro/test/test.bpe.ro test.ro | ||
rm wmt16.tar.gz | ||
rm -r wmt16 |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.