Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

this is simple nlp program based on ozon671games3 books and 1984

this is educational project

there are two ways of using it:

- use without tokenizer:

  1. tests/save_embeddings.py - to create embeddings for model
  2. tests/save_nn.py - to create nn that uses your embeddings
  3. tests/load_nn.py - to test model answers and get perplexity

- use with tokenizer:

  1. tests/token/create_tokens.py - to train tokenizer and split data to tokens
  2. tests/token/save_embeddings.py - to create from tokens embeddings
  3. tests/token/save_nn.py - to create nn that predicts words from embeddings
  4. tests/token/load_nn.py - to test model answers and get perplexity
unfortunately this model has only dense layers. So it's accuracy is only 0.05 without tokens and 0.40 with tokens.

About

simple neural network based on embeddings(word2vec) for fun

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages