gru.ipynb: Main notebook for preprocessing, tokenization, model training, and basic inference experiments.transformer.ipynb: Transformer-based experimentation notebook.hindi_english_parallel.csv: Parallel dataset used in notebook workflows.requirements.txt: Python dependencies.eng_hin.model and eng_hin.vocab: SentencePiece tokenizer artifacts.corpus.txt: Corpus used for tokenizer training.models/ and data/: Additional model/data folders.venv or Conda).1git clone https://github.com/zatiyab/eng-hin-translator.git
2cd eng-hin-translator1python -m venv .venv
2.\.venv\Scripts\Activate.ps11python -m venv .venv
2source .venv/Scripts/activatepip install -r requirements.txtjupyter notebookgru.ipynb.gru.ipynb:gru.ipynb is a sequence-to-sequence architecture with attention:vocab_size=16000) for both English and Hindi.256) followed by a bidirectional GRU (512 units each direction, return_sequences=True).256) followed by a GRU (512 units, return_sequences=True).8 heads, key_dim=64) where decoder states attend over encoder outputs.Dense(512, relu), then projected to vocabulary logits with a final softmax layer.decoder_input = hindi_padded[:, :-1]decoder_target = hindi_padded[:, 1:]corpus.txteng_hin.modeleng_hin.vocabgru_model.keras (or similarly named Keras model file)english_tokenizer or hindi_tokenizer, keep the pipeline consistent by using only one tokenization approach.LICENSE file to define reuse terms.