A Recurrent Neural Network library for Torch7's nn, providing RNN, LSTM, GRU, and other sequence modeling modules.
rnn is a Recurrent Neural Network library for Torch7's nn package. It provides modules for building and training RNNs, LSTMs, GRUs, and other sequence models, enabling developers to implement complex temporal dependencies in their machine learning models. The library addresses the need for efficient and flexible tools for sequence modeling within the Torch ecosystem.
Machine learning researchers and developers using Torch7 who need to implement recurrent neural networks for tasks like natural language processing, time-series analysis, or sequence prediction.
rnn offers a comprehensive and modular set of recurrent modules that integrate seamlessly with Torch7's nn package. Its key advantages include support for variable-length sequences, efficient handling of zero-padded inputs, and optimized implementations like FastLSTM, making it a go-to choice for sequence modeling in Torch.
Recurrent Neural Network library for Torch7's nn
Includes a wide array of RNN modules such as AbstractRecurrent, LSTM, GRU, Sequencer, and BiSequencer, enabling flexible design of various sequence models as detailed in the README.
Modules like MaskZero and TrimZero optimize processing of variable-length sequences by masking or trimming zero-padded inputs, improving batch efficiency for tasks like language modeling.
Designed to extend Torch7's nn package, ensuring compatibility with existing neural network components and allowing easy combination with other modules in the ecosystem.
Examples in the README, such as the noise-contrastive estimate script, demonstrate high throughput (e.g., 20,000 words/second) on large datasets like Google Billion Words using optimized FastLSTM.
The library is explicitly marked as deprecated in favor of torch/rnn, meaning no new features, bug fixes, or security updates will be provided, as stated in the README.
Relies on Torch7 and Lua, which have been largely superseded by PyTorch, limiting its relevance and making it less accessible due to a shrinking community and ecosystem.
Installation requires managing dependencies with luarocks and specific Torch modules (e.g., nn, dpnn), which can be error-prone and less straightforward than modern package managers like pip.
Tensors and Dynamic neural networks in Python with strong GPU acceleration
Deep Learning for humans
Streamlit — A faster way to build and share data apps.
Build and share delightful machine learning apps, all in Python. 🌟 Star to support our work!
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.