Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FAT-RE

Background

This is a Transformer-based model with Filtering and Aggregation mechanisms for the task of Relation Extraction. Previous methods adopt tree pruning to keep free from the noisy words, which may hurt the semantic integrity. FAT-RE treats a sentence as a fully-connected graph, and let the model decide which connections are important.

Architecture

Prepare

  1. Dataset
    • TACRED
    • SemEval2010 Task8
  2. Word Embedding
    • Glove
    • Word2vec
    • BERT Embedding
  3. Prepare vocab
    • scripts/prepare_vocab.sh

Train & Test

Please check if the resourses are prepared and the paths/arguments are specified. Example is shown in scripts/train.sh

python main.py --xxx 
python eval.py --xxx

Result

Reference

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages