tlk1997

Results comments of tlk1997

感谢提议,如需得到你想要的结果,可在https://github.com/zjunlp/DeepKE/blob/main/src/deepke/attribution_extraction/standard/tools/trainer.py 中增加代码来计算每一种属性的得分

What is wrong? And you can try to use source code .

重新试试,或者pip换一个镜像源

如果是通过pip install deepke方式导入,更新deepke包到最新版本

WARNING: The repository located at mirrors.aliyun.com is not a trusted or secure host and is being ignored. If this repository is available via HTTPS we recommend you use HTTPS instead,...

你可先自己导入这个包,我们后续会在依赖中加上这个包

可在这https://github.com/zjunlp/DeepKE/blob/main/src/deepke/relation_extraction/standard/tools/trainer.py 添加相关代码

如果要修改后使用代码,不能使用pip包导入。可换成python setup.py install方式导入

你好,可以检查一下transformers的版本是否为3.4.0

3090显卡上torch1.5的版本过低了,可以试试1.10哈