Python library: Echo state Networks for NLP
Project description
EsnTorch (version 1.0.6)
Echo state networks (ESNs) for natural language processing (NLP).
EsnTorch
is a user-friendly python library designed for the implementation of echo state networks (ESNs)
in the context of natural language processing (NLP), and more specifically,
in the context of text classification.
EsnTorch
is written in PyTorch
and requires Python 3.7 or higher.
Installation
This library is distributed on PyPi and
can be installed with pip
, as shown below:
$ pip install esntorch
This command will automatically install the dependencies listed in requirements.txt
together with the library itself.
Please visit the installation page for more details.
GitHub
The source code of the library is available on GitHub. It can be cloned with the following command:
$ git clone https://github.com/PlaytikaResearch/EsnTorch.git
Once cloned, you can install the library by running one of the following commands
from the root directory esntorch/
:
$ pip install . # install library + dependencies
$ pip install -r requirements.txt # install dependencies
Documentation
The documentation page provides a detailed documentation of the library as well as tutorials covering its main functionalities.
More Info
To create the HTML documentation run the following commands:
$ cd docs
$ sphinx-apidoc -o source/ ../esntorch
$ make clean
$ make html
To make the library pip instalable, create and .whl
file and deploy it on PyPi.
Make sure that twine
is installed and run the following commands:
$ python setup.py bdist_wheel
$ twine upload -r pypi dist/*
License
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file esntorch-1.0.6-py3-none-any.whl
.
File metadata
- Download URL: esntorch-1.0.6-py3-none-any.whl
- Upload date:
- Size: 37.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53031326d67830bbfe90cd38906db297e026f98981226eee4b6fed71786a2d5a |
|
MD5 | 3a3079108f4ffc4ac111ed67774e263d |
|
BLAKE2b-256 | 7d437e35ad033337010a86d905980ba20190d1af0757d96ab20d71307406dc2b |