Support spaCy 3.0
See original GitHub issuespaCy was upgraded to 3.0 this week and it appears the current version of scispacy is incompatible. I see there is a spacy3 branch and #295 appears to be a WIP on the upgrade.
Looks like a big pull on the move to 3.0. Do you have an idea on the timeline for the upgrade? Thank you for putting this project out there!
Here is the stack using a Python 3.8 virtualenv with spacy 3.0.1 and en_core_sci_md 0.3.0 installed.
>>> import en_core_sci_md
/tmp/test/lib/python3.8/site-packages/spacy/util.py:715: UserWarning: [W094] Model 'en_core_sci_md' (0.3.0)
specifies an under-constrained spaCy version requirement: >=2.3.1. This can lead to compatibility problems with
older versions, or as new spaCy versions are released, because the model may say it's compatible when it's not.
Consider changing the "spacy_version" in your meta.json to a version range, with a lower and upper pin.
For example: >=3.0.1,<3.1.0
warnings.warn(warn_msg)
>>> en_core_sci_md.load()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/tmp/test/lib/python3.8/site-packages/en_core_sci_md/__init__.py", line 10, in load
nlp = load_model_from_init_py(__file__, **overrides)
File "/tmp/test/lib/python3.8/site-packages/spacy/util.py", line 514, in load_model_from_init_py
return load_model_from_path(
File "/tmp/test/lib/python3.8/site-packages/spacy/util.py", line 388, in load_model_from_path
config = load_config(config_path, overrides=dict_to_dot(config))
File "/tmp/test/lib/python3.8/site-packages/spacy/util.py", line 545, in load_config
raise IOError(Errors.E053.format(path=config_path, name="config.cfg"))
OSError: [E053] Could not read config.cfg from /tmp/test/lib/python3.8/site-packages/en_core_sci_md/
en_core_sci_md-0.3.0/config.cfg
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:8
Top Results From Across the Web
What's New in v3.0 · spaCy Usage Documentation
spaCy's transformer support interoperates with PyTorch and the HuggingFace transformers library, giving you access to thousands of pretrained models for your ...
Read more >Introducing spaCy v3.0 - Explosion AI
spaCy v3.0 is a huge release! It features new transformer-based pipelines that get spaCy's accuracy right up to the current state-of-the-art ...
Read more >Getting Started with NLP with spaCy 3.0 - Towards Data Science
spaCy is an industrial grade NLP package. It's fast ( written in C, with language bindings for Python ); It's production grade; Supported...
Read more >Rasa Open Source Now Supports spaCy 3.0
In February this year, spaCy 3.0 was released. This was a major release with many new features, including new pre-trained models.
Read more >spacy - PyPI
spaCy comes with pretrained pipelines and currently supports tokenization and ... from path or URL pip install /Users/you/en_core_web_sm-3.0.0.tar.gz pip ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Release released!
Slightly premature closing. We’ve uploaded new models that are compatible with master (and spacy 3), but haven’t quite done a release yet. If you need it urgently, you should be able to use master and the new models. Otherwise, we should be doing a release sometime in the next week or so.