All Projects → CogComp → zoe

CogComp / zoe

Licence: other
Zero-Shot Open Entity Typing as Type-Compatible Grounding, EMNLP'18.

Programming Languages

python
139335 projects - #7 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to zoe

KWDLC
Kyoto University Web Document Leads Corpus
Stars: ✭ 64 (+72.97%)
Mutual labels:  named-entities
dac
Entity linker for the newspaper collection of the National Library of the Netherlands. Links named entity mentions to DBpedia descriptions using either a binary SVM classifier or a neural net.
Stars: ✭ 14 (-62.16%)
Mutual labels:  named-entities
Extremely-Fine-Grained-Entity-Typing
PyTorch implementation of our paper "Imposing Label-Relational Inductive Bias for Extremely Fine-Grained Entity Typing" (NAACL19)
Stars: ✭ 89 (+140.54%)
Mutual labels:  entity-typing
memex-gate
General Architecture for Text Engineering
Stars: ✭ 47 (+27.03%)
Mutual labels:  named-entities
arabic-tagger
AQMAR Arabic Tagger: Sequence tagger with cost-augmented structured perceptron training
Stars: ✭ 38 (+2.7%)
Mutual labels:  named-entities
CogIE
CogIE: An Information Extraction Toolkit for Bridging Text and CogNet. ACL 2021
Stars: ✭ 47 (+27.03%)
Mutual labels:  entity-typing
Few-NERD
Code and data of ACL 2021 paper "Few-NERD: A Few-shot Named Entity Recognition Dataset"
Stars: ✭ 317 (+756.76%)
Mutual labels:  entity-typing
PersianNER
Named-Entity Recognition in Persian Language
Stars: ✭ 48 (+29.73%)
Mutual labels:  named-entities
Mecab Ipadic Neologd
Neologism dictionary based on the language resources on the Web for mecab-ipadic
Stars: ✭ 2,408 (+6408.11%)
Mutual labels:  named-entities
acl19 subtagger
Code for ACL '19 paper: Towards Improving Neural Named Entity Recognition with Gazetteers
Stars: ✭ 33 (-10.81%)
Mutual labels:  named-entities
neat
Named entity annotation tool
Stars: ✭ 21 (-43.24%)
Mutual labels:  named-entities
LME
Neural Entity Typing with Language Model Enhancement
Stars: ✭ 21 (-43.24%)
Mutual labels:  entity-typing
KNET
Neural Entity Typing with Knowledge Attention
Stars: ✭ 65 (+75.68%)
Mutual labels:  entity-typing
NSP-BERT
The code for our paper "NSP-BERT: A Prompt-based Zero-Shot Learner Through an Original Pre-training Task —— Next Sentence Prediction"
Stars: ✭ 166 (+348.65%)
Mutual labels:  entity-typing

ZOE (Zero-shot Open Entity Typing)

A state of the art system for zero-shot entity fine typing with minimum supervision

Introduction

This is a demo system for our paper "Zero-Shot Open Entity Typing as Type-Compatible Grounding", which at the time of publication represents the state-of-the-art of zero-shot entity typing.

The original experiments that produced all the results in the paper are done with a package written in Java. This is a re-written package solely for the purpose of demoing the algorithm and validating key results.

The results may be slightly different with published numbers, due to the randomness in Java's HashSet and Python set's iteration order. The difference should be negligible.

This system may take a long time if ran on a large number of new sentences, due to ELMo processing. We have cached ELMo results for the provided experiments.

The package also contains an online demo, please refer to Publication Page for more details.

Usage

Install the system

Prerequisites

  • Minimum 20G available disk space and 16G memory. (strict requirement)
  • Python 3.X (Mostly tested on 3.5)
  • A POSIX OS (Windows not supported)
  • Java JDK and Maven
  • virtualenv if you are installing with script
  • wget if you are installing with script (Use brew to install it on OSX)
  • unzip if you are installing with script

Install using a one-line command

To make life easier, we provide a simple way to install with sh install.sh.

This script does everything mentioned in the next section, plus creating a virtualenv. Use source venv/bin/activate to activate.

Install manually

See wiki manual-installation

Run the system

Currently you can do the following without changes to the code:

  • Run experiment on FIGER test set (randomly sampled as the paper): python3 main.py figer
  • Run experiment on BBN test set: python3 main.py bbn
  • Run experiment on the first 1000 Ontonotes_fine test set instances (due to size issue): python3 main.py ontonotes

Additionally, you can run server mode that initializes the online demo with python3 server.py However, this requires some additional files that's not provided for download yet. Please directly contact the authors.

It's generally an expensive operation to run on large numerb of new sentences, but you are welcome to do it. Please refer to main.py and Engineering Details to see how you can test on your own data.

Citation

See the following paper:

@inproceedings{ZKTR18,
    author = {Ben Zhou, Daniel Khashabi, Chen-Tse Tsai and Dan Roth },
    title = {Zero-Shot Open Entity Typing as Type-Compatible Grounding},
    booktitle = {EMNLP},
    year = {2018},
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].