# spro/practical-pytorch

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/spro-practical-pytorch).**

4,546 stars · 1,085 forks · Jupyter Notebook · MIT · archived

## Links

- GitHub: https://github.com/spro/practical-pytorch
- awesome-repositories: https://awesome-repositories.com/repository/spro-practical-pytorch.md

## Description

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 analysis, providing methods to predict future events based on historical sequential patterns.

## Tags

### Artificial Intelligence & ML

- [Recurrent Neural Networks](https://awesome-repositories.com/f/artificial-intelligence-ml/recurrent-neural-networks.md) — Provides implementations of recurrent neural network architectures for processing sequential data.
- [Character-Level Text Generation](https://awesome-repositories.com/f/artificial-intelligence-ml/character-level-text-generation.md) — Create new text sequences one character at a time by training a network on a text corpus. ([source](https://github.com/spro/practical-pytorch/blob/master/char-rnn-generation/char-rnn-generation.ipynb))
- [Deep Learning Implementations](https://awesome-repositories.com/f/artificial-intelligence-ml/machine-learning/architectures/neural-network-components/deep-learning-implementations.md) — Provides manual implementations of recurrent neural network architectures from first principles. ([source](https://github.com/spro/practical-pytorch#readme))
- [Hidden State Loops](https://awesome-repositories.com/f/artificial-intelligence-ml/machine-learning/frameworks/model-construction/sequential-containers/recurrent-state-managers/hidden-state-loops.md) — Implements structural loops that pass internal hidden states between time steps in recurrent networks.
- [Sequence-to-Sequence Translation Tasks](https://awesome-repositories.com/f/artificial-intelligence-ml/machine-learning/speech-processing/sequence-to-sequence-tasks/sequence-to-sequence-translation-tasks.md) — Provides frameworks for performing language translation through sequence-to-sequence mapping. ([source](https://github.com/spro/practical-pytorch/blob/master/seq2seq-translation/seq2seq-translation.ipynb))
- [Natural Language Processing](https://awesome-repositories.com/f/artificial-intelligence-ml/natural-language-processing.md) — Employs libraries and techniques to analyze and process human language data.
- [Natural Language Processing Implementations](https://awesome-repositories.com/f/artificial-intelligence-ml/natural-language-processing-implementations.md) — Provides reference implementations for language translation and sequence generation tasks. ([source](https://github.com/spro/practical-pytorch/blob/master/README.md))
- [Neural Machine Translation](https://awesome-repositories.com/f/artificial-intelligence-ml/neural-machine-translation.md) — Translates text between natural languages using sequence-to-sequence architectures.
- [Sequence-to-Sequence Mappings](https://awesome-repositories.com/f/artificial-intelligence-ml/sequence-decoding-models/sequence-to-sequence-mappings.md) — Implements encoder-decoder architectures that map input sequences to target sequences for translation.
- [Character-Level Models](https://awesome-repositories.com/f/artificial-intelligence-ml/sequence-modeling/character-level-models.md) — Implements models that process and predict text sequences at the character level.
- [Sequential Pattern Prediction](https://awesome-repositories.com/f/artificial-intelligence-ml/sequential-pattern-prediction.md) — Predicts future events or discrete outcomes based on historical sequential data using recurrent networks.
- [Time Series Forecasting](https://awesome-repositories.com/f/artificial-intelligence-ml/time-series-deep-learning-libraries/time-series-forecasting.md) — Predicts future discrete events by processing historical sequential data through recurrent networks. ([source](https://github.com/spro/practical-pytorch#readme))
- [Deep Learning Forecasting](https://awesome-repositories.com/f/artificial-intelligence-ml/time-series-forecasting/deep-learning-forecasting.md) — Applies deep neural networks to forecast future events from univariate or multivariate time series. ([source](https://github.com/spro/practical-pytorch/blob/master/README.md))
- [Conditional Language Generation](https://awesome-repositories.com/f/artificial-intelligence-ml/generative-model-training-tools/conditional-training/conditional-language-generation.md) — Implements techniques for generating text sequences conditioned on specific input representations. ([source](https://github.com/spro/practical-pytorch/blob/master/conditional-char-rnn/conditional-char-rnn.ipynb))
- [Gradient Descent Algorithms](https://awesome-repositories.com/f/artificial-intelligence-ml/optimization-algorithms/gradient-descent-algorithms.md) — Utilizes gradient descent algorithms to optimize model parameters during training.
- [Recurrent Neural Network Training](https://awesome-repositories.com/f/artificial-intelligence-ml/recurrent-neural-network-training.md) — Implements frameworks for building and training recurrent networks for text patterns. ([source](https://github.com/spro/practical-pytorch/tree/master/char-rnn-generation))
- [Text Sequence Generation](https://awesome-repositories.com/f/artificial-intelligence-ml/sequence-generation/autoregressive-text-generation/text-sequence-generation.md) — Produces new natural language text by sampling from trained recurrent networks. ([source](https://github.com/spro/practical-pytorch/tree/master/char-rnn-generation))
- [Text Classifier Construction](https://awesome-repositories.com/f/artificial-intelligence-ml/text-classifiers/text-classifier-construction.md) — Builds text classification learners that process characters through recurrent networks. ([source](https://github.com/spro/practical-pytorch/blob/master/char-rnn-classification/char-rnn-classification.ipynb))
- [Teacher Forcing Strategies](https://awesome-repositories.com/f/artificial-intelligence-ml/training-optimization-techniques/teacher-forcing-strategies.md) — Employs teacher forcing strategies to stabilize and accelerate the training of sequence models.

### Education & Learning Resources

- [PyTorch Deep Learning Examples](https://awesome-repositories.com/f/education-learning-resources/deep-learning-education/deep-learning-platforms/pytorch-deep-learning-examples.md) — Offers a collection of guided educational examples for building and training neural networks using PyTorch.

### Part of an Awesome List

- [Time Series Analysis](https://awesome-repositories.com/f/awesome-lists/data/time-series-analysis.md) — Implements machine learning models for forecasting and analyzing time-dependent sequential data.
- [Deep Learning Frameworks](https://awesome-repositories.com/f/awesome-lists/ai/deep-learning-frameworks.md) — Practical guide to using recurrent networks for natural language processing.
- [Learning Resources](https://awesome-repositories.com/f/awesome-lists/ai/learning-resources.md) — Explains various RNN models through practical tutorials.
- [Tutorials](https://awesome-repositories.com/f/awesome-lists/more/tutorials.md) — Listed in the “Tutorials” section of the The Incredible Pytorch awesome list.
