All our experimental results can be reproduced through the software provided here.
All experiments are divided among different directories in experiments
containing their training and evaluation scripts. Instructions for each one of them are given here:
For training over all seeds and
bash scripts/train_colored.sh "linear" 3 &
For evaluation:
bash scripts/eval_colored.sh 3 &
cd information_as_evaluation/experiments/starbert_information
Download the IMDb dataset from here and un-tar it at ../../../aclImdb
For training over all seeds and
bash scripts/common_training_all.sh "heuristic" "distilbert-base-uncased" 5e-5 16 &
For evaluation:
bash scripts/common_eval_all.sh "heuristic" "distilbert-base-uncased" &
cd information_as_evaluation/experiments/starbert_information
Download the code and resources from here at ../../../GenderBias
and save generated representations from the released checkpoints.
For evaluation:
bash scripts/biosbias_eval_all_all_layers.sh &
cd information_as_evaluation/experiments/NICO
Download the NICO++ dataset from here and save it at ./dataset_plus
For training over all seeds and both training sets:
bash run_training.sh "2_plus" 5 &
For evaluation:
bash run_evaluation.sh "2_plus" 5 &
For training over all seeds and
bash scripts/train_shuffled.sh "linear" 3 &
For evaluation:
bash scripts/eval_shuffled.sh 3 &
Download the IMDb dataset from here and un-tar it at ../../../aclImdb
For training over all seeds and
bash scripts/common_training_all.sh "shuffle" "distilbert-base-uncased" 5e-5 16 &
For evaluation:
bash scripts/common_eval_all.sh "shuffle" "distilbert-base-uncased" &