# Transformers Programming Assignment DecoderLayer self.mha2 invoice issue

**URL:** <https://community.deeplearning.ai/t/transformers-programming-assignment-decoderlayer-self-mha2-invoice-issue/488588>\
**Category:** NLP with Attention Models\
**Tags:** week-module-2\
**Created:** [November 7, 2023, 5:47pm UTC](https://community.deeplearning.ai/t/transformers-programming-assignment-decoderlayer-self-mha2-invoice-issue/488588 "2023-11-07T17:47:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![b.niranjanrao](https://avatars.discourse-cdn.com/v4/letter/b/919ad9/32.png) [@b.niranjanrao](https://community.deeplearning.ai/u/b.niranjanrao)\
**Post date:** [November 7, 2023, 5:47pm UTC](https://community.deeplearning.ai/t/transformers-programming-assignment-decoderlayer-self-mha2-invoice-issue/488588/1 "2023-11-07T17:47:13Z")

</div>

Hi There,

I am facing issue with class DecoderLayer self.mha2 invoke issue. I am getting error: “AssertionError: Wrong values in attn\_w\_b2. Check the call to self.mha2” does any one has faced this issue. Kindly please help me on this.

Thanks  
Niranjan

---

<div class="post-metadata">

**Author:** ![arvyzukai](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/arvyzukai/32/165165_2.png) [@arvyzukai](https://community.deeplearning.ai/u/arvyzukai)\
**Post date:** [November 8, 2023, 7:26am UTC](https://community.deeplearning.ai/t/transformers-programming-assignment-decoderlayer-self-mha2-invoice-issue/488588/2 "2023-11-08T07:26:51Z")

</div>

Hi @b.niranjanrao

Are you posting this question in a correct category? Because there is no transformers in NLP Specialization for that week. You posted in:

- Natural Language Processing → NLP with Sequence Models → Week 3 NLP with Sequence Models

Please make sure you post in the right category to get the right people’s attention.

Cheers
