awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
bentrevett avatar

bentrevett/pytorch-seq2seq

0
View on GitHub↗
5,697 stars·1,357 forks·Jupyter Notebook·MIT·10 views

Pytorch Seq2seq

This is a collection of educational Jupyter Notebook tutorials that teach sequence-to-sequence modeling using PyTorch and TorchText, focused on neural machine translation. The project provides hands-on guides for building and training encoder-decoder architectures with recurrent neural networks like LSTM and GRU, implementing attention mechanisms that allow the decoder to focus on relevant input tokens during sequence generation.

The tutorials cover the full pipeline of machine translation, from tokenizing multilingual text using language-specific tokenizers to training multi-layer encoder-decoder models with teacher forcing. A key differentiator is the step-by-step implementation of attention mechanisms, which improve translation quality by computing weighted sums of encoder hidden states at each decoder output step.

The notebooks serve as a learning resource for PyTorch NLP fundamentals, demonstrating sequence-to-sequence model training with practical examples of translating between languages. The documentation is provided entirely through annotated Jupyter notebooks that walk through each component of the architecture.

Features

  • Neural Machine Translation - Provides hands-on tutorials for translating text between languages using recurrent neural networks with attention.
  • Encoder-Decoder Training Methods - Teaches building and training multi-layer LSTM/GRU encoder-decoder architectures for machine translation.
  • Attention Mechanisms - Implements attention layers that compute weighted sums of encoder hidden states for the decoder.
  • Encoder-Decoder with Attention Tutorials - Provides tutorials implementing attention mechanisms that let the decoder focus on relevant encoder hidden states.
  • Sequence-to-Sequence Mappings - Teaches building and training encoder-decoder architectures for sequence mapping tasks like machine translation.
  • Encoder-Decoder Attention Decoders - Provides step-by-step implementations of attention mechanisms that let the decoder focus on relevant input tokens.
  • Teacher Forcing Strategies - Implements teacher forcing as the primary training strategy for sequence-to-sequence translation models.
  • PyTorch Seq2Seq Tutorials - Provides educational code examples demonstrating sequence-to-sequence models built with PyTorch and TorchText.
  • PyTorch NLP Tutorials - Provides annotated notebooks teaching sequence modeling and text processing fundamentals using PyTorch.
  • PyTorch Seq2Seq Tutorials - Provides annotated Jupyter notebooks teaching sequence-to-sequence modeling with PyTorch and TorchText.
  • Text Tokenization - Demonstrates tokenizing multilingual text using language-specific tokenizers for model preprocessing.

Star history

Star history chart for bentrevett/pytorch-seq2seqStar history chart for bentrevett/pytorch-seq2seq

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does bentrevett/pytorch-seq2seq do?

This is a collection of educational Jupyter Notebook tutorials that teach sequence-to-sequence modeling using PyTorch and TorchText, focused on neural machine translation. The project provides hands-on guides for building and training encoder-decoder architectures with recurrent neural networks like LSTM and GRU, implementing attention mechanisms that allow the decoder to focus on relevant input tokens during sequence generation.

What are the main features of bentrevett/pytorch-seq2seq?

The main features of bentrevett/pytorch-seq2seq are: Neural Machine Translation, Encoder-Decoder Training Methods, Attention Mechanisms, Encoder-Decoder with Attention Tutorials, Sequence-to-Sequence Mappings, Encoder-Decoder Attention Decoders, Teacher Forcing Strategies, PyTorch Seq2Seq Tutorials.

What are some open-source alternatives to bentrevett/pytorch-seq2seq?

Open-source alternatives to bentrevett/pytorch-seq2seq include: tensorflow/nmt — This project is a neural machine translation system used to build models that automatically translate text from one… spro/practical-pytorch — Practical PyTorch is a collection of deep learning tutorials and guides focused on implementing recurrent neural… datawhalechina/so-large-lm — This project is a comprehensive educational curriculum and structured learning path covering the full lifecycle of… tingsongyu/pytorch-tutorial-2nd — This project is a comprehensive instructional resource and course for building neural networks using PyTorch. It… pageman/sutskever-30-implementations — This project is a collection of deep learning research implementations and a reproduction kit designed to translate… tingsongyu/pytorch_tutorial — This project is a comprehensive collection of educational examples and reference implementations for building vision…

Open-source alternatives to Pytorch Seq2seq

Similar open-source projects, ranked by how many features they share with Pytorch Seq2seq.
  • tensorflow/nmttensorflow avatar

    tensorflow/nmt

    6,461View on GitHub↗

    This project is a neural machine translation system used to build models that automatically translate text from one language to another. It utilizes sequence-to-sequence modeling to transform variable-length input sequences into corresponding output sequences. The system implements bidirectional recurrent neural network encoding and attention mechanisms to capture contextual information and focus on specific parts of the source text during translation. To manage training and inference, it employs separate computational graphs and supports distributing model layers across multiple GPU devices.

    Python
    View on GitHub↗6,461
  • spro/practical-pytorchspro avatar

    spro/practical-pytorch

    4,546View on GitHub↗

    Practical PyTorch is a collection of deep learning tutorials and guides focused on implementing recurrent neural networks. The project provides practical code for building sequence models and sequence-to-sequence architectures using the PyTorch framework. The repository covers the implementation of models for neural machine translation, character-level text generation, and text classification. It includes examples for transforming input sequences into output sequences for machine translation and synthesizing new text. The project also extends to sequence data prediction and time series analy

    Jupyter Notebook
    View on GitHub↗4,546
  • datawhalechina/so-large-lmdatawhalechina avatar

    datawhalechina/so-large-lm

    7,400View on GitHub↗

    This project is a comprehensive educational curriculum and structured learning path covering the full lifecycle of large language models. It provides a guided progression through the theory, architecture, training, and deployment of these models. The curriculum includes specialized guides on transformer architecture, model training tutorials, and frameworks for designing autonomous agents. It also provides dedicated resources for studying model safety and ethics. The material covers a wide range of technical capabilities, including distributed training strategies, parameter-efficient fine-tu

    View on GitHub↗7,400
  • tingsongyu/pytorch-tutorial-2ndTingsongYu avatar

    TingsongYu/PyTorch-Tutorial-2nd

    4,555View on GitHub↗

    This project is a comprehensive instructional resource and course for building neural networks using PyTorch. It covers the fundamental building blocks of deep learning, including tensor manipulation, automatic differentiation, and the construction of modular neural network components. The repository serves as a technical guide for several specialized domains. It provides implementation details for computer vision tasks such as image classification, object detection, and semantic segmentation, as well as natural language processing workflows involving transformers, recurrent networks, and gen

    Jupyter Notebookcomputer-visiondeepsortdiffusion-models
    View on GitHub↗4,555
See all 30 alternatives to Pytorch Seq2seq→