thunlp/FewRel
A Large-Scale Few-Shot Relation Extraction Dataset
This project provides a ready-to-use dataset and tools for identifying relationships between entities in text, even when you have very few examples for a specific relationship type. You provide text documents and a small handful of examples for particular relationships (e.g., "Company X acquired Company Y"), and it helps you extract these relationships automatically. Researchers and practitioners in natural language processing will find this useful for developing and evaluating models for information extraction.
746 stars. No commits in the last 6 months.
Use this if you need to build or evaluate systems that can identify new types of relationships from text using only a limited number of examples.
Not ideal if you're looking for an off-the-shelf application to perform relation extraction without any model development or evaluation.
Stars
746
Forks
161
Language
Python
License
MIT
Category
Last pushed
May 04, 2022
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/nlp/thunlp/FewRel"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related tools
davidsbatista/BREDS
"Bootstrapping Relationship Extractors with Distributional Semantics" (Batista et al., 2015) in...
davidsbatista/Snowball
Implementation with some extensions of the paper "Snowball: Extracting Relations from Large...
nicolay-r/AREkit
Document level Attitude and Relation Extraction toolkit (AREkit) for sampling and processing...
plkmo/BERT-Relation-Extraction
PyTorch implementation for "Matching the Blanks: Distributional Similarity for Relation Learning" paper
yuhaozhang/tacred-relation
PyTorch implementation of the position-aware attention model for relation extraction