GithubHelp home page GithubHelp logo

shashwatnaidu / hscrf-pytorch Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zhixiuye/hscrf-pytorch

0.0 0.0 0.0 1.13 MB

ACL 2018: Hybrid semi-Markov CRF for Neural Sequence Labeling (http://aclweb.org/anthology/P18-2038)

Python 100.00%

hscrf-pytorch's Introduction

Usage

Glove: You can find the pre-trained word embedding here

emb_file: path to the above pre trained word embedding file

train_file: keep a name for the processed train file

test_file: keep a name for the processed test file

train_file_csv: provide the input csv train file

test_file_csv: provide input csv test file

labels_json: provide input of labels json file

CUDA_VISIBLE_DEVICES=0 python train.py --char_lstm --high_way --emb_file '/kaggle/input/glovedata/glove.6B.100d.txt' --train_file '/kaggle/working/train.txt' --test_file '/kaggle/working/test.txt' --train_file_csv '/kaggle/input/ner-formatted/train (4).csv' --test_file_csv '/kaggle/input/ner-formatted/test (5).csv' --labels_json '/kaggle/input/ner-formatted/labels (6).json'

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{HSCRF,
  author = 	"Ye, Zhixiu
		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 (Volume 2: Short Papers)",
  year = 	"2018",
  publisher = 	"Association for Computational Linguistics",
  pages = 	"235--240",
  location = 	"Melbourne, Australia",
  url = 	"http://aclweb.org/anthology/P18-2038"
}

hscrf-pytorch's People

Contributors

zhixiuye avatar shashwatnaidu 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.