Discover and explore top open-source AI tools and projects—updated daily.
Open-source toolkit for neural relation extraction (NRE)
Top 11.1% on SourcePulse
OpenNRE is an open-source toolkit for neural relation extraction (NRE), designed to facilitate the extraction of structured knowledge from plain text. It offers a unified framework for implementing and scaling various NRE models, supporting both supervised and distant supervision settings, and integrating conventional neural networks with pre-trained language models like BERT.
How It Works
OpenNRE provides a unified interface for diverse relation extraction models, including CNN-based architectures (CNN, CNN+ATT) and BERT-based approaches. The CNN+ATT model, a key feature, utilizes instance-level attention to effectively combine information from multiple sentences (bags) related to a specific entity pair, aiming for improved performance over standard CNN models.
Quick Start & Requirements
git clone https://github.com/thunlp/OpenNRE.git
pip install -r requirements.txt
bash benchmark/download_fewrel.sh
).Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
1 year ago
Inactive