tlk1997
tlk1997
您好,https://github.com/zjunlp/DeepKE/blob/main/example/ner/standard/conf/config.yaml#L13 这一行需要改为bert
可以更新下setuptools包试试 pip install --upgrade setuptools
> > 可以更新下setuptools包试试 pip install --upgrade setuptools > > 您好,第一个Traceback解决了,但是第二个“AttributeError: module 'numpy' has no attribute 'object'”仍然存在 numpy包卸载了再安装试试
You can try to Install with the latest `setup.py` file. If the installation still fails, you can set the 20 lines in setup.py to an empty list, install the source...
如果还是未能安装,可以将setup.py中的20行设置为空list后安装src中源码,再直接pip install -r requirements.txt
你好,使用提到的[关系Schema](https://github.com/zjunlp/DeepKE/blob/main/README_CNSCHEMA_CN.md#%E5%85%B3%E7%B3%BBschema)所训练的模型,在进行预测的时候,需要将data中的relation.csv也替换成cnSchema所对应的关系类型文件
感谢纠错,之后会将数据集标签区分开来后重新训练模型并上传