NLP with Sequence Models W3 in the Final Coding Assignment

Topic: In the second excercise of w3 final coding assignment , i am getting loss 2.2 but the excepted value is 0.7 , and therefore my test casses are failing , please help me fix it

hi @Sambhav0000

Please refer these post comments to resolve your issue, in case you are still not able to resolve with those hints then let me know

Solution 1

Solution 2

Solution 3

Solution 4

good luck debugging!

Regards
DP