Skip to content

Implementation of paper: "A Neural Attention Model for Sentence Summarization" in Theano

Notifications You must be signed in to change notification settings

Ganeshpadmanaban/Neural-Attention-Model-Abstractive-Summarization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Abstractive Text Summarization

The Algorithm

http://arxiv.org/abs/1509.00685

Our implementation differs in that we fix the context and summary token of the embedding matrix.

-Both embedding matrices are initialised from GloVe

Helptext:

python3 main.py -h

The training datasets are under data/. Each JSON file contains three fields title, full_text, summary. They're downloaded with scripts in download_data/.

GloVe data needs to be downloaded and unzipped under glove/. The code uses the first 10k most frequent tokens by default. To generate the embeddings for them,

cd glove
head -n 10000 glove.6B.300d.txt >glove.10k.300d.txt

Releases

No releases published

Packages

No packages published

Languages