Skip to content

Silin159/ComFact-Relation-Agnostic

Repository files navigation

ComFact-Relation-Agnostic

This is the repository for relation-agnostic (entity-based) fact linking on ComFact benckmark.

Getting Started

Start with creating a python 3.6 venv and installing requirements.txt.

ComFact Datasets

The ComFact dataset can be downloaded from this link, please place data/ under this root directory.

Data Preprocessing

python process_nlu_head_tail_link.py

Relation-Agnostic Entity Linker Training

bash train_baseline_entity_linker.sh

Our trained entity linker based on DeBERTa (large) can be downloaded from this link, please place all-deberta-large-nlu-entity/ under the runs/ folder.

Fact Linking Evaluation

bash run_baseline_head_entity_link.sh
bash run_baseline_tail_entity_link.sh
python merge_linking.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published