Dependency inconsistencies for the `ner_collection3_bert` model
Author: TopCoder2KCreated Mar 25, 2026Updated Mar 25, 2026
Labelsbug
DeepPavlov version: 1.7.0
Python version: 3.10
Operating system: MacOS 26.3.1
Issue:
First of all, I want to note that this model is not compatible with Python 3.11 since it requires torch <1.14.0. But okey, I turned to Python 3.10 and successfully installed all dependencies. When I tried to instantiate a model, I got
TypeError: hf_hub_download() got an unexpected keyword argument 'use_auth_token'It seems huggingface-hub should be upper cupped with 1.0 (I have 1.4.1). This fixes the problem.
Content or a name of a configuration file: ner_collection3_bert
Command that led to error:
from deeppavlov import build_model
ner_model_ru = build_model("ner_collection3_bert", download=True)Error (including full traceback)
I do not want to paste the full traceback. I will do this only if there are problems with the reproducibility of the bug.
Source: deeppavlov/DeepPavlov