Heidelberg-NLP / MHKA

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!
11 stars 6 forks source link

anli task #3

Closed Giochen closed 2 years ago

Giochen commented 2 years ago

could you please provide some instruction on how to perform anli task?

debjitpaul commented 2 years ago

Hi, Can you please elaborate on your question? Check this out: https://github.com/Heidelberg-NLP/MHKA/tree/main/src/model

Giochen commented 2 years ago

Thanks for the prompt reply! i tried to change the task_name to anli to run this task on the anli dataset, but it seems that there is only swag_processor in the util file. so could you give some instruction on fine-tuning the model on anli dataset?

debjitpaul commented 2 years ago

So, now I have updated the code. Did you download the anli data? This is a bit of old code, so you need to download the anli data and mention the path of the data in the run.sh file as DATA_DIR='data_path'

Giochen commented 2 years ago

Hi, I just checked the changes. sorry for bothering that question, I thought a new processor is needed for the anli task.