Code Monkey home page Code Monkey logo

couda's Introduction

CoUDA

This repository contains the code, data and model for the paper "CoUDA: Coherence Evaluation via Unified Data Augmentation" (NAACL 2024)

๐Ÿ”ง Reproduction

To replicate our results, follow these steps to download the code and necessary dependencies:

git clone https://github.com/dwzhu-pku/CoUDA.git
cd CoUDA
pip install -r requirements.txt

The datasets used for training and evaluation can be found under data/train and data/eval, respectively.

For our trained model, please download it via this link, and place it under models/couda_model. Note that the results reported in the paper is averaged across 3 runs with different random seeds. The uploaded one is selected in random, which turns out to have slightly lower score.

To calculate correlation scores with human ratings, you may run:

bash scripts/run_coh_main.sh

To calcuate pair-wise ranking scores, you may run:

bash scripts/run_eval_pair.sh

๐ŸŒŸ Citation

If you find this repo helpful, please cite our paper as follows:

couda's People

Contributors

dwzhu-pku avatar

Stargazers

sanket bhat avatar Jeff Carpenter avatar Yifan Song avatar Ce Zheng avatar  avatar  avatar

Watchers

Kostas Georgiou avatar  avatar

Forkers

dshushin

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.