Problem : Text to text translation Approach : Used attention mechanism with teacher forcing for more better results.
To reproduce results:
- Download the datasets for language translation from this site.
- Set hyperparameters according to your need and run main.py as python main.py
Following is the results for French to english translation
je ne suis pas si occupe d habitude . = i m usually not this busy .
vous n y etes pas en securite . = you re not safe here .
je suis content de mon travail . = i m satisfied with my work .
tu me fais peur . = you re scaring me .
Sequence to Sequence Learning with Neural Networks
Neural Machine Translation by Jointly Learning to Align and Translate
A Neural Conversational Model
RNN and LSTM in pytorch