Installation#
To get started using the tool, first, we need to download one of the models. The easiest way to achieve this is to install huspacy
(from PyPI) and then fetch a model through its API.
Install the models directly#
You can install the latest models directly from 🤗 Hugging Face Hub:
- CPU optimized large model:
pip install https://huggingface.co/huspacy/hu_core_news_lg/resolve/main/hu_core_news_lg-any-py3-none-any.whl
- GPU optimized transformers model:
pip install https://huggingface.co/huspacy/hu_core_news_trf/resolve/main/hu_core_news_trf-any-py3-none-any.whl
To speed up inference on GPU, CUDA must be installed as described in https://spacy.io/usage.
Read more on the models here
Last update:
January 3, 2024