Skip to content

The corresponding code from our paper "Social Commonsense Reasoning with Multi-Head Knowledge Attention (EMNLP 2020)". Do not hesitate to open an issue if you run into any trouble!

Notifications You must be signed in to change notification settings

Heidelberg-NLP/MHKA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Social-Commonsense-Reasoning-Multi-Head-Knowledge-Attention

Paper Link: https://www.aclweb.org/anthology/2020.findings-emnlp.267.pdf

This directory contains the following parts of the 'Social Commonsense Reasoning Multi-Head Knowledge Attention' experiment.

MHKA

Reference

If you make use of the contents of this repository, please cite the following paper:

@inproceedings{paul-frank-2020-mhka,
    title = "Social Commonsense Reasoning with Multi-Head Knowledge Attention",
    author = "Paul, Debjit  and Frank, Anette",
    booktitle = In Findings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP),
    month = November,
    year = 2020,
    publisher = "Association for Computational Linguistics"
}

Requirements

- python3.8+
- pytorch

Install the library and dependencies

git clone https://github.com/huggingface/transformers
cd transformers
pip install .
pip install -r ./examples/requirements.txt
pip install tensorflow
pip install ftfy==5.1
conda install -c conda-forge spacy
python -m spacy download en
pip install tensorboardX
pip install tqdm
pip install pandas
pip install ipython

Recreating Results

Results

About

The corresponding code from our paper "Social Commonsense Reasoning with Multi-Head Knowledge Attention (EMNLP 2020)". Do not hesitate to open an issue if you run into any trouble!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published