Skip to content

Implementation of a Word2Vec Embedding and a Self-Attentive Classifier

Notifications You must be signed in to change notification settings

VBrabant/NLPClassif_W2vSa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

Text Classification using Self-Attentive Sentence Embedding

Implementation of A Structured Self-Attentive Sentence Embedding by Lin et al., 2017 with my own words embedding from an implementation of the W2V CBOW algorithm.

Data

The implementation is performed on a part of Yelp reviews, availables here.

Results

Here are partial results of the implementation with 3 attention heads. Highlighted words are considered as the most importants by the attention head to predict the rating. (Please keep in mind that the whole computing was executed with unoptimized materials. Results can be improved)

First review :

Second review :

About

Implementation of a Word2Vec Embedding and a Self-Attentive Classifier

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published