{"action":"created","issue":{"url":"https://api.github.com/repos/explosion/spaCy/issues/308","repository_url":"https://api.github.com/repos/explosion/spaCy","labels_url":"https://api.github.com/repos/explosion/spaCy/issues/308/labels{/name}","comments_url":"https://api.github.com/repos/explosion/spaCy/issues/308/comments","events_url":"https://api.github.com/repos/explosion/spaCy/issues/308/events","html_url":"https://github.com/explosion/spaCy/issues/308","id":143350645,"number":308,"title":"Deploying to Heroku","user":{"login":"vijayv","id":2006322,"avatar_url":"https://avatars3.githubusercontent.com/u/2006322?v=4","gravatar_id":"","url":"https://api.github.com/users/vijayv","html_url":"https://github.com/vijayv","followers_url":"https://api.github.com/users/vijayv/followers","following_url":"https://api.github.com/users/vijayv/following{/other_user}","gists_url":"https://api.github.com/users/vijayv/gists{/gist_id}","starred_url":"https://api.github.com/users/vijayv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vijayv/subscriptions","organizations_url":"https://api.github.com/users/vijayv/orgs","repos_url":"https://api.github.com/users/vijayv/repos","events_url":"https://api.github.com/users/vijayv/events{/privacy}","received_events_url":"https://api.github.com/users/vijayv/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-03-24T20:25:52Z","updated_at":"2017-08-08T16:21:07Z","closed_at":"2016-03-25T03:15:43Z","body":"Is it possible to download the data from running spacy.en.download in a particular directory and have spacy use that directory? Would it be bad practice to commit this data to source control?\n### Background Info:\n\nWe are deploying an application to Heroku that relies on Spacy for some NLP work. We are having some trouble getting Spacy to work properly once it is deployed to Heroku because the Spacy data needs to be downloaded. We have tried logging into bash on Heroku by running `heroku run bash` and then running `python -m spacy.en.download all` from the remote machine. We tested that this actually installed the data by running a python interpreter and we are able to instantiate `English()` properly. However, when we use our web app it fails. Heroku logs show that it is failing because Spacy throws an exception saying that we should run `python -m spacy.en.download`.\n"},"comment":{"url":"https://api.github.com/repos/explosion/spaCy/issues/comments/321007348","html_url":"https://github.com/explosion/spaCy/issues/308#issuecomment-321007348","issue_url":"https://api.github.com/repos/explosion/spaCy/issues/308","id":321007348,"user":{"login":"honnibal","id":8059750,"avatar_url":"https://avatars3.githubusercontent.com/u/8059750?v=4","gravatar_id":"","url":"https://api.github.com/users/honnibal","html_url":"https://github.com/honnibal","followers_url":"https://api.github.com/users/honnibal/followers","following_url":"https://api.github.com/users/honnibal/following{/other_user}","gists_url":"https://api.github.com/users/honnibal/gists{/gist_id}","starred_url":"https://api.github.com/users/honnibal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/honnibal/subscriptions","organizations_url":"https://api.github.com/users/honnibal/orgs","repos_url":"https://api.github.com/users/honnibal/repos","events_url":"https://api.github.com/users/honnibal/events{/privacy}","received_events_url":"https://api.github.com/users/honnibal/received_events","type":"User","site_admin":false},"created_at":"2017-08-08T16:21:07Z","updated_at":"2017-08-08T16:21:07Z","body":"In v1.8 the `en_core_web_sm` is 50mb to download, while the full model is 500mb. v2 cuts the model down to 15mb, and uses the context to help assign vectors, so the word vectors table is very small. You can install v2 with `pip install spacy-nightly`"}}
{"actor":{"display_login":"honnibal"}}