Unittest for the MultiHeadSelfAttention #50
Unanswered
vipinanandcpp
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi guys I am having issues with the unittest for the MultiHeadSelfAttention. I have attached the implementation class below along with the adaptor function (run_multihead_self_attention). My unittest function (test_multihead_self_attention) fails with 2817/3072 unmatched components between the output Tensors. Any idea where I could be going wrong with this?
adapters.py
test_model.py
attention.py
Beta Was this translation helpful? Give feedback.
All reactions