Coder Social home page Coder Social logo

nerd-expertprocess's Introduction

Expert Processes for Named Entity Recognition and Disambiguation

Implementation of the online hedge algorithm for NERD expert processes of Reinforcement Learning for Multi-Step Expert Advice using so-called meta-dependencies as features, which are neighorhood-based assessment of available expert services. Note that the expert services for NER and NED (e.g. AIDA, DBpedia Spotlight) are not accessible anymore, but I provide a "stash" of >300K service evaluations for the integrated datasets. I also added exemplary textual features based on OpenAI's ClIP model, which were not included in the original implementation.

Instructions

  1. Clone this repo.
git clone https://github.com/patrickraoulphilipp/nerd-expertprocess
cd nerd-expertprocess
  1. (optional) Create a virtualenv. The implementation has been tested for Python 3.9.
virtualenv venv
source venv/bin/activate
  1. Install all dependencies. You need CLIP, which will be automatically installed from the respective git repo.
pip install -r requirements.txt .
  1. Download all nltk dependencies, which you can do via the python script in the scripts folder.
python scripts/install_nltk.py
  1. (Optional but recommended) Download the zipped expert service stash from the following link.
Direct link: https://drive.google.com/file/d/1T94xTkOrm3gyJEB2FvK4PJnT8XqWykqC/view?usp=sharing
  1. Set parameter STASH_PATH in nerd_expertprocess/ep_config.py, which should either point to an empty folder to gather the expert service results or to the downloaded & unzipped stash folder.
STASH_PATH = '/PATH/TO/FOLDER/'
...
  1. Run main.py to start the search process.
python main.py

Cite as

@inproceedings{philipp2017,
 author    = {Patrick Philipp and Achim Rettinger},
 title     = {Reinforcement Learning for Multi-Step Expert Advice},
 booktitle = {AAMAS},
 year      = {2017},
 pages     = {962--971}

nerd-expertprocess's People

Contributors

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