stanleylsx / entity_extractor_by_ner

基于Tensorflow2.3开发的NER模型,都是CRF范式,包含Bilstm(IDCNN)-CRF、Bert-Bilstm(IDCNN)-CRF、Bert-CRF,可微调预训练模型,可对抗学习,用于命名实体识别,配置后可直接运行。
393 stars 74 forks source link

无法下载模型,怎么操作呢? #26

Closed tyn513 closed 3 years ago

tyn513 commented 3 years ago

由于网络无法直接下载模型。 手动下载后报错:OSError: Error no file named ['pytorch_model.bin', 'tf_model.h5'] found in directory chinese or from_pt set to False

stanleylsx commented 3 years ago

由于网络无法直接下载模型。 手动下载后报错:OSError: Error no file named ['pytorch_model.bin', 'tf_model.h5'] found in directory chinese or from_pt set to False

文件不存在。而且你这里加载的是torch的模型?