Git Product home page Git Product logo

jointie's Introduction

JointIE

This repository contains code used for span-based joint NER and relation extraction.

I refer to the following models and repos:

Generalizing Natural Language Analysis through Span-relation Representations (ACL2020). paper github

Entity, Relation, and Event Extraction with Contextualized Span Representations (ACL 2019). paper github

AllenNLP. github

Recommended Environment

torch==1.5.1

transformers==2.11.0

Datasets

5 datasets are preprocessed and included in this repository.

Dataset Task code Dir Source
Wet Lab Protocols wlp data/wlp link
SciERC scierc data/scierc link
NYT24 nyt24 data/nyt24 link
NYT29 nyt29 data/nyt29 link
WebNLG webnlg data/webnlg link

Train and Evaluate Models

Train and evaluate model with default configure.

python train_demo.py --dataset scierc

Results with Default Configure on Test Set

Dataset NER (F1) Relation (F1)
Wet Lab Protocols 81.5 66.26
SciERC 67.27 41.77
NYT24 94.4 77.48
NYT29 89.19 62.53
WebNLG 94.45 77.5

Contact

E-mail: [email protected]

jointie's People

Contributors

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