Skip to content
/ QAT Public

Official pytorch implementation of 'Relation-aware Language-Graph Transformer for Question Answering' (AAAI 2023)

License

Notifications You must be signed in to change notification settings

mlvlab/QAT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Relation-aware Language-Graph Transformer for Question Answering (AAAI 2023)

Official pytorch implementation of 'Relation-aware Language-Graph Transformer for Question Answering' (AAAI 2023)

Figure

Setup

  • Clone repository
git clone https://github.com/mlvlab/QAT.git
cd QAT
  • Setup conda environment
conda create -n QAT python=3.8
conda activate QAT
  • Install packages with a setup file
bash setup.sh
  • Download data

We use the question answering datasets (CommonsenseQA, OpenBookQA, and MedQA-USMLE) and their knowledge graphs. We preprocess the dataset following QA-GNN. You can download all the preprocessed data with the link.

Run Experiments

bash run_csqa.sh

Acknowledgement

This repo is built upon the QA-GNN and GSC:

https://github.com/michiyasunaga/qagnn
https://github.com/kuan-wang/graph-soft-counter

About

Official pytorch implementation of 'Relation-aware Language-Graph Transformer for Question Answering' (AAAI 2023)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published