Comments (5)
Hmm.
spacy.en.download should be downloading this file: https://s3-us-west-1.amazonaws.com/media.spacynlp.com/en_data_all-0.8.tgz , and the file should have a directory "ner".
Both seem true to me, and the test passed for me. Can you check that the data is ending up in the right place? It should be installed into spacy/en/data . You can find the directory of the spacy package with
python -c "import os.path; import spacy.en; print(os.path.abspath(spacy.en.__file__))"
from spacy.
I'm seeing the same issue, I checked the spacy package directory to ensure the ner folder contained the model file (it did) and ran the test above to no avail. I'm always getting an empty list of entities and an assertion error for each of the tests. FWIW I'm running 2.7 on Ubuntu
from spacy.
This should be fixed in v0.83, with new data pushed.
Run:
$ pip install --upgrade spacy
$ python -m spacy.en.download all
I'm still not 100% sure how I uploaded the broken model. Thanks for your patience.
from spacy.
Looks like it's working now. Thanks.
from spacy.
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.
from spacy.
Related Issues (20)
- Potential security issue HOT 1
- TypeError: can not serialize 'DocTransformerOutput' object HOT 3
- 'POS tagging' output is not correct HOT 2
- [mypy] Module "spacy" does not explicitly export attribute "prefer_gpu" when using --no-implicit-reexport HOT 2
- Cannot train Arabic models with a custom tokenizer HOT 3
- Vocab Issue HOT 3
- `ValueError: cannot reshape array of size ...` when loading model HOT 7
- spacy.load() on python 3.12 with vscode HOT 3
- Regex doesn't work if less than 3 characters? HOT 2
- Error Loading Spacy pickle model to gpu HOT 1
- Spacy french NER transformer based model fr_dep_news_trf not working HOT 1
- ROCm 5.7 + Spacy HOT 4
- Doc won't serialize with custom attribute HOT 1
- Install via `requirements.txt` documentation doesn't work HOT 17
- catalogue.RegistryError: [E892] Unknown function registry: 'vectors'. HOT 1
- invalid whitespace entity spans msg but no whitespace is there HOT 2
- Upgrade to spacy 3.7.2 throws Attribute error HOT 9
- Training spacy model stucking in 99% HOT 1
- displaCy: Separating Punctuations in Dependency Visualization HOT 1
- spaCy training stopping automatically in Google Colab
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spacy.