Skip to content

sayyss/Bi-Gram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bi-Gram

Simple bi-gram implementation using pytorch.

Usage

from main import train

model = train("text.txt")
model.generate("this is the", length=10)
  • train() has configurable parameters given by
    defaults = {
        'epochs': 100,
        'lr': 0.001,
    }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages