{"id":30174035,"url":"https://github.com/rahulbhadani/rnn","last_synced_at":"2026-05-15T21:08:00.338Z","repository":{"id":90395844,"uuid":"198017383","full_name":"rahulbhadani/RNN","owner":"rahulbhadani","description":"Recurrent Neural Network Implementation based on WildML's tutorial","archived":false,"fork":false,"pushed_at":"2019-09-21T05:41:43.000Z","size":22833,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-12T00:22:28.751Z","etag":null,"topics":["machine-learning","python","recurrent-neural-networks","rnn","statistical-learning","statistics","tutorial"],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rahulbhadani.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-07-21T05:45:44.000Z","updated_at":"2019-09-21T05:41:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"a5373cbe-85e3-43a9-b260-2da02a369425","html_url":"https://github.com/rahulbhadani/RNN","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rahulbhadani/RNN","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rahulbhadani%2FRNN","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rahulbhadani%2FRNN/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rahulbhadani%2FRNN/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rahulbhadani%2FRNN/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rahulbhadani","download_url":"https://codeload.github.com/rahulbhadani/RNN/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rahulbhadani%2FRNN/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33080496,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T20:25:35.270Z","status":"ssl_error","status_checked_at":"2026-05-15T20:25:34.732Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["machine-learning","python","recurrent-neural-networks","rnn","statistical-learning","statistics","tutorial"],"created_at":"2025-08-12T00:14:58.699Z","updated_at":"2026-05-15T21:08:00.324Z","avatar_url":"https://github.com/rahulbhadani.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"## RNN, LSTM and PyTorch\n\n\n## Recurrent Neural Network Implementation based on WildML's tutorial\n-------------------------------------------------------------------\nThe repository provides an implementation of Recurrent Neural Network based on tutorial [http://www.wildml.com/2015/09/recurrent-neural-networks-tutorial-part-2-implementing-a-language-model-rnn-with-python-numpy-and-theano/](http://www.wildml.com/2015/09/recurrent-neural-networks-tutorial-part-2-implementing-a-language-model-rnn-with-python-numpy-and-theano/).\n\nRelevant files are:\n- RNN.py\n- RNN_impl.py\n- rnn_utils.py\n\nThe code has been written in the form of the package that can be used with `import` command.\n\n## Preparing your system/Installation\n\n### CUDA Installation\nSince I am using Ubuntu 18.04, I will install appropriate version of CUDA for my Ubuntu 18.04 system. Depending on your system, you can choose write CUDA package for your system from [http://developer.download.nvidia.com/compute/cuda/repos/](http://developer.download.nvidia.com/compute/cuda/repos/)\n\n\n```bash\nwget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-repo-ubuntu1804_10.1.168-1_amd64.deb\n\nsudo dpkg -i cuda-repo-ubuntu1804_10.1.168-1_amd64.deb\n\nsudo apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub\n\nsudo apt-get update\nsudo apt-get install -y cuda\n\n```\n\nAt this point, you will need to restart your computer. Then set the environment variable by including them in your `.bashrc` file.\n\n```bash\n# Set Environment variables\nexport CUDA_ROOT=/usr/local/cuda-10.1\nexport PATH=$PATH:$CUDA_ROOT/bin\nexport LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CUDA_ROOT/lib64\nexport THEANO_FLAGS=mode=FAST_RUN,device=gpu,floatX=float32\n# For profiling only\nexport CUDA_LAUNCH_BLOCKING=1\n```\n\n## Long Short-term Memory\n----------------------\n\nAn example code is given to predict crypto currency exchange rate using LSTM. \n\nRelevant file(s):\ncrypt_lstm.py\n\n## Using PyTorch for LSTM, Seq2Seq Model\n----------------------------------------\n\n\nA Juypter Notebook `PyTorch_1.ipynb` follows the tutorial from YouTube tutorial [Applied Deep Learning with PyTorch](https://www.youtube.com/watch?v=CNuI8OWsppg\u0026t=19761s) to demonstrate the use of PyTorch to implement Seq2Seq Model.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frahulbhadani%2Frnn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frahulbhadani%2Frnn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frahulbhadani%2Frnn/lists"}