JFA
#1
I have a problem downloading the model
from deeppavlov import configs, build_model
ner_model = build_model(configs.ner.ner_ontonotes_bert_mult_torch, download=True)
Traceback (most recent call last):
File "E:/ner/bert_mult.py", line 4, in <module>
ner_model = build_model(configs.ner.ner_ontonotes_bert_mult_torch, download=True)
AttributeError: 'Struct' object has no attribute 'ner_ontonotes_bert_mult_torch'
Python 3.7.9
ner_rus_bert model works fine in the current virtualenv
Ignatov
#2
Hi
What version of deeppavlov library do you use? This error occurs only if there is no such configuration file in the library.
JFA
#3
hi, thanks for the quick reply.
version 0.14.0
Ignatov
#4
Update deeppavlov to newer version: ner_ontonotes_bert_mult_torch has added in 0.16.0
JFA
#5
on windows max version 0.14.0
on linux everything is fine put the latest version and everything is fine
Thank you!!!