Top 5 Open-Source Projects In LSTM Neural Networks To Know in 2023
Tags: lstm, opensource, deeplearning, projects
Published: 2022-12-17 19:00:54

`Long-Short-term memory networks are artificial neural networks capable of learning other dependencies in time series or sequence predictions.`

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/z3yibssmogqthccw0hyf.png)

<u>[What is LSTM? You might have heard this term in the last interview you gave for a Machine Learning Engineer position, or some of your friends might have mentioned using LSTM in their predictive modeling projects. So the big question that may arise here is what LSTM is, what sort of projects can be created using the LSTM algorithm, etc. Do not worry. This article will cover the top 5 open-source projects in LSTM Neural Networks that everyone should know about in 2023.](https://waliamrinal.medium.com/long-short-term-memory-lstm-and-how-to-implement-lstm-using-python-7554e4a1776d)</u>

_**Quick Fact:** Microsoft uses LSTM models to improve its speech recognition software, selfies, search engine, learn to code, and more._

`In today's article, we will talk about five open-source LSTM Neural Network projects/ repositories on GitHub to help you enhance your skills to prepare for the Data Science job market.`

> Note: In this article, we will talk about some excellent open-source LSTM neural network projects/Repositories that you can use in your projects in 2023. To read more about each, I recommend following the link given along the project.

## Other Links (Affiliate)

> If you are reading this article and have similar interests to me, I would suggest a few of my personal favourite courses and insist on completing this fantastic course by DataCamp.
> 1. [Time-Series Analysis in Python](https://www.datacamp.com/courses/time-series-analysis-in-python?irclickid=WtHRhxSVKxyIR-B2Vz2IbyxVUkA2kG03P1NC1c0&irgwc=1&utm_medium=affiliate&utm_source=impact&utm_campaign=000000_1-2871519_2-mix_3-all_4-na_5-na_6-na_7-mp_8-affl-ip_9-na_10-bau_11-mrinalwalia&utm_content=ONLINE_TRACKING_LINK)
> 2. [Time-Series Analysis in R](https://www.datacamp.com/courses/time-series-analysis-in-r?irclickid=WtHRhxSVKxyIR-B2Vz2IbyxVUkA2kG0eP1NC1c0&irgwc=1&utm_medium=affiliate&utm_source=impact&utm_campaign=000000_1-2871519_2-mix_3-all_4-na_5-na_6-na_7-mp_8-affl-ip_9-na_10-bau_11-mrinalwalia&utm_content=ONLINE_TRACKING_LINK)
> 3. [Recurrent Neural Networks for Language Modelling in Python](https://www.datacamp.com/courses/recurrent-neural-networks-rnn-for-language-modeling-in-python?irclickid=WtHRhxSVKxyIR-B2Vz2IbyxVUkA2kG0fP1NC1c0&irgwc=1&utm_medium=affiliate&utm_source=impact&utm_campaign=000000_1-2871519_2-mix_3-all_4-na_5-na_6-na_7-mp_8-affl-ip_9-na_10-bau_11-mrinalwalia&utm_content=ONLINE_TRACKING_LINK)
> 4. [Introduction to Predictive Analytics in Python](https://www.datacamp.com/courses/introduction-to-predictive-analytics-in-python?irclickid=WtHRhxSVKxyIR-B2Vz2IbyxVUkA2kG0fP1NC1c0&irgwc=1&utm_medium=affiliate&utm_source=impact&utm_campaign=000000_1-2871519_2-mix_3-all_4-na_5-na_6-na_7-mp_8-affl-ip_9-na_10-bau_11-mrinalwalia&utm_content=ONLINE_TRACKING_LINK)
> 5. [Intermediate Predictive Analytics in Python](https://www.datacamp.com/courses/intermediate-predictive-analytics-in-python?irclickid=WtHRhxSVKxyIR-B2Vz2IbyxVUkA2kG0%3AP1NC1c0&irgwc=1&utm_medium=affiliate&utm_source=impact&utm_campaign=000000_1-2871519_2-mix_3-all_4-na_5-na_6-na_7-mp_8-affl-ip_9-na_10-bau_11-mrinalwalia&utm_content=ONLINE_TRACKING_LINK)

---

## 1. EasyOCR
#### GitHub: https://github.com/JaidedAI/EasyOCR
#### Official Document: https://www.jaided.ai/
#### Stars: 16.5K
#### Forks: 2.4K

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ga5z8hnmik5nft0qebzq.png)

Easy OCR is a ready-to-use optical character recognition tool that supports 80+ languages, including their popular writing scripts. The languages supported include Latin, Chinese, Arabic, Devanagari, Cyrillic, etc.

The library can be installed using, `pip install easyocr` and you can perform two tasks for development work. For extending the recognition model, read here, and for the detection mode (CRAFT), read here.

> You can take a demo on their official website or use the link [here](https://www.jaided.ai/easyocr/).

The two main components of this project are:

- It can be operated for handwritten support.
- The code can be restructured to support swappable detection and recognition algorithms.

## 2. Stock Prediction Models
#### GitHub: https://github.com/huseinzol05/Stock-Prediction-Models
#### Stars: 5.7K
#### Forks: 2.2K

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/t3yofb6q87yqrxmcbdz3.png)

Stock Prediction models is a project comparison of machine learning and deep learning models that are majorly used for applying stock price forecasting. The project is also used for training trading bots and real-time simulation platforms.

There is a diverse list of LSTM models used in this project, some of which:

- LSTM
- LSTM Bidirectional
- LSTM 2-Path
- LSTM Seq2seq
- LSTM Bidirectional Seq2seq
- LSTM Seq2seq VAE

A standard jupyter notebook file allows you to forecast using any of the models mentioned above or including other models in the list.

> The file for how-to-forecast can be found on this [link](https://github.com/huseinzol05/Stock-Prediction-Models/blob/master/deep-learning/how-to-forecast.ipynb).

## 3. LSTM Human Activity Recognition
#### GitHub: https://github.com/guillaume-chevalier/LSTM-Human-Activity-Recognition
#### Stars: 3.1K
#### Forks: 915

[Activity Recognition Experiment Using Smartphone](https://youtu.be/XOEN9W05_4A)

LSTM human activity recognition implements real-time human activity detection using TensorFlow and an LSTM RNN network on a smartphone sensor dataset.

The type of movement is classified into six diverse categories. They are:

- Walking
- Walking Upstairs
- Walking downstairs
- Sitting
- Standing
- Laying

The proposed method in the project uses the state-of-the-art LSTM model with an RNN model to avoid the feature engineering process, which generally requires a significant amount of time.

## 4. Automatic Speech recognition
#### GitHub: https://github.com/zzw922cn/Automatic_Speech_Recognition
#### Stars: 2.8K
#### Forks: 549

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zqa606qinrysp0imniif.png)

Automatic speech recognition is an end-to-end project for automatic speech identification for the English & Mandarin (Chinese) language. Some examples of generated speech predictions are:

> **Label:**
> it was about noon when captain waverley entered the straggling village or rather hamlet of tully veolan close to which was situated the mansion of the proprietor
> **Prediction:**
> it was about noon when captain wavraly entered the stragling bilagor of rather hamlent of tulevallon close to which wi situated the mantion of the propriater
> **Label:**
> one who writes of such an era labours under a troublesome disadvantage
> **Prediction:**
> one how rights of such an er a labours onder a troubles hom disadvantage

This is one of the finest projects for automatic speech recognition, as it is implemented in Tensorflow and supports training with CPU/GPU. It also gives you a choice to pick your network to train your model:

- RNN
- BRNN
- LSTM
- BLSTM
- GRU
- etc.

## 5. LSTM
#### GitHub: https://github.com/nicodjimenez/lstm
#### Official Document: https://arxiv.org/abs/1506.00019
#### Stars: 1.5K
#### Forks: 645

[LSTM GITHUB REPOSITORY](https://github.com/nicodjimenez/lstm/blob/master/lstm.py)

LSTM repository is a basic implementation of the LSTM network in the python programming language in a few hundred lines of code from scratch. This repository is intended to keep the lstm concept simple by providing clean examples of training neural networks in lstm in python.

You can use this valuable yet helpful resource to learn how to implement an lstm network with minimum effort. You can extend your knowledge by adding more functional abilities and features and trying your LSTM model on different datasets.

_<u>The full article explaining the concept can be found [here](https://arxiv.org/abs/1506.00019)._

_[Follow the link to a detailed and practical blog on how to use this simple project.](https://nicodjimenez.github.io/2014/08/08/lstm.html)</u>_

---

If you enjoy reading this article, we intercommunicate similar interests and are/will be in similar industries. So let’s connect via [LinkedIn](https://www.linkedin.com/in/mrinal-walia-b0981b158/) and [Github](https://github.com/abhiwalia15). Please do not hesitate to send a contact request and check my [PORTFOLIO](https://abhiwalia15.github.io/portfolio/)!

[Subscribe to my MEDIUM 📧 For Weekly Tech Nuggets! 💻](https://mrinalwalia.medium.com/subscribe)