A collection of PyTorch implementations of neural network architectures and layers.
Project description
LabML Neural Networks
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.
We are actively maintaining this repo and adding new
implementations almost weekly.
for updates.
Modules
✨ Transformers
Transformers module contains implementations for multi-headed attention and relative multi-headed attention.
- GPT Architecture
- GLU Variants
- kNN-LM: Generalization through Memorization
- Feedback Transformer
- Switch Transformer
✨ Recurrent Highway Networks
✨ LSTM
✨ HyperNetworks - HyperLSTM
✨ Capsule Networks
✨ Generative Adversarial Networks
✨ Sketch RNN
✨ Reinforcement Learning
- Proximal Policy Optimization with Generalized Advantage Estimation
- Deep Q Networks with with Dueling Network, Prioritized Replay and Double Q Network.
✨ 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/},
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file labml-nn-0.4.84.tar.gz.
File metadata
- Download URL: labml-nn-0.4.84.tar.gz
- Upload date:
- Size: 95.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.25.1 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fb3759ba52101d7486c9e3bdb7b42b8c14eb1dd7c77053ef5c1f4928212403cb
|
|
| MD5 |
d15969fb56af84250671a5479d2e88a9
|
|
| BLAKE2b-256 |
f1f52ef184a6295b79c4a489525355c27cd3135b02e476f5ef22e689054e215d
|
File details
Details for the file labml_nn-0.4.84-py3-none-any.whl.
File metadata
- Download URL: labml_nn-0.4.84-py3-none-any.whl
- Upload date:
- Size: 132.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.25.1 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
87706e8b7e1feb1e893cc39a5fe6fe6672f4b4147a017d1f153812d243ba12d6
|
|
| MD5 |
aced007047f981d9b7e02bb55d20f036
|
|
| BLAKE2b-256 |
67af296d4887189f20c4fb374c86ed70b1b43465fa9fe744e809a2fc9655a219
|