/nn

🧠 Minimal implementations/tutorials of deep learning papers with side-by-side notes

Primary LanguageJupyter NotebookMIT LicenseMIT

Join Slack Twitter

This is a collection of simple PyTorch implementations of neural networks and related algorithms. These implementations are documented with explanations,

The website renders these as side-by-side formatted notes. We believe these would help you understand these algorithms better.

Screenshot

We are actively maintaining this repo and adding new implementations almost weekly. Twitter for updates.

Modules

Transformers module contains implementations for multi-headed attention and relative multi-headed attention.

✨ LSTM

✨ Sketch RNN

✨ Optimizers

Installation

pip install labml_nn

Citing LabML

If you use LabML for academic research, please cite the library using the following BibTeX entry.

@misc{labml,
 author = {Varuna Jayasiri, Nipun Wijerathne},
 title = {LabML: A library to organize machine learning experiments},
 year = {2020},
 url = {https://lab-ml.com/},
}