Skip to content

ywl0911/Att-CBOW

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Attention Model for Continuous Bag of Words

Requiement

  • Python2.7
  • Tensorflow0.12

Data

Data format is the same with gensim.Word2Vec. Each line is an document. And the text should be segmente in advance. Data in my experiment can be download from my homepage.

Parameters

  • filename: location of input fille
  • batch_size: size of batch
  • num_epochs: train times
  • window_size: context window size
  • min_time: minimum times of word
  • embedding_size: embedding size of word and character
  • num_sampled: negtive sampled size
  • start_lr:learning rate

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%