Created
September 15, 2020 18:58
-
-
Save sshleifer/35ef1ef5c100255f365dce08d602f9f1 to your computer and use it in GitHub Desktop.
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
export b="s3://models.huggingface.co/bert" | |
stas_to_fb () { | |
src=$1 | |
shift | |
aws s3 sync $b/stas/$src $b/facebook/$src $@ | |
} | |
stas_to_allenai () { | |
src=$1 | |
shift | |
aws s3 sync $b/stas/$src $b/allenai/$src $@ | |
} | |
stas_to_fb wmt19-en-ru | |
stas_to_fb wmt19-ru-en | |
stas_to_fb wmt19-en-de | |
stas_to_fb wmt19-de-en | |
stas_to_allenai wmt16-en-de-dist-12-1 --dryrun | |
stas_to_allenai wmt16-en-de-dist-12-1 | |
stas_to_allenai wmt16-en-de-dist-6-1 | |
stas_to_allenai wmt16-en-de-6-1 | |
stas_to_allenai wmt16-en-de-12-1 | |
stas_to_allenai wmt19-de-en-6-6-base | |
stas_to_allenai wmt19-de-en-6-6-big |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
TIL how to write a for loop!