Skip to content

NarinCodes/NanoGPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NanoGPT

Generative AI project that leverages Transformer-architecture to build and train a Language Model. The model is trained on all the combined works of William Shakespeare. Running the main Python script will kick-off a generative process that produces infinite Shakespeare — in other words, it infinitely produces text that resembles his scripts.

Run the following command in the terminal to kick-off the generative process: python3 run.py. This will first involve model training (which may take a long time on CPU — but generally runs fast on GPU) and then end with to the model's text generation process.

Also, note that the output.txt file contains a sample of generated text in case one wishes to view the output without training the model.

About

Generative AI project that leverages Transformer-architecture to build and train a Language Model. The model is trained on all the combined works of William Shakespeare. Running the main Python script will kick-off a generative process that produces infinite Shakespeare — in other words, it infinitely produces text that resembles his scripts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages