Coder Social home page Coder Social logo

tomhosking / exconsumm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from priberam/exconsumm

0.0 1.0 0.0 164 KB

Extractive and Compressive Neural Summarization Based on Summary State Representations (NAACL 2019)

License: Other

CMake 0.35% C++ 59.06% C 40.59%

exconsumm's Introduction

Under Construction - please wait

ExCoNSumm :Jointly Extracting and Compressing Documentswith Summary State Representations

This repository releases our code for ExConSum. It uses dynet and the code is in C++.

Please contact [email protected] or [email protected] for any question.

Data

CNN and Dailymail data

The datasets and the word emebeddings are the same as for REFRESH except for the compressed version. You can get them from https://github.com/EdinburghNLP/Refresh.

The Compressive and extactive Oracles dataset used in the paper are available at:

wget ftp://"ftp.priberam.pt|anonymous"@ftp.priberam.pt/SUMMAPublic/Corpora/Exconsumm/ExCoNSum-CNN-DailyMail-Data.tgz

Training

./exconsumm -cconfig/extractive_cnn.cfg -t --dynet-autobatch 1 --dynet-mem 7500

Evaluation

./exconsumm -coutput/.cfg --dynet-autobatch 1 --dynet-mem 7500

Build the system

Install dynet prerequisites eigen and MKL check https://dynet.readthedocs.io/en/latest/install.html.

The first time you clone the repository, you need to sync the dynet/ submodule.

Select the backend eiher "cuda" for GPU or "eigen" for CPU, on CPU you should use MKL as described in the dynet instalation page above.

git submodule init
git submodule update

mkdir build
cd build
cmake .. -DEIGEN3_INCLUDE_DIR=/path/to/eigen -DBACKEND=cuda|eigen
make -j2

System described in the paper:

Jointly Extracting and Compressing Documents with Summary State Representations, Afonso Mendes, Shashi Narayan, Sebastião Miranda, Zita Marinho, André F. T. Martins and Shay B. Cohen (NAACL 2019, accepted, to appear). Also at arXiV: https://arxiv.org/abs/1904.02020

exconsumm's People

Contributors

afonsoamendes avatar smiranda avatar tomhosking avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.