-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
python2Packages.spacy_models: update all models to version 2.0.0 #46182
Conversation
Update the model list to those models that are compatibly with the latest spaCy version: https://github.com/explosion/spacy-models/blob/master/compatibility.json The updated model file evaluates to the following packages: python2Packages.spacy_models.de_core_news_sm python2Packages.spacy_models.en_core_web_lg python2Packages.spacy_models.en_core_web_md python2Packages.spacy_models.en_core_web_sm python2Packages.spacy_models.en_vectors_web_lg python2Packages.spacy_models.es_core_news_md python2Packages.spacy_models.es_core_news_sm python2Packages.spacy_models.fr_core_news_md python2Packages.spacy_models.fr_core_news_sm python2Packages.spacy_models.it_core_news_sm python2Packages.spacy_models.nl_core_news_sm python2Packages.spacy_models.pt_core_news_sm python2Packages.spacy_models.xx_ent_wiki_sm python3Packages.spacy_models.de_core_news_sm python3Packages.spacy_models.en_core_web_lg python3Packages.spacy_models.en_core_web_md python3Packages.spacy_models.en_core_web_sm python3Packages.spacy_models.en_vectors_web_lg python3Packages.spacy_models.es_core_news_md python3Packages.spacy_models.es_core_news_sm python3Packages.spacy_models.fr_core_news_md python3Packages.spacy_models.fr_core_news_sm python3Packages.spacy_models.it_core_news_sm python3Packages.spacy_models.nl_core_news_sm python3Packages.spacy_models.pt_core_news_sm python3Packages.spacy_models.xx_ent_wiki_sm
Zero rebuilds - does that look correct? Aren't these models used by any package? |
I am not the maintainer/author, but I think the idea was that these models are too large to include as a dependency to e.g. spaCy. So, you install spaCy and then install the specific models that you need. |
@GrahamcOfBorg build python2Packages.spacy_models.en_core_web_lg python3Packages.spacy_models.en_core_web_lg |
Success on x86_64-linux (full log) Attempted: python2Packages.spacy_models.en_core_web_lg, python3Packages.spacy_models.en_core_web_lg Partial log (click to expand)
|
Failure on aarch64-linux (full log) Attempted: python2Packages.spacy_models.en_core_web_lg, python3Packages.spacy_models.en_core_web_lg Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: python2Packages.spacy_models.en_core_web_lg, python3Packages.spacy_models.en_core_web_lg Partial log (click to expand)
|
) Update the model list to those models that are compatibly with the latest spaCy version: https://github.com/explosion/spacy-models/blob/master/compatibility.json The updated model file evaluates to the following packages: python2Packages.spacy_models.de_core_news_sm python2Packages.spacy_models.en_core_web_lg python2Packages.spacy_models.en_core_web_md python2Packages.spacy_models.en_core_web_sm python2Packages.spacy_models.en_vectors_web_lg python2Packages.spacy_models.es_core_news_md python2Packages.spacy_models.es_core_news_sm python2Packages.spacy_models.fr_core_news_md python2Packages.spacy_models.fr_core_news_sm python2Packages.spacy_models.it_core_news_sm python2Packages.spacy_models.nl_core_news_sm python2Packages.spacy_models.pt_core_news_sm python2Packages.spacy_models.xx_ent_wiki_sm python3Packages.spacy_models.de_core_news_sm python3Packages.spacy_models.en_core_web_lg python3Packages.spacy_models.en_core_web_md python3Packages.spacy_models.en_core_web_sm python3Packages.spacy_models.en_vectors_web_lg python3Packages.spacy_models.es_core_news_md python3Packages.spacy_models.es_core_news_sm python3Packages.spacy_models.fr_core_news_md python3Packages.spacy_models.fr_core_news_sm python3Packages.spacy_models.it_core_news_sm python3Packages.spacy_models.nl_core_news_sm python3Packages.spacy_models.pt_core_news_sm python3Packages.spacy_models.xx_ent_wiki_sm (cherry picked from commit d261df5)
Backported: 4f475fe |
Motivation for this change
Update the model list to those models that are compatibly with the
latest spaCy version:
https://github.com/explosion/spacy-models/blob/master/compatibility.json
Tested loading and running one of the models to annotate some text.
The updated model file evaluates to the following packages:
python2Packages.spacy_models.de_core_news_sm
python2Packages.spacy_models.en_core_web_lg
python2Packages.spacy_models.en_core_web_md
python2Packages.spacy_models.en_core_web_sm
python2Packages.spacy_models.en_vectors_web_lg
python2Packages.spacy_models.es_core_news_md
python2Packages.spacy_models.es_core_news_sm
python2Packages.spacy_models.fr_core_news_md
python2Packages.spacy_models.fr_core_news_sm
python2Packages.spacy_models.it_core_news_sm
python2Packages.spacy_models.nl_core_news_sm
python2Packages.spacy_models.pt_core_news_sm
python2Packages.spacy_models.xx_ent_wiki_sm
python3Packages.spacy_models.de_core_news_sm
python3Packages.spacy_models.en_core_web_lg
python3Packages.spacy_models.en_core_web_md
python3Packages.spacy_models.en_core_web_sm
python3Packages.spacy_models.en_vectors_web_lg
python3Packages.spacy_models.es_core_news_md
python3Packages.spacy_models.es_core_news_sm
python3Packages.spacy_models.fr_core_news_md
python3Packages.spacy_models.fr_core_news_sm
python3Packages.spacy_models.it_core_news_sm
python3Packages.spacy_models.nl_core_news_sm
python3Packages.spacy_models.pt_core_news_sm
python3Packages.spacy_models.xx_ent_wiki_sm
ZHF #45960
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)