Skip to content

Ashutosh-iitrpr/RNN_Implementation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RNN_Implementation

This repository contains a simple implementation of a Recurrent Neural Network (RNN) using NumPy. It is designed to demonstrate the fundamentals of RNNs, including forward propagation, backpropagation through time (BPTT), and sequence generation.

Functions:

1. DataReader Class: Prepares text data for training by tokenizing, encoding, and batching.
2. RNN Class: Implements an RNN model with:

  • Xavier initialization for weights.
  • Forward propagation.
  • Backpropagation through time.
  • Adagrad optimization for parameter updates.
  • Sequence prediction capability.

3. Training Loop: Includes a training process with live plotting of the training loss.

Requirements

  • Python 3.x
  • Numpy
  • Matplotlib
  • Jupyter Notebook

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published