Embedding is multidimensional, so it shouldn’t have a dimension problem.
I tried running the jupyter notebook for the chatbot, and it seems to work.
Can you try running that and check the output?
Also what version of pytorch are you using?