Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URL of spacy.en model #711

Closed
wyysfzj opened this issue Dec 28, 2016 · 5 comments
Closed

URL of spacy.en model #711

wyysfzj opened this issue Dec 28, 2016 · 5 comments
Labels
install Installation issues

Comments

@wyysfzj
Copy link

wyysfzj commented Dec 28, 2016

Since our server which used to locate spacy have no internet access, we downloaded the spacy-1.4.0.tar.gz from PIP site firstly, and the install. Now we have to download spacy.en model file separately, and then install.

However, we cannot find the URL of spacy.en model for downloading separately.

would you please advise the URL of spacy.en model which can download separately?

@honnibal honnibal added the install Installation issues label Dec 30, 2016
@ines ines added the 🌙 nightly Discussion and contributions related to nightly builds label Jan 8, 2017
@xushenkun
Copy link

@davidolsen1994
Copy link

Now how to link this to the spacy-master ?

@ines
Copy link
Member

ines commented Feb 16, 2017

After trying out different solutions, we decided to simply attach the models as archive files to the latest release. The files are still quite large (between 500 and ~700MB), but they can now be downloaded via the browser. The English and German models are already uploaded and I'm currently waiting for the GloVe vectors to finish (which is the largest file).

➡️ https://github.com/explosion/spaCy/releases/tag/v1.6.0

Here's how to install the models manually:

  1. Find the default data path. Use spacy.util.get_data_path() to find the directory where spaCy will look for its models, or change the default data path with spacy.util.set_data_path().
  2. Unpack the archive and place the contained folder in that directory.
  3. Load the model via spacy.load('en') or spacy.load('de').

cc: @wyysfzj, @xushenkun, @davidolsen1994

@ines ines closed this as completed Feb 16, 2017
@ines ines modified the milestone: v1.7.0 Mar 18, 2017
@ines ines removed the 🌙 nightly Discussion and contributions related to nightly builds label May 7, 2017
@awestley
Copy link

awestley commented May 26, 2017

I just want to add to the steps @ines and mention: spacy.util.get_package() as a way to load the model from a directory.

So it would be like spacy.util.get_package('PATH to archive')

@lock
Copy link

lock bot commented May 8, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators May 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
install Installation issues
Projects
None yet
Development

No branches or pull requests

6 participants