Skip to content

Installation

You can either install the model through pip:

Installation#

# Install the latest model (3.7.1)
$ pip install hu_core_news_trf@https://huggingface.co/huspacy/hu_core_news_trf/resolve/v3.7.1/hu_core_news_trf-3.7.1-py3-none-any.whl

# or, using uv
$ uv add https://huggingface.co/huspacy/hu_core_news_trf/resolve/v3.7.1/hu_core_news_trf-3.7.1-py3-none-any.whl

or by using huspacy's built-in facilities:

import huspacy

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

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

Available model versions: 3.2.0, 3.2.1, 3.2.2, 3.2.3, 3.2.4, 3.4.0, 3.5.1, 3.5.2, 3.5.3, 3.5.4, 3.7.0, 3.7.1

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