Giter Club home page Giter Club logo

concept_ordering's Introduction

The code for paper "Learning to Predict Concept Ordering for Common Sense Generation"


Dataset

The dataset we use are stored in the commongen folder, you could unzip the data in the submission folder. In the folder, the "commongen.SPLIT.src_alpha.txt" and "commongen.SPLIT.tgt.txt" are the original files provided by CommonGen dataset.

Model

The model we use in our experiments are stored in the methods folder. If you want to run the code, you need to create the virtual environment for each model:

    conda create -n MODEL python=3.8
    conda activate MODEL
    pip install -r requirements.txt

,where MODEL is the name you want to do the corrsponding experiment. Then you could run the bash files in each sub-folder. We also write the key hyper-parameters in the bash files. We could provide the trained models if needed.

  • We use the evaluation metrics (BLEU/ROUGE/METEOR/CIDEr/SPICE/Coverage) provided by CommonGen project to evaluate the generation quality. For the Kendall's tau for the concept ordering, you could run the code under methods/Probabilistic/util.py

concept_ordering's People

Contributors

avatagarde avatar

Stargazers

 avatar Tong Liu avatar Danushka Bollegala avatar

Watchers

Danushka Bollegala avatar  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.