Giter Site home page Giter Site logo

hscrf-pytorch's Introduction

Hybrid semi-Markov CRF

HSCRF achieves F1 score of 91.38+/-0.10 on the CoNLL 2003 NER dataset, without using any additional corpus or resource.

Installation

PyTorch

The code is based on PyTorch. You can find installation instructions here.

Dependencies

The code is written in Python 2.7 and pytorch 0.2.0. Its dependencies are summarized in the file requirements.txt. You can install these dependencies like this:

pip install -r requirements.txt

Code reference

LM-LSTM-CRF

Usage

CUDA_VISIBLE_DEVICES=0 python train.py --char_lstm --high_way

word embeddings

Glove: You can find the pre-trained word embedding here, and place glove.6B.100d.txt in data/.

Cite

If you use the code, please cite the following paper: "Hybrid semi-Markov CRF for Neural Sequence Labeling" Zhi-Xiu Ye, Zhen-Hua Ling. ACL (2018)

@InProceedings{Ye-Zhixiu:2018:ACL,
  author    = {Ye, Zhi-Xiu and Ling, Zhen-Hua},
  title     = {Hybrid semi-Markov CRF for Neural Sequence Labeling},
  booktitle = {Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (ACL 2018)},
  month     = {July},
  year      = {2018},
  address   = {Melbourne, Australia},
  publisher = {ACL}
}

hscrf-pytorch's People

Contributors

zhixiuye avatar

Watchers

 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.