Skip to main content

A collection of PyTorch implementations of neural network architectures and layers.

Project description

Join Slack Twitter

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.

Screenshot

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

Modules

Transformers

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

Recurrent Highway Networks

LSTM

HyperNetworks - HyperLSTM

Capsule Networks

Generative Adversarial Networks

Sketch RNN

Reinforcement Learning

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

labml-nn-0.4.81.tar.gz (86.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

labml_nn-0.4.81-py3-none-any.whl (118.1 kB view details)

Uploaded Python 3

File details

Details for the file labml-nn-0.4.81.tar.gz.

File metadata

  • Download URL: labml-nn-0.4.81.tar.gz
  • Upload date:
  • Size: 86.3 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

Hashes for labml-nn-0.4.81.tar.gz
Algorithm Hash digest
SHA256 f92fa992f72975bc7fcb2f79cfff2b96d13b85e85d550bca8ef069bddf6f1e8e
MD5 f9369d6364e09c72e122fabe704141a5
BLAKE2b-256 330c9e11d8dcec6f8b76d947a86eb41e222c74ecef14b198801517128290bdd1

See more details on using hashes here.

File details

Details for the file labml_nn-0.4.81-py3-none-any.whl.

File metadata

  • Download URL: labml_nn-0.4.81-py3-none-any.whl
  • Upload date:
  • Size: 118.1 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

Hashes for labml_nn-0.4.81-py3-none-any.whl
Algorithm Hash digest
SHA256 6fcb726ed3b3e32a7c91d43672954dbd8cffce401b9016d2959948152b5b2bed
MD5 e1bdf5df5cc1744a250e674732033cc4
BLAKE2b-256 9dbba7a6f69ab6e21de2398b5f6b0b2bb47b430e4a20ae2c8710c489e02813be

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page