mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
Temporarily use v3.1.0 models in CI
This commit is contained in:
parent
8a018f5207
commit
bd6433bbab
7
.github/azure-steps.yml
vendored
7
.github/azure-steps.yml
vendored
|
@ -61,8 +61,11 @@ steps:
|
|||
condition: eq(${{ parameters.gpu }}, true)
|
||||
|
||||
- script: |
|
||||
python -m spacy download ca_core_news_sm
|
||||
python -m spacy download ca_core_news_md
|
||||
#python -m spacy download ca_core_news_sm
|
||||
#python -m spacy download ca_core_news_md
|
||||
# temporarily install the v3.1.0 models
|
||||
pip install --no-deps https://github.com/explosion/spacy-models/releases/download/ca_core_news_sm-3.1.0/ca_core_news_sm-3.1.0-py3-none-any.whl
|
||||
pip install --no-deps https://github.com/explosion/spacy-models/releases/download/ca_core_news_md-3.1.0/ca_core_news_md-3.1.0-py3-none-any.whl
|
||||
python -c "import spacy; nlp=spacy.load('ca_core_news_sm'); doc=nlp('test')"
|
||||
displayName: 'Test download CLI'
|
||||
condition: eq(variables['python_version'], '3.8')
|
||||
|
|
Loading…
Reference in New Issue
Block a user