Coder Social home page Coder Social logo

canard's Introduction

CANARD Rewriting Models

The repo is used to maintain scripts for training models for the question-in-context rewriting task introduced in

Ahmed Elgohary, Denis Peskov, Jordan Boyd-Graber. 2019. Can you unpack that? Learning to rewrite questions-in-context. In Empirical Methods in Natural Language Processing.

The CANARD dataset can be downloaded from the dataset page.

Pointer-generator sequence-to-sequence model

To run the model:

  1. Install Spacy.
  2. Clone and install OpenNMT-py.
  3. Download GloVE 840B.300d embeddings.
  4. Run ./preprocess.sh to generate sequence-to-sequence format of the dataset.
  5. Run ./ONMT_Pipeline_GloVE.sh to train and evaluate the model.

A trained model can be downloaded using this link. The model achieves a 51.54 BLEU score on the dev set and 50.00 on the test set.

canard's People

Contributors

aagohary avatar

Watchers

 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.