jackboyla/GLiREL
Generalist and Lightweight Model for Relation Extraction (Extract any relationship types from text)
This helps you automatically identify and categorize relationships between entities within text, even for types of relationships you haven't explicitly trained a model on. For example, you can input a news article and a list of desired relationships like 'was founded by' or 'headquartered in,' and it will tell you which entities are related and how. It's ideal for anyone who needs to quickly extract structured information from large volumes of unstructured text, such as researchers, analysts, or content managers.
258 stars. No commits in the last 6 months. Available on PyPI.
Use this if you need to extract specific relationships from text without the time-consuming process of creating extensive, hand-labeled training data for every new relationship type.
Not ideal if you primarily need to identify entities (like people, organizations, or locations) without explicitly connecting them through relationships.
Stars
258
Forks
18
Language
Python
License
—
Category
Last pushed
Jun 11, 2025
Commits (30d)
0
Dependencies
6
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/nlp/jackboyla/GLiREL"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
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
thunlp/FewRel
A Large-Scale Few-Shot Relation Extraction Dataset