[CLEF 2024]: DEFAULT at CheckThat! 2024: Retrieval Augmented Classification using Differentiable Top-K Operator for Rumor Verification based on Evidence from Authorities
This is the implementation for working note submitted on Retriver Augumented Classification using differential SOFT-TopK to perform a joint training of Retriever and Classifier for CheckThat! Lab at CLEF 2024 Task 5: Rumor Verification using Evidence from Authorities
- Ubuntu 18.04.1 LTS
- Nvidia TESLA 32GB V100
- Python 3.10.13
- Clone this repository
git clone <repository-name>
- Install miniconda/anaconda.
- Name of the environment that will be created by default is
rumour
conda env create -f environment.yml
Data used for training can be found here
For independent training.
Look for config/independent
folder.
- For Retriever training
Change the config.yaml
file in retriever
folder according to the configs that you require.
Then run this commond for training.
bash scripts/retriever.sh
- For Classifier training
Change the config.yaml
file in classifier
folder according to the configs that you require.
Then run this commond for training.
bash scripts/classifier.sh
For Joint Training.
Look for config/joint_scratch
folder.
Change the joint_config.yaml
file according to your requirements.
To train the model run the following code.
bash scripts/joint_train_scratch.sh
Download the pretrained weights from the following folder.
In config/infer.yaml
file conge the retriever and classifier paths with the path to the pretrained weights path and change the output_file_retriever
and output_file_classifier
paths accordingly.
Then run
bash scripts/infer.sh
Then in scripts/evaluate_retrieval.sh
change pred_file
with output_file_retriever
and run the following code to get score for your retrieval.
bash scripts/evaluate_retrieval.sh
Then in scripts/evaluate_verification.sh
change pred_file
with output_file_classifier
and run the following code to get score for your retrieval.
bash scripts/evaluate_verification.sh
@InProceedings{clef-checkthat:2024:task5:DEFAULT,
author = {
Adhikari, Sayanta
and Sharma, Himanshu
and Kumari, Rupa
and Satapara, Shrey
and Desarkar, Maunendra},
title = {{DEFAULT} at {CheckThat!} 2024: {R}etrieval {A}ugmented {C}lassification using {D}ifferentiable {T}op-K {O}perator for {R}umor {V}erification based on {E}vidence from {A}uthorities},
crossref = {clef2024-workingnotes}
}