W1 C4 - predict_tweet produces slightly different output

My code passed all unit tests until C4. I get slightly different values for some reason:
I am happy → 0.519245 I am bad → 0.494419 this movie should have been great. → 0.515973 great → 0.516040 great great → 0.532048 great great great → 0.547989 great great great great → 0.563833

Expected Output:

I am happy -> 0.519275
I am bad -> 0.494347
this movie should have been great. -> 0.515979
great -> 0.516065
great great -> 0.532096
great great great -> 0.548062
great great great great -> 0.563929

Wrong predicted values.
Expected: [[0.5192746]].
Got: [[0.51924547]].
Wrong predicted values.
Expected: [[0.49434685]].
Got: [[0.49441886]].
Wrong predicted values.
Expected: [[0.5159792]].
Got: [[0.51597331]].
Wrong predicted values.
Expected: [[0.52320595]].
Got: [[0.52335927]].
Wrong predicted values.
Expected: [[0.49780224]].
Got: [[0.4980465]].
11 Tests passed
5 Tests failed

Can’t figure out where the error might be. Has anyone dealt with something similar?

Hi @mikola

Welcome to the community!

Could you private message me (by clicking on my avatar and then “Message”) your Assignment (how to download) so I could take a look at your code?