GithubHelp home page GithubHelp logo

peihuaining / naacl-mpqa-srl4orl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from amarasovic/naacl-mpqa-srl4orl

1.0 1.0 0.0 5.55 MB

SRL4ORL: Improving Opinion Role Labeling Using Multi-Task Learning With Semantic Role Labeling

Python 61.00% Shell 0.81% Jupyter Notebook 38.19%

naacl-mpqa-srl4orl's Introduction

SRL4ORL: Improving Opinion Role Labeling Using Multi-Task Learning With Semantic Role Labeling

This repository contains code for reproducing experiments done in:

Ana Marasovic and Anette Frank (2018): SRL4ORL: Improving Opinion Role Labeling Using Multi-Task Learning With Semantic Role Labeling. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL-HLT). New Orleans, USA.

Requirements

Data

ORL

Download MPQA 2.0 corpus.

Check mpqa2-pytools for example usage.

Splits can be found in the datasplit folder.

SRL

The data is provided by: CoNLL-2005 Shared Task, but the original words are from the Penn Treebank dataset, which is not publicly available.

How to train models?


python main.py --adv_coef 0.0 --model fs --exp_setup_id new --n_layers_orl 0 --begin_fold 0 --end_fold 4

python main.py --adv_coef 0.0 --model html --exp_setup_id new --n_layers_orl 1 --n_layers_shared 2 --begin_fold 0 --end_fold 4

python main.py --adv_coef 0.0 --model sp --exp_setup_id new --n_layers_orl 3 --begin_fold 0 --end_fold 4

python main.py --adv_coef 0.1 --model asp --exp_setup_id prior --n_layers_orl 3 --begin_fold 0 --end_fold 10

Reference

If you make use of the contents of this repository, please cite the following paper:

@inproceedings{marasovicfrank:srl4orl,
  title={{Improving Opinion Role Labeling Using Multi-Task Learning With Semantic Role Labeling}},
  author={Marasovi\'{c}, Ana and Frank, Anette},
  booktitle={Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL-HLT)},
  year={2018},
  address={New Orleans, USA},
  note={to appear}
}

naacl-mpqa-srl4orl's People

Stargazers

 avatar

Watchers

James Cloos 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.