Skip to content
Proyectos

bentrevett/pytorch-seq2seq

Ver en GitHub

bentrevett/pytorch-seq2seq has 5,712 GitHub stars and 1,349 forks. GitHot measured 0 stars in 24 hours, +2 in 7 days, and +3 in 15 days. Last checked 2026-11-21 13:33 UTC. Last push 2024-01-20.

Cómo se miden estas cifras

Crecimiento de estrellas medido

in 24h
0
in 7 days
+2
in 15 days
+3
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

Acerca de

Tutoriales para implementar varios modelos de secuencia a secuencia (seq2seq) con PyTorch y TorchText.

Aprendizaje automático

README.md

Original

PyTorch Seq2Seq

This repo contains tutorials covering understanding and implementing sequence-to-sequence (seq2seq) models using PyTorch, with Python 3.9. Specifically, we'll train models to translate from German to English.

If you find any mistakes or disagree with any of the explanations, please do not hesitate to submit an issue. I welcome any feedback, positive or negative!

Getting Started

Install the required dependencies with: pip install -r requirements.txt --upgrade.

We'll also make use of spaCy to tokenize our data which requires installing both the English and German models with:

python -m spacy download en_core_web_sm
python -m spacy download de_core_news_sm

Tutorials

Legacy Tutorials

Previous versions of these tutorials used features from the torchtext library which are no longer available. These are stored in the legacy directory.

References

Here are some things I looked at while making these tutorials. Some of it may be out of date.