-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
better README, also added download links for trained models
- Loading branch information
Showing
12 changed files
with
303 additions
and
133 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#!/usr/bin/env bash | ||
ME=`basename $0` # for usage message | ||
|
||
if [[ "$#" -ne 5 ]]; then # number of args | ||
echo "USAGE: ${ME} <ftrain> <ftest> <seed> <vocabfile> <aligned_file>" | ||
exit | ||
fi | ||
ftrain=$1 | ||
ftest=$2 | ||
seed=$3 | ||
vocabfile=$4 | ||
aligned_file=$5 | ||
|
||
time python -m seq2seq.prepare_data \ | ||
--ftrain ${ftrain} \ | ||
--ftest ${ftest} \ | ||
--vocabfile ${vocabfile} \ | ||
--aligned_file ${aligned_file} \ | ||
--seed ${seed} | ||
|
||
|
||
|
||
|
||
|
||
if [[ $? == 0 ]] # success | ||
then | ||
: # do nothing | ||
else # something went wrong | ||
echo "SOME PROBLEM OCCURED"; # echo file with problems | ||
fi |
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 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 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
Oops, something went wrong.