Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tss-sniper/text-generation-using-lstm

Generates relevant text from user-given seed text using LSTM algorithm. The model is trained upon a corpus of text data to learn patterns, grammar, and contextual relationships. The model showcases its ability to generate coherent and contextually relevant text.
https://github.com/tss-sniper/text-generation-using-lstm

jupyter-notebook lstm python text-generation

Last synced: 9 days ago
JSON representation

Generates relevant text from user-given seed text using LSTM algorithm. The model is trained upon a corpus of text data to learn patterns, grammar, and contextual relationships. The model showcases its ability to generate coherent and contextually relevant text.

Awesome Lists containing this project

README

        

# Text Generation using LSTM
## Introduction:
* This project aims to generate relevant text from user-given seed text using LSTM (Long Short-Term Memory) algorithm.
* This model is trained upon a given corpus of text data to learn patterns, grammar, and contextual relationships.
* This model can generate coherent and contextually relevant text, reflecting the Text Corpus it was trained on.
## Methodology:
The following steps ensure coherent and contextually relevant text generation:
1. Loading the data.
2. Preprocessing the data and Tokenizing.
3. Building and fitting the model on data.
4. Evaluating the model.
5. Predicting i.e.Generating the text and Iterate on the process.
## Tools and Technologies involved:
* Numpy
* Pandas
* Tensorflow
* Matplotlib
* Gradio
* LSTM (Long Short-Term Memory) Algorithm
## Flowcharts:
* Methodology Involved:

![FlowChart 1](https://github.com/TSS-sniper/Text_Generation_using_LSTM/assets/121627136/6e8c60eb-50db-48b6-b711-3f6a2db26bb6)

* Plotting the Model:

![FlowChart 2](https://github.com/TSS-sniper/Text_Generation_using_LSTM/assets/121627136/90be22d1-8345-4222-b63b-dd0fc33173bf)

## Output:
Text Generator Interface:

![inter_f_lstm](https://github.com/TSS-sniper/Text-Generation-using-LSTM/assets/121627136/a16dc060-9406-4b66-9557-3aef8995c169)