This showcases multiple generative models built in Python and PyTorch.
This repo reimplimets Andrej Karpathys first few nn's, then diverges with rnn and transformers archs.
When running the files, they will take in a textfile as input, used in training, then generates more of that thing.
names.txt
- download link in ipynb files, contains 32k names used as the datasetbigram.ipynb
- the simplest model with an inuitive approach - counting occurences of characters after another, then sampling from that distribution until a termining character is metmlp.ipynb
- neural network approach based on Bengio et al. 2003wavenet.ipynb
- wavenet approach A¨aron van den Oor et al. 2016backprop.ipynb
- backprop from scratch.rnn.ipynb
- rnn with lstm approach.transform.py
- transformer arch.
After training, the model can generate new names like: jaydella. laya. sleenoz. aitya. ailenys. mailyn. tey. karrah. samayana. devanna. atjoslit. conton. khammariangelda. unacearia. yillille. zen. popper. oui. dmir. dedero.