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

cannot import name 'DotProductMatrixAttention' #18

Closed
mengyahuUSTC-PU opened this issue May 25, 2020 · 2 comments
Closed

cannot import name 'DotProductMatrixAttention' #18

mengyahuUSTC-PU opened this issue May 25, 2020 · 2 comments

Comments

@mengyahuUSTC-PU
Copy link

Hi all,

I followed steps in the readme. I installed the environment and am trying to run the baseline. However, I got the above error for ' from allennlp.modules.matrix_attention import DotProductMatrixAttention'. The version of allennlp in yml is 0.4.0, but I checked the sources code: there is no DotProductMatrixAttention in the matrix_attention.py.

Any help would be appreciated. Thanks!

Mia

@sleepinyourhat
Copy link
Contributor

@W4ngatang might know more.

That said, I'd urge you to consider jiant. As the note in the readme says, this wasn't really meant to be extensible, and we aren't offering much documentation/support. jiant is the fully-supported offshoot of this codebase.

@mengyahuUSTC-PU
Copy link
Author

Thanks for the reply, Sam! Yes, I just moved to jiant. No need to address my questions here if you do not have time.

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

2 participants