Skip to content

This is a notebook for a simple bigram model. We will built a statistical model and a neural network from scratch

Notifications You must be signed in to change notification settings

davnish/bigram_model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Bigram_model

In this notebook we will built two simple bigram model from scratch which will be able predict the next character given a character. We have a small dataset of names. This model will allow us to predict some names based on the dataset we have given to it. Although the predictions are not great because this is a simple bigram model.

We have built two models here:

  • Statistical Model
  • NN Model

The Libraries Used Here are:

  • Pytorch
  • matplotlib
  • numpy

About

This is a notebook for a simple bigram model. We will built a statistical model and a neural network from scratch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published