How to translate my own sentence using Attention mechanism?

For every language translation repos, I can see the existing sentences which are translated. If i give my own sentence ( evnthough the words of my own sentence are existed in the dataset) the translation I am getting is the existing sentence from the dataset.

Please help me to resolve this issue

Reference link for the code

Reference sentence which I tried to translate on enter image description here

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum