← 开源
spro

practical-pytorch

Go to https://github.com/pytorch/tutorials - this repo is deprecated and no longer maintained

TutorialsTool-specific tutorialsJupyter Notebook
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
4.54k
Star
1.08k
Fork
+0
本周
6
贡献者
创建于 2017-01-22 · 更新于 2026-09-22 · 今日第 7505 名
主要开发者
README

These tutorials have been merged into the official PyTorch tutorials. Please go there for better maintained versions of these tutorials compatible with newer versions of PyTorch.


Practical Pytorch

Learn PyTorch with project-based tutorials. These tutorials demonstrate modern techniques with readable code and use regular data from the internet.

Tutorials

Series 1: RNNs for NLP

Applying recurrent neural networks to natural language tasks, from classification to generation.

Series 2: RNNs for timeseries data

  • WIP Predicting discrete events with an RNN

Get Started

The quickest way to run these on a fresh Linux or Mac machine is to install Anaconda:

curl -LO https://repo.continuum.io/archive/Anaconda3-4.3.0-Linux-x86_64.sh
bash Anaconda3-4.3.0-Linux-x86_64.sh

Then install PyTorch:

conda install pytorch -c soumith

Then clone this repo and start Jupyter Notebook:

git clone http://github.com/spro/practical-pytorch
cd practical-pytorch
jupyter notebook

Recommended Reading

PyTorch basics

Recurrent Neural Networks

Machine translation

Attention models

Other RNN uses

Other PyTorch tutorials

Feedback

If you have ideas or find mistakes please leave a note.