Skip to content

Instantly share code, notes, and snippets.

@gembin
Forked from bittlingmayer/download.sh
Created November 3, 2017 17:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gembin/5d918f3bba8d222b7e58b57e017a3b92 to your computer and use it in GitHub Desktop.
Save gembin/5d918f3bba8d222b7e58b57e017a3b92 to your computer and use it in GitHub Desktop.
Download fastText pre-trained models for many languages [moved to ftio/wiki/download.sh - pip install ftio / https://github.com/SignalN/ftio]
# See https://github.com/facebookresearch/fastText/blob/master/pretrained-vectors.md
for (( i=1; i<=$#; i++ )); do
wget -c "https://s3-us-west-1.amazonaws.com/fasttext-vectors/wiki.${!i}.zip"
done
# For example:
# ./download.sh bg el ka hy ru fa es fr de it pt ar tr pl ko
# If stopped it will not re-start automatically, but if re-started it will continue from where it stopped.
# Tested on macOS Sierra only.
# Remember to check if there is enough disk space - they are about 4GB each.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment