Skip to content

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.

Notifications You must be signed in to change notification settings

TSS-sniper/Text-Generation-using-LSTM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

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

  • Plotting the Model:

FlowChart 2

Output:

Text Generator Interface:

inter_f_lstm

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published