Git Product home page Git Product logo

doced's Introduction

DocED

This repository is the official implementation of the ACL 2021 paper MLBiNet: A Cross-Sentence Collective Event Detection Network.

Requirements

To install basic requirements:

pip install requirements.txt

Datasets

ACE2005 can be found here: https://catalog.ldc.upenn.edu/LDC2006T06

Basic training

To evaluate a setting with serveral random trials, execute

python run_experiments_multi.py

Main hyperparameters in train_MLBiNet.py include:

--tagging_mechanism, mechanism to model event inter-dependency, you can choose one of "forward_decoder", "backward_decoder" or "bidirectional_decoder"

--num_tag_layers, number of tagging layers, 1 indicates that we do sentence-level ED, 2 indicates that information of adjacent sentences were aggregated, ...

--max_doc_len, maximum number of consecutive sentences are extracted as a mini-document, we can set it as 8 or 16

--tag_dim, dimension of an uni-directional event tagging vector

--self_att_not, whether to apply self-attention mechanism in sentence encoder

Main results

Overall performance on ACE2005

image

Performance on detecting multiple events collectively

image

where 1/1 means one sentence that has one event; otherwise, 1/n is used.

Performance of our proposed method with different multi-layer settings or decoder methods

image

How to Cite

@inproceedings{ACL2021_MLBiNet,
  author    = {Dongfang Lou and
               Zhilin Liao and
               Shumin Deng and
               Ningyu Zhang and
               Huajun Chen},
  title     = {MLBiNet: A Cross-Sentence Collective Event Detection Network},
  booktitle = {{ACL}},
  publisher = {Association for Computational Linguistics},
  year      = {2021}
}

doced's People

Contributors

ldf2015311051 avatar zxlzr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

doced's Issues

关于预处理之后的数据处理问题

关于数据问题

请问您能提供一份关于将tran.json转换成example_new.train格式的代码吗,或者是ace2005数据预处理以后的代码,十分感谢!

haha

Can the ACE2005 dataset be released?

about data

Hello,I am trying to reproduce your code, but after I processed the ACE2005, I found the train.json is different from example_new.train your provided. Could you tell me if there are any other steps ? Thanks!

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.