RuntimeError: Error(s) in loading state_dict for LM
Describe the bug
A clear and concise description of what the bug is.
运行example triple predict.py 抽取关系报错
Environment (please complete the following information):
- OS: [linux]
- Python Version [e.g. 3.10]
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
请检查是否使用了正确的模型checkpoint
请检查是否使用了正确的模型checkpoint
使用re_bert.pth和re_roberta.pth都会报错
请检查是否使用了正确的模型checkpoint
Google drive的模型是错误的,我下载了百度云盘的可以使用。
请检查是否使用了正确的模型checkpoint
Google drive的模型是错误的,我下载了百度云盘的可以使用。
可以先使用百度云盘模型,Google drive上会尽快同步
请检查是否使用了正确的模型checkpoint
Google drive的模型是错误的,我下载了百度云盘的可以使用。
可以先使用百度云盘模型,Google drive上会尽快同步
好的,谢谢
