Skip to content

icyda17/MNT

Repository files navigation

mini seq2seq

Minimal Seq2Seq model with attention for neural machine translation in PyTorch.

This implementation focuses on the following features:

  • Modular structure to be used in other projects
  • Minimal code for readability
  • Full utilization of batches and GPU.
  • Provide beam-search

This implementation relies on torchtext to minimize dataset management and preprocessing parts.

Model description

How to run

  • conda create new environment refer to file

  • Download tokenizers of English:

python -m spacy download en_core_web_sm
CUDA_VISIBLE_DEVICES=1 python train.py

References

Based on the following implementations

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published