Coder Social home page Coder Social logo

satoshi-2000 / prompt-learning-readability Goto Github PK

View Code? Open in Web Editor NEW

This project forked from brucewlee/prompt-learning-readability

0.0 0.0 0.0 7.49 MB

[EACL 2023] use text-to-text models (BART, T5) for readability assessment

Python 100.00%

prompt-learning-readability's Introduction

Prompt-based Learning for Text Readability Assessment

Overview

This repository hosts research code from our research paper "Prompt-based Learning for Text Readability Assessment" at EACL 2023. You can train and evaluate models using the code here. The included scripts are self-explanatory with comments for easy reading!

Training

Set arguments in utils/train_arguments.py

Testing

Set arguments in utils/test_arguments.py

Citation

@inproceedings{lee-lee-2023-prompt,
    title = "Prompt-based Learning for Text Readability Assessment",
    author = "Lee, Bruce W.  and
      Lee, Jason",
    booktitle = "Findings of the Association for Computational Linguistics: EACL 2023",
    month = may,
    year = "2023",
    address = "Dubrovnik, Croatia",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2023.findings-eacl.135",
    pages = "1819--1824",
    abstract = "We propose the novel adaptation of a pre-trained seq2seq model for readability assessment. We prove that a seq2seq model - T5 or BART - can be adapted to discern which text is more difficult from two given texts (pairwise). As an exploratory study to prompt-learn a neural network for text readability in a text-to-text manner, we report useful tips for future work in seq2seq training and ranking-based approach to readability assessment. Specifically, we test nine input-output formats/prefixes and show that they can significantly influence the final model performance.Also, we argue that the combination of text-to-text training and pairwise ranking setup 1) enables leveraging multiple parallel text simplification data for teaching readability and 2) trains a neural model for the general concept of readability (therefore, better cross-domain generalization). At last, we report a 99.6{\%} pairwise classification accuracy on Newsela and a 98.7{\%} for OneStopEnglish, through a joint training approach. Our code is available at github.com/brucewlee/prompt-learning-readability.",
}

Please cite our paper and provide link to this repository if you use in this software in research.

prompt-learning-readability's People

Contributors

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