We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
数据集的格式和Parsing功能的格式一致,并且Parsing微调能够正常使用,但是POS微调报错: TypeError: CharModel.forward() missing 4 required positional arguments: 'chars', 'seq_len', 'task_class', and 'target' 希望得到大佬的解答
The text was updated successfully, but these errors were encountered:
遇到同样的问题,不知道是不是因为不是2.x的模型
Sorry, something went wrong.
我感觉是的,这个问题应该已经解决过了,现在我们只能用1.x版本,我尝试过自己解决这个问题,但是我太菜了还没有成功
问题已解决:在fasthan的finetune_dataloder.py的第120行后加入dataset.set_input('chars', 'target', 'seq_len', 'task_class') dataset.set_target('target', 'seq_len')即可运行
No branches or pull requests
数据集的格式和Parsing功能的格式一致,并且Parsing微调能够正常使用,但是POS微调报错:
TypeError: CharModel.forward() missing 4 required positional arguments: 'chars', 'seq_len', 'task_class', and 'target'
希望得到大佬的解答
The text was updated successfully, but these errors were encountered: