This repository contains the python code for a translator using keras
This is German to English translator using Keras
Dataset: deu.txt from Kaggle
Model: Seq2Seq
There are two measure components of Seq2Seq:
- Encoding: Done using Embedding Layer and LSTM Layer
- Decoding: Done using LSTM layer and Dense Layer
Optimizer: RMSProp (it works well with RNN)
Loss Function: SparseCategoricalCrossEntropy (uses the input as it is rather than one-hot encoded input)