HIT-SCIR / ltp

Language Technology Platform
http://ltp.ai
4.98k stars 1.04k forks source link

AssertionError: Config has to be initialized with question_encoder and generator config #713

Closed palewithout closed 2 months ago

palewithout commented 2 months ago

似乎现在的transformers需要question_encoder 和 generator的配置项,但是之前的模型config文件中没有配置。