Machine translation with attention

hello everybody.
I tried to follow all instructions but but I encountered an error that sounds is related to “unit test” cell.
err

The Ty variable is passed to the modelf function. It is defined in one of the early cells in the notebook.
So be sure you’ve run all of the preceeding cells in the notebook before you run the test cell.