zjunlp / OpenUE

[EMNLP 2020] OpenUE: An Open Toolkit of Universal Extraction from Text
http://openue.zjukg.org
MIT License
321 stars 61 forks source link

colab无法做验证模型 #20

Closed pxlsdz closed 2 years ago

pxlsdz commented 2 years ago

image 您好,问一下 ske.ipynb 的验证模块在colab怎么不行?出现上述错误。

CheaSim commented 2 years ago

验证模块需要在infer.yaml配置文件中设置ner_modelseq_model,分别对应训练好的命名实体识别模块保存路径和关系分类识别模块。

ner_model_name_or_path: ner_model # path 
seq_model_name_or_path: seq_model # path