Skip to content

Irvinglove/TF_Sentence_Similarity_CNN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TF_Sentence_Similarity_CNN

This code belongs to the "Implementing a CNN for Sentence Similarity in Tensorflow" blog post.

Requirements:

  • Python 2.7
  • Tensorflow 1.0
  • numpy

Notes:

Because the glove file is too big, there is no way to upload. Please go to the official website to download glove.6B.50d.txt.

Attention:

You should add

400000 50

at the first row in the glove.6B.50d.txt file, after that we could read the glove with word2vec tools.

or you will meet the error ---- ValueError: invalid literal for int() with base 10: 'the'

Hava a good time!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages