nmstoker / names-rnn

Following a pytorch tutorial

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README

Basic setup

conda create -n names-rnn python=3.11

conda activate names-rnn

For GPU:

conda install pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia

For CPU: (try...)

conda install pytorch torchvision torchaudio cpuonly -c pytorch

For the charts

pip install matplotlib

Examples

python predict.py Smythe

python predict.py Smith

python predict.py Jones

python predict.py O'Brien

python predict.py Smith

python predict.py Michael

python predict.py Perkins

python predict.py Pettigrew

python predict.py Wildheim

python predict.py Waltheim

python predict.py Grunmeier

python predict.py Wilders

python predict.py Piccaso

python predict.py Simons

python predict.py Valdheim

python predict.py Sanji

python predict.py Ghandi

python predict.py Geldoff

python predict.py Aragorn

python predict.py McPherson

python predict.py Jameson

python predict.py Clinton

python predict.py McClintock

python predict.py McClintoch

python predict.py Tulloch

python predict.py Andrews

python predict.py Upton

python predict.py Dickens

python predict.py Shakespear

python predict.py Nelson

python predict.py Charles

python predict.py Gonzalez

python predict.py Pierre

About

Following a pytorch tutorial


Languages

Language:Jupyter Notebook 92.5%Language:Python 7.5%