Skip to content

Simple Transformer written in pytorch supplemented with a TUI based interface to write and generate text

Notifications You must be signed in to change notification settings

maneandrea/autosuggest_tui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Autosuggest

Simple text field that gives suggestions for continuing a word after a press. Based on the Transformer architecture and developed in PyTorch. It is a curses-based TUI.

Training

To train download one or more sources of text and run

train.py SOURCE [SOURCES..] --save path/to/model.pt.zip

See train.py --help for more options. Edit src/params/hyperparams.py to edit hyperparameters.

Execution

To execute run

autosuggest.py path/to/model.pt.zip

Dependencies

About

Simple Transformer written in pytorch supplemented with a TUI based interface to write and generate text

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages