Skip to main content

Pytorch implementation of LSTM variants

Project description

lstm

Pytorch implementation of LSTM variants

GitHub release Test status Lint status Coverage status Docs licence

⚠️ Work In progress

DescriptionInstallUsageContribute
Documentation

Description

The lstm package allows user to easily use various LSTM alternatives, implemented in Pytorch.

Currently implemented :

  • Nothing

Roadmap :

  • LSTM (to ensure we get the same results as Pytorch implementation)
  • GRU (to ensure we get the same results as Pytorch implementation)
  • CIFG
  • LiGRU

Install

Install lstm by running :

pip install lstm

Usage

-> TODO

Contribute

To contribute, install the package locally, create your own branch, add your code (and tests, and documentation), and open a PR !

Pre-commit hooks

Pre-commit hooks are set to check the code added whenever you commit something.

If you never ran the hooks before, install it with :

pre-commit install

Then you can just try to commit your code. If your code does not meet the quality required by linters, it will not be committed. You can just fix your code and try to commit again !


You can manually run the pre-commit hooks with :

pre-commit run --all-files

Tests

When you contribute, you need to make sure all the unit-tests pass. You should also add tests if necessary !

You can run the tests with :

pytest

Tests are not included in the pre-commit hooks, because running the tests might be slow, and for the sake of developpers we want the pre-commit hooks to be fast !

Pre-commit hooks will not run the tests, but it will automatically update the coverage badge !

Documentation

The documentation should be kept up-to-date. You can visualize the documentation locally by running :

mkdocs serve

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lstm-0.1.0.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

lstm-0.1.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file lstm-0.1.0.tar.gz.

File metadata

  • Download URL: lstm-0.1.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for lstm-0.1.0.tar.gz
Algorithm Hash digest
SHA256 94b3962888816fa98fae6e1e46b8e57d66af21e894d0c0c5c35e76b22d32d23c
MD5 91aefcd65a55d6796665fb9e5bcc54e1
BLAKE2b-256 b1ee4af80478081812fe6a76cee0e80eb3efd6e81e119e1e281a8fbddf090095

See more details on using hashes here.

File details

Details for the file lstm-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: lstm-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for lstm-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6a132e19364a33fbae9f053b03320cea2d507b58fc94e139857cad4b43104e57
MD5 89b3c98a21bd5d038d5f5542b46b1b75
BLAKE2b-256 ec025e4f11b7e24d13f288b0f882285295e3b9fc60e5fd1eb128ed259d53068a

See more details on using hashes here.

Supported by

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