← all repositories

weizhepei/CasRel

A BERT-based cascade framework for extracting subject-relation-object triples from text, published at ACL 2020.

814 stars Python Domain Apps
CasRel
Velocity · 7d
+0.4
★ / day
Trend
steady
star history

CasRel implements a novel binary tagging approach where relations are modeled as functions mapping subjects to objects, rather than discrete classification labels. The framework first identifies all possible subjects in a sentence, then applies relation-specific taggers to simultaneously extract corresponding objects. Built on Keras and BERT, it supports multiple relation extraction benchmarks including NYT, WebNLG, and ACE04 datasets.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.