Skip to content

Installation

You can either install the model through pip:

Installation#

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

# Install a model with a specific version such as the latest one (3.5.4)
$ pip install hu_core_news_trf@https://huggingface.co/huspacy/hu_core_news_trf/resolve/v3.5.4/hu_core_news_trf-any-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.5.4)
huspacy.download("hu_core_news_trf", "3.5.4")

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