# Wk 1 Ex 6 softmax output is close to unit test, but not close enough

**URL:** <https://community.deeplearning.ai/t/wk-1-ex-6-softmax-output-is-close-to-unit-test-but-not-close-enough/270545>\
**Category:** NLP with Attention Models\
**Tags:** week-module-1\
**Created:** [February 8, 2023, 6:21am UTC](https://community.deeplearning.ai/t/wk-1-ex-6-softmax-output-is-close-to-unit-test-but-not-close-enough/270545 "2023-02-08T06:21:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ossi\_Pera](https://avatars.discourse-cdn.com/v4/letter/o/3d9bf3/32.png) [@Ossi\_Pera](https://community.deeplearning.ai/u/Ossi_Pera)\
**Post date:** [February 8, 2023, 6:21am UTC](https://community.deeplearning.ai/t/wk-1-ex-6-softmax-output-is-close-to-unit-test-but-not-close-enough/270545/1 "2023-02-08T06:21:48Z")

</div>

Here is the unit test output for ex 6. I probably need to show more code in order to debug this, but I don’t know if I’m allowed to publish it here.

 ![image](https://global.discourse-cdn.com/dlai/original/3X/9/5/95fd4912e8047a1a8c31a8d05b68117a33b369cb.png)

---

<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:** [February 8, 2023, 6:28am UTC](https://community.deeplearning.ai/t/wk-1-ex-6-softmax-output-is-close-to-unit-test-but-not-close-enough/270545/2 "2023-02-08T06:28:40Z")

</div>

Hi @Ossi_Pera

You are right not to post your solution code here and you are also correct that it’s hard to come up with a suggestion from this error information alone. You can [download](https://www.coursera.org/learn/probabilistic-models-in-nlp/supplement/NdPJd/how-to-download-your-notebook) your notebook and private message it to me so I could try to suggest corrections.

Cheers
