nyu-mll / GLUE-baselines

[DEPRECATED] Repo for exploring multi-task learning approaches to learning sentence representations
https://gluebenchmark.com
760 stars 166 forks source link

cannot import name 'DotProductMatrixAttention' #18

Closed mengyahuUSTC-PU closed 4 years ago

mengyahuUSTC-PU commented 4 years ago

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 commented 4 years ago

@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 commented 4 years ago

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