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 ( eventhough 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 NLP From Scratch: Translation with a Sequence to Sequence Network and Attention ā€” PyTorch Tutorials 1.11.0+cu102 documentation

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

Hi, Iā€™m sort of in the same boat as you, getting transformer inference stages to work right. Are you including the token at the beginning of your input?

Yes, I included the Tokens