Code Monkey home page Code Monkey logo

unsupervised-entity-disambiguation's Introduction

Unsupervised Entity Disambiguation using Pretrained Contextualized Word Embeddings

This repository contains the code for the equally named master thesis at UHH's LT Group.

Requirements

All code in this repository is written in Python (python 3.9.6 to be precise). Python dependencies are managed with Pipenv, which needs to be installed. Then, to install dependencies run:

pipenv install

To build the models and run the experiments, we need datasets. In the thesis, we use two models:

  • AIDA YAGO
  • Wikipedia Dump

AIDA YAGO

For license issues, you need to provide the AIDA dataset yourself. Place the full AIDA TSV in aida/aida-yago2-dataset/AIDA-YAGO2-dataset.tsv, the Makefile will split it into training and test files.

Wikipedia

The dump, that we use, consists of one JSON object per line. Each line is a JSON object with the keys id, title and text corresponding to one Wikipedia page.

Run

The Makefile holds all commands used to build the models and run the experiments. Our pipeline consists of multiple Python files that all load and save pickles.

unsupervised-entity-disambiguation's People

Contributors

3wille 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.