Skip to content
New issue

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

Traceback (most recent call last): File "E:\mydemo\myLlama-2\myTreebank\mybiaffineparser\predict.py", line 86, in <module> S_arc, S_lab = model(words, tags) File "D:\anaconda3\envs\pytorch18\lib\site-packages\torch\nn\modules\module.py", line 889, in _call_impl result = self.forward(*input, **kwargs) File "E:\mydemo\myLlama-2\myTreebank\mybiaffineparser\model.py", line 43, in forward words = kwargs['words'] KeyError: 'words' Process finished with exit code 1 #2

Open
KangChou opened this issue Sep 5, 2023 · 0 comments

Comments

@KangChou
Copy link

KangChou commented Sep 5, 2023

Traceback (most recent call last):
File "E:\mydemo\myLlama-2\myTreebank\mybiaffineparser\predict.py", line 86, in
S_arc, S_lab = model(words, tags)
File "D:\anaconda3\envs\pytorch18\lib\site-packages\torch\nn\modules\module.py", line 889, in _call_impl
result = self.forward(*input, **kwargs)
File "E:\mydemo\myLlama-2\myTreebank\mybiaffineparser\model.py", line 43, in forward
words = kwargs['words']
KeyError: 'words'

Process finished with exit code 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant