Skip to content

A demonstration of text generation capabilies of GRU with keras embedding layer

Notifications You must be signed in to change notification settings

divye-joshi/Text-synthesis-using-keras

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Text-synthesis-using-keras

A demonstration of the capabilities of keras embedding layer with Bidirectional GRU. Spacy 3 is used for tokenization, and training is done on google colab. This model is is trained on the first book of harry potter.


Info : Please note that this model has only been trained for 10 minutes. This model is just a just a demonstration, so its in early stage of training. Model trained for longer duration of time can provide more accurate results.

Requirements : Python 3 + Tensorflow + Numpy

Dataset used : https://www.kaggle.com/datasets/utsavk02/4-light-novel-for-text-generation

Intructions : Execute runmodel.py after making sure that the model and the tokenizer files are in the same directory

Other info : 'Showcase.jpg' contains a demonstration of the model's capabilities.

About

A demonstration of text generation capabilies of GRU with keras embedding layer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published