Skip to content

MaksymDel/skip_phrase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

skip_phrase

Compositional phrase embeddings

Pytroch implementation of skip-gram model to embed phrases compositionally.

For each phrase, individual phrase's words pass through an encoder (RNN/CNN/etc) to get a phrase embedding. Then we predict surrounding words from this phrase embedding.

Allows getting an embedding for every phrase that consists of known individual words.

This project essentially reimplements following papers:

and also allows using RNNs and CNNs for compositional phrase embeddings

Uses negative sampling and allennlp DL4NLP library.

About

Compositional phrase embeddings

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published