A PyTorch cookbook from the 0.2 era, still simmering
A grab-bag of reference implementations for classic deep-learning papers, aimed at learners who already finished the official tutorial.

What it does
This repo collects standalone PyTorch implementations of foundational and slightly more ambitious models: CBOW, CNN/LSTM text classifiers, seq2seq, BiLSTM-CRF for NER, BERT, YOLO v3, DenseNet, DCGAN, even an AlphaGo-Zero-style reinforcement learner. Each lives in its own directory with a main.py you can run after (sometimes) preprocessing data via corpus.py.
The interesting bit
The breadth is the point. Rather than one polished framework, it’s a zoo of 30+ paper replications spanning NLP, vision, speech, and RL — useful if you want to see how a specific architecture translates into PyTorch line-by-line. The author also maintains a Chinese-language blog walking through some examples.
Key highlights
- Covers a genuinely wide sweep: from n-gram language models to pointer networks, relation networks, coreference resolution, and voice conversion
- Includes some harder-to-find implementations like BiMPM (bilateral multi-perspective matching) and LSTM-CNNs-CRF
- Each project is self-contained; no monolithic dependency tree
- Citation metadata provided if you reuse code for research
Caveats
- Dependencies are pinned to PyTorch 0.2.0 and Python 3.5 — ancient by deep-learning standards, so expect friction with modern environments
- README warns “Continue updating…” but the commit history and dependency versions suggest maintenance has lapsed
- No test suite, no CI, and training instructions are a terse “
python3 main.py” — you’ll need to read the code to understand data paths or hyperparameters
Verdict
Worth a look if you’re a student trying to bridge the gap between “I finished the PyTorch tutorial” and “I want to see how paper X actually works in code.” Skip it if you need production-ready, maintained libraries or current PyTorch compatibility without archaeology.