Giter Club home page Giter Club logo

gruen's Introduction

Python 3 License: MIT

GRUEN for Evaluating Linguistic Quality of Generated Text

This repo is the GRUEN metric implementation of GRUEN for Evaluating Linguistic Quality of Generated Text (Findings of EMNLP 2020).

Table of Contents

Introduction

GRUEN aims at evaluating the linguistic quality of generated text from machine learning models. Specifically, it aims to capture the four linguistic dimensions in Table 1.

GRUEN has been shown to correlate well with human judgments on 13 datasets over the five natural language generation tasks below:

  • Abstractive Text Summarization
  • Machine Translation
  • Dialogue System
  • Text Simplification
  • Text Compression

Code:

The code is based on Python 3.

  1. Install the dependencies as below:

    pip install -r requirements.txt
    
  2. Download the pretrained CoLA classifier here, unzip it, rename the folder cola_model and put it under ./.

  3. Download en_core_web_md from the spacy module by

    python -m spacy download en_core_web_md
    
  4. You may now run Main.py for an example usage.

Dataset

It is critically important to collect human judgments (i.e., the manual linguistic quality annotation score) of the system output.

To ease future research on proposing novel evaluation metrics, we summarize some benchmark datasets below. For license issues, we are unable to provide links for downloading the data and the human judgments. We, however, point out how you can access them.

Abstractive Text Summarization:

Machine Translation:

  • WMT16: Please refer to the link here. It has six human annotated datasets (i.e., cs-en, de-en, fi-en, ro-en, ru-en, tr-en).

Dialogue System:

Text Simplification:

  • Xu et al. (2016): The dataset is available here. Please email the first author to ask for the human judgments.

Text Compression:

Related Papers

  • Dang (2006): Overview of DUC 2006 (Document Understanding Conference 2006)
  • Hermann et al. (2015): Teaching machines to read and comprehend (NIPS 2015)
  • Nallapati et al. (2016): Abstractive text summarization using sequence-to-sequence RNNs and beyond (CoNLL 2016)
  • Chaganty et al. (2018): The price of debiasing automatic metrics in natural language evaluation (ACL 2018)
  • Mairesse et al. (2010): Phrase-based statistical language generation using graphical models and active learning (ACL 2010)
  • Wen et al. (2015): Semantically conditioned LSTM-based natural language generation for spoken dialogue systems (EMNLP 2015)
  • Novikova et al. (2017): Why we need new evaluation metrics for NLG (EMNLP 2017)
  • Xu et al. (2016): Optimizing statistical machine translation for text simplification (TACL 2016)
  • Toutanova et al. (2016): A dataset and evaluation metrics for abstractive compression of sentences and short paragraphs (EMNLP 2016)

Citation

If you find this repo useful, please cite:

@inproceedings{zhu2020gruen,
  title={GRUEN for Evaluating Linguistic Quality of Generated Text},
  author={Zhu, Wanzheng and Bhat, Suma},
  booktitle={Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing: Findings},
  pages={94--108},
  year={2020}
}

gruen's People

Contributors

wanzhengzhu 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.