Entity Linker library using Wikipedia as the knowledge base
Top 33.5% on sourcepulse
BLINK is a Python library for entity linking, mapping mentions in text to entities in Wikipedia. It targets researchers and developers needing state-of-the-art Wikification capabilities, offering a two-stage BERT-based approach for high accuracy.
How It Works
BLINK employs a two-stage architecture. First, a bi-encoder independently embeds mention context and entity descriptions for efficient retrieval in a dense space. Second, a cross-encoder refines candidate selection by processing concatenated mention and entity text. This approach achieves state-of-the-art results by balancing retrieval speed with deep contextual understanding. FAISS integration enables further optimization for large-scale retrieval.
Quick Start & Requirements
pip install -e git+git@github.com:facebookresearch/BLINK#egg=BLINK
../download_blink_models.sh
.python blink/build_faiss_index.py
.python blink/main_dense.py
.Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The project's knowledge base is based on a 2019 Wikipedia dump, which may not reflect the most current information. The older Solr-based IR system is deprecated.
1 year ago
1 week