Skip to content

Instantly share code, notes, and snippets.

@bittlingmayer
Last active November 3, 2017 17:46
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save bittlingmayer/f6a58d1237525947d7b7f118f78139ed to your computer and use it in GitHub Desktop.
Save bittlingmayer/f6a58d1237525947d7b7f118f78139ed 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.
@bittlingmayer
Copy link
Author

The result will be something like this:

screen shot 2017-07-31 at 02 57 20

screen shot 2017-07-31 at 02 58 01

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment