https://github.com/explosion/spacy-models/releases/download/en_core_web_trf-3.1.0/en_core_web_trf-3.1.0-py3-none-any.whl (460.2 MB)
The following code was run:
!pip install snorkel spacy-nightly[transformers,cuda100] --pre
import spacy
import spacy_transformers
from spacy.cli import download
download("en_core_web_trf")
nlp = spacy.load("en_core_web_trf")
spacy.load
only loads pipelines from a package name or local path – it doesn't download anything. That only happens in the download
function/command. Under the hood, it delegates to pip install
and installs the downloaded package in your Python environment. If the same package and version is already installed, the download will be skipped.
Không có nhận xét nào:
Đăng nhận xét