{"action":"opened","issue":{"url":"https://api.github.com/repos/explosion/spaCy/issues/2995","repository_url":"https://api.github.com/repos/explosion/spaCy","labels_url":"https://api.github.com/repos/explosion/spaCy/issues/2995/labels{/name}","comments_url":"https://api.github.com/repos/explosion/spaCy/issues/2995/comments","events_url":"https://api.github.com/repos/explosion/spaCy/issues/2995/events","html_url":"https://github.com/explosion/spaCy/issues/2995","id":386237381,"node_id":"MDU6SXNzdWUzODYyMzczODE=","number":2995,"title":"ValueError: 2539520 exceeds max_bin_len(1048576) when uses spacy.load()","user":{"login":"RochaOwng","id":27255269,"node_id":"MDQ6VXNlcjI3MjU1MjY5","avatar_url":"https://avatars3.githubusercontent.com/u/27255269?v=4","gravatar_id":"","url":"https://api.github.com/users/RochaOwng","html_url":"https://github.com/RochaOwng","followers_url":"https://api.github.com/users/RochaOwng/followers","following_url":"https://api.github.com/users/RochaOwng/following{/other_user}","gists_url":"https://api.github.com/users/RochaOwng/gists{/gist_id}","starred_url":"https://api.github.com/users/RochaOwng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RochaOwng/subscriptions","organizations_url":"https://api.github.com/users/RochaOwng/orgs","repos_url":"https://api.github.com/users/RochaOwng/repos","events_url":"https://api.github.com/users/RochaOwng/events{/privacy}","received_events_url":"https://api.github.com/users/RochaOwng/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-30T15:37:35Z","updated_at":"2018-11-30T15:37:35Z","closed_at":null,"author_association":"NONE","body":"Hi, I'm new with spaCy.\r\n\r\nSo, I've tried a little script to understand how it works:\r\n\r\n```\r\nimport spacy\r\n\r\nnlp = spacy.load('pt')\r\n```\r\n\r\nI've already have installed spacy (with pip and conda), using python3.6, and already downloaded the portuguese model, but I'm getting this following error:\r\n\r\nTraceback (most recent call last):\r\n  File \"C:/Users/rocha/PycharmProjects/projeto/entidade.py\", line 4, in <module>\r\n    nlp = spacy.load('pt')\r\n  File \"C:\\Users\\rocha\\Anaconda3\\lib\\site-packages\\spacy\\__init__.py\", line 18, in load\r\n    return util.load_model(name, **overrides)\r\n  File \"C:\\Users\\rocha\\Anaconda3\\lib\\site-packages\\spacy\\util.py\", line 112, in load_model\r\n    return load_model_from_link(name, **overrides)\r\n  File \"C:\\Users\\rocha\\Anaconda3\\lib\\site-packages\\spacy\\util.py\", line 129, in load_model_from_link\r\n    return cls.load(**overrides)\r\n  File \"C:\\Users\\rocha\\Anaconda3\\lib\\site-packages\\spacy\\data\\pt\\__init__.py\", line 12, in load\r\n    return load_model_from_init_py(__file__, **overrides)\r\n  File \"C:\\Users\\rocha\\Anaconda3\\lib\\site-packages\\spacy\\util.py\", line 173, in load_model_from_init_py\r\n    return load_model_from_path(data_path, meta, **overrides)\r\n  File \"C:\\Users\\rocha\\Anaconda3\\lib\\site-packages\\spacy\\util.py\", line 156, in load_model_from_path\r\n    return nlp.from_disk(model_path)\r\n  File \"C:\\Users\\rocha\\Anaconda3\\lib\\site-packages\\spacy\\language.py\", line 647, in from_disk\r\n    util.from_disk(path, deserializers, exclude)\r\n  File \"C:\\Users\\rocha\\Anaconda3\\lib\\site-packages\\spacy\\util.py\", line 511, in from_disk\r\n    reader(path / key)\r\n  File \"C:\\Users\\rocha\\Anaconda3\\lib\\site-packages\\spacy\\language.py\", line 643, in <lambda>\r\n    deserializers[name] = lambda p, proc=proc: proc.from_disk(p, vocab=False)\r\n  File \"pipeline.pyx\", line 643, in spacy.pipeline.Tagger.from_disk\r\n  File \"C:\\Users\\rocha\\Anaconda3\\lib\\site-packages\\spacy\\util.py\", line 511, in from_disk\r\n    reader(path / key)\r\n  File \"pipeline.pyx\", line 626, in spacy.pipeline.Tagger.from_disk.load_model\r\n  File \"pipeline.pyx\", line 627, in spacy.pipeline.Tagger.from_disk.load_model\r\n  File \"C:\\Users\\rocha\\Anaconda3\\lib\\site-packages\\thinc\\neural\\_classes\\model.py\", line 335, in from_bytes\r\n    data = msgpack.loads(bytes_data, encoding='utf8')\r\n  File \"C:\\Users\\rocha\\Anaconda3\\lib\\site-packages\\msgpack_numpy.py\", line 214, in unpackb\r\n    return _unpackb(packed, **kwargs)\r\n  File \"msgpack\\_unpacker.pyx\", line 187, in msgpack._cmsgpack.unpackb\r\n**ValueError: 2539520 exceeds max_bin_len(1048576)**\r\n\r\nAnyone can help?"}}
{"actor":{"display_login":"RochaOwng"}}