No description, website, or topics provided.
Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets update Apr 26, 2017
ranking add ranker Apr 28, 2017
README.md Update README.md Apr 30, 2017
beam_search.py update Apr 26, 2017
data_reader.py update Apr 27, 2017
evaluate.py first commint Apr 25, 2017
generate.py update readme/word ext Apr 29, 2017
model.py first commint Apr 25, 2017
model_abs.py update Apr 27, 2017
pretrain.py update Apr 27, 2017
train.py update Apr 27, 2017
train_abs.py update Apr 27, 2017
utils.py update readme/word ext Apr 29, 2017

README.md

NeuralSum

Neural Network Summarizer

Features(to be included)

  • Hierarchical encoder ..* CNN sentence encoder ..* LSTM document encoder ..* Bidirectional LSTM document encoder
  • Sentence extraction ..* Extraction with LSTM decoder ..* Prediction on top of BiLSTM encoder
  • Word generator ..* Vanilla decoder ..* Hierarchical attention decoder ..* Beam-search decoder ..* External language model
  • Post-process ..* LR Ranker ..* MERT feature-tuning ..* RL feature-tuning

Dependencies

  • numpy
  • scipy
  • tensorflow
  • scikit-learn

Quick-start

  • Data
  • Pretrian a general-purpose encoder: python pretrain.py
  • Training python train.py
  • Evaluate python evaluate.py

Visualize scores

Sentence scores are stored during evaluation.

score.png

Citation

@InProceedings{cheng-lapata:2016:P16-1, 
  author = {Cheng, Jianpeng and Lapata, Mirella}, 
  title = {Neural Summarization by Extracting Sentences and Words}, 
  booktitle = {Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)}, 
  year = {2016}, 
  address = {Berlin, Germany}, 
  publisher = {Association for Computational Linguistics}, 
  pages = {484--494} 
 }

Reference

Liscense

MIT