Skip to content

Installation

You can either install the model through pip:

Installation#

# Install the latest model (3.5.2)
$ pip install hu_core_news_trf_xl@https://huggingface.co/huspacy/hu_core_news_trf_xl/resolve/main/hu_core_news_trf_xl-3.5.2-py3-none-any.whl

# or, using uv
$ uv add https://huggingface.co/huspacy/hu_core_news_trf_xl/resolve/main/hu_core_news_trf_xl-3.5.2-py3-none-any.whl

or by using huspacy's built-in facilities:

import huspacy

# Install the latest model
huspacy.download("hu_core_news_trf_xl")

# Install a model with a specific version such as the latest one (3.5.2)
huspacy.download("hu_core_news_trf_xl", "3.5.2")

Available model versions: 3.4.0, 3.5.1, 3.5.2

Note: wheels released before 3.5.2 use the legacy -any-py3-none-any.whl filename, which pip>=25.3 and uv refuse to install.