base_label
stringclasses
22 values
src
sequence
task
stringclasses
29 values
src_label
stringclasses
22 values
base
sequence
src_type
stringclasses
20 values
base_type
stringclasses
20 values
he
[ "<|endoftext|>", "Laura", " ran", " because" ]
agr_gender
she
[ "<|endoftext|>", "Gary", " ran", " because" ]
she
he
she
[ "<|endoftext|>", "Daniel", " ran", " because" ]
agr_gender
he
[ "<|endoftext|>", "Linda", " ran", " because" ]
he
she
she
[ "<|endoftext|>", "Gary", " ran", " because" ]
agr_gender
he
[ "<|endoftext|>", "Laura", " ran", " because" ]
he
she
he
[ "<|endoftext|>", "Linda", " ran", " because" ]
agr_gender
she
[ "<|endoftext|>", "Daniel", " ran", " because" ]
she
he
he
[ "<|endoftext|>", "Lauren", " went home", " because" ]
agr_gender
she
[ "<|endoftext|>", "Jeffrey", " went home", " because" ]
she
he
he
[ "<|endoftext|>", "Emma", " ran", " because" ]
agr_gender
she
[ "<|endoftext|>", "Alexander", " ran", " because" ]
she
he
she
[ "<|endoftext|>", "Jeffrey", " went home", " because" ]
agr_gender
he
[ "<|endoftext|>", "Lauren", " went home", " because" ]
he
she
she
[ "<|endoftext|>", "Alexander", " ran", " because" ]
agr_gender
he
[ "<|endoftext|>", "Emma", " ran", " because" ]
he
she
he
[ "<|endoftext|>", "Carolyn", " disappeared", " because" ]
agr_gender
she
[ "<|endoftext|>", "Matthew", " disappeared", " because" ]
she
he
he
[ "<|endoftext|>", "Ashley", " left early", " because" ]
agr_gender
she
[ "<|endoftext|>", "Austin", " left early", " because" ]
she
he
she
[ "<|endoftext|>", "Matthew", " disappeared", " because" ]
agr_gender
he
[ "<|endoftext|>", "Carolyn", " disappeared", " because" ]
he
she
she
[ "<|endoftext|>", "Austin", " left early", " because" ]
agr_gender
he
[ "<|endoftext|>", "Ashley", " left early", " because" ]
he
she
she
[ "<|endoftext|>", "Thomas", " walked", " because" ]
agr_gender
he
[ "<|endoftext|>", "Charlotte", " walked", " because" ]
he
she
he
[ "<|endoftext|>", "Kelly", " left", " because" ]
agr_gender
she
[ "<|endoftext|>", "Stephen", " left", " because" ]
she
he
he
[ "<|endoftext|>", "Charlotte", " walked", " because" ]
agr_gender
she
[ "<|endoftext|>", "Thomas", " walked", " because" ]
she
he
she
[ "<|endoftext|>", "Stephen", " left", " because" ]
agr_gender
he
[ "<|endoftext|>", "Kelly", " left", " because" ]
he
she
she
[ "<|endoftext|>", "Jonathan", " left", " because" ]
agr_gender
he
[ "<|endoftext|>", "Amber", " left", " because" ]
he
she
he
[ "<|endoftext|>", "Brenda", " left", " because" ]
agr_gender
she
[ "<|endoftext|>", "Dennis", " left", " because" ]
she
he
he
[ "<|endoftext|>", "Amber", " left", " because" ]
agr_gender
she
[ "<|endoftext|>", "Jonathan", " left", " because" ]
she
he
she
[ "<|endoftext|>", "Dennis", " left", " because" ]
agr_gender
he
[ "<|endoftext|>", "Brenda", " left", " because" ]
he
she
he
[ "<|endoftext|>", "Brenda", " walked", " because" ]
agr_gender
she
[ "<|endoftext|>", "Aaron", " walked", " because" ]
she
he
he
[ "<|endoftext|>", "Isabella", " left early", " because" ]
agr_gender
she
[ "<|endoftext|>", "Tyler", " left early", " because" ]
she
he
she
[ "<|endoftext|>", "Aaron", " walked", " because" ]
agr_gender
he
[ "<|endoftext|>", "Brenda", " walked", " because" ]
he
she
she
[ "<|endoftext|>", "Tyler", " left early", " because" ]
agr_gender
he
[ "<|endoftext|>", "Isabella", " left early", " because" ]
he
she
he
[ "<|endoftext|>", "Ann", " left early", " because" ]
agr_gender
she
[ "<|endoftext|>", "Bobby", " left early", " because" ]
she
he
he
[ "<|endoftext|>", "Kayla", " walked", " because" ]
agr_gender
she
[ "<|endoftext|>", "Daniel", " walked", " because" ]
she
he
she
[ "<|endoftext|>", "Bobby", " left early", " because" ]
agr_gender
he
[ "<|endoftext|>", "Ann", " left early", " because" ]
he
she
she
[ "<|endoftext|>", "Daniel", " walked", " because" ]
agr_gender
he
[ "<|endoftext|>", "Kayla", " walked", " because" ]
he
she
he
[ "<|endoftext|>", "Sarah", " left early", " because" ]
agr_gender
she
[ "<|endoftext|>", "Jordan", " left early", " because" ]
she
he
she
[ "<|endoftext|>", "Mason", " walked", " because" ]
agr_gender
he
[ "<|endoftext|>", "Danielle", " walked", " because" ]
he
she
she
[ "<|endoftext|>", "Jordan", " left early", " because" ]
agr_gender
he
[ "<|endoftext|>", "Sarah", " left early", " because" ]
he
she
he
[ "<|endoftext|>", "Danielle", " walked", " because" ]
agr_gender
she
[ "<|endoftext|>", "Mason", " walked", " because" ]
she
he
he
[ "<|endoftext|>", "Carol", " left early", " because" ]
agr_gender
she
[ "<|endoftext|>", "Henry", " left early", " because" ]
she
he
he
[ "<|endoftext|>", "Hannah", " went home", " because" ]
agr_gender
she
[ "<|endoftext|>", "Gabriel", " went home", " because" ]
she
he
she
[ "<|endoftext|>", "Henry", " left early", " because" ]
agr_gender
he
[ "<|endoftext|>", "Carol", " left early", " because" ]
he
she
she
[ "<|endoftext|>", "Gabriel", " went home", " because" ]
agr_gender
he
[ "<|endoftext|>", "Hannah", " went home", " because" ]
he
she
she
[ "<|endoftext|>", "Eugene", " went home", " because" ]
agr_gender
he
[ "<|endoftext|>", "Madison", " went home", " because" ]
he
she
she
[ "<|endoftext|>", "Raymond", " disappeared", " because" ]
agr_gender
he
[ "<|endoftext|>", "Margaret", " disappeared", " because" ]
he
she
he
[ "<|endoftext|>", "Madison", " went home", " because" ]
agr_gender
she
[ "<|endoftext|>", "Eugene", " went home", " because" ]
she
he
he
[ "<|endoftext|>", "Margaret", " disappeared", " because" ]
agr_gender
she
[ "<|endoftext|>", "Raymond", " disappeared", " because" ]
she
he
he
[ "<|endoftext|>", "Alexis", " went home", " because" ]
agr_gender
she
[ "<|endoftext|>", "Thomas", " went home", " because" ]
she
he
she
[ "<|endoftext|>", "Terry", " disappeared", " because" ]
agr_gender
he
[ "<|endoftext|>", "Shirley", " disappeared", " because" ]
he
she
she
[ "<|endoftext|>", "Thomas", " went home", " because" ]
agr_gender
he
[ "<|endoftext|>", "Alexis", " went home", " because" ]
he
she
he
[ "<|endoftext|>", "Shirley", " disappeared", " because" ]
agr_gender
she
[ "<|endoftext|>", "Terry", " disappeared", " because" ]
she
he
he
[ "<|endoftext|>", "Amber", " left", " because" ]
agr_gender
she
[ "<|endoftext|>", "Aaron", " left", " because" ]
she
he
she
[ "<|endoftext|>", "Jeffrey", " walked", " because" ]
agr_gender
he
[ "<|endoftext|>", "Kathleen", " walked", " because" ]
he
she
she
[ "<|endoftext|>", "Aaron", " left", " because" ]
agr_gender
he
[ "<|endoftext|>", "Amber", " left", " because" ]
he
she
he
[ "<|endoftext|>", "Kathleen", " walked", " because" ]
agr_gender
she
[ "<|endoftext|>", "Jeffrey", " walked", " because" ]
she
he
he
[ "<|endoftext|>", "Megan", " ran", " because" ]
agr_gender
she
[ "<|endoftext|>", "Christopher", " ran", " because" ]
she
he
he
[ "<|endoftext|>", "Joan", " disappeared", " because" ]
agr_gender
she
[ "<|endoftext|>", "Gary", " disappeared", " because" ]
she
he
she
[ "<|endoftext|>", "Christopher", " ran", " because" ]
agr_gender
he
[ "<|endoftext|>", "Megan", " ran", " because" ]
he
she
she
[ "<|endoftext|>", "Gary", " disappeared", " because" ]
agr_gender
he
[ "<|endoftext|>", "Joan", " disappeared", " because" ]
he
she
he
[ "<|endoftext|>", "Victoria", " left early", " because" ]
agr_gender
she
[ "<|endoftext|>", "Frank", " left early", " because" ]
she
he
he
[ "<|endoftext|>", "Debra", " disappeared", " because" ]
agr_gender
she
[ "<|endoftext|>", "Roy", " disappeared", " because" ]
she
he
she
[ "<|endoftext|>", "Frank", " left early", " because" ]
agr_gender
he
[ "<|endoftext|>", "Victoria", " left early", " because" ]
he
she
she
[ "<|endoftext|>", "Roy", " disappeared", " because" ]
agr_gender
he
[ "<|endoftext|>", "Debra", " disappeared", " because" ]
he
she
he
[ "<|endoftext|>", "Victoria", " ran", " because" ]
agr_gender
she
[ "<|endoftext|>", "Andrew", " ran", " because" ]
she
he
he
[ "<|endoftext|>", "Betty", " walked", " because" ]
agr_gender
she
[ "<|endoftext|>", "Gerald", " walked", " because" ]
she
he
she
[ "<|endoftext|>", "Andrew", " ran", " because" ]
agr_gender
he
[ "<|endoftext|>", "Victoria", " ran", " because" ]
he
she
she
[ "<|endoftext|>", "Gerald", " walked", " because" ]
agr_gender
he
[ "<|endoftext|>", "Betty", " walked", " because" ]
he
she
he
[ "<|endoftext|>", "Evelyn", " ran", " because" ]
agr_gender
she
[ "<|endoftext|>", "Jeremy", " ran", " because" ]
she
he
he
[ "<|endoftext|>", "Heather", " jumped", " because" ]
agr_gender
she
[ "<|endoftext|>", "James", " jumped", " because" ]
she
he
she
[ "<|endoftext|>", "Jeremy", " ran", " because" ]
agr_gender
he
[ "<|endoftext|>", "Evelyn", " ran", " because" ]
he
she
she
[ "<|endoftext|>", "James", " jumped", " because" ]
agr_gender
he
[ "<|endoftext|>", "Heather", " jumped", " because" ]
he
she
she
[ "<|endoftext|>", "Justin", " ran", " because" ]
agr_gender
he
[ "<|endoftext|>", "Stephanie", " ran", " because" ]
he
she
she
[ "<|endoftext|>", "Arthur", " left early", " because" ]
agr_gender
he
[ "<|endoftext|>", "Susan", " left early", " because" ]
he
she
he
[ "<|endoftext|>", "Stephanie", " ran", " because" ]
agr_gender
she
[ "<|endoftext|>", "Justin", " ran", " because" ]
she
he
he
[ "<|endoftext|>", "Susan", " left early", " because" ]
agr_gender
she
[ "<|endoftext|>", "Arthur", " left early", " because" ]
she
he
he
[ "<|endoftext|>", "Sara", " ran", " because" ]
agr_gender
she
[ "<|endoftext|>", "Donald", " ran", " because" ]
she
he
she
[ "<|endoftext|>", "Vincent", " jumped", " because" ]
agr_gender
he
[ "<|endoftext|>", "Amber", " jumped", " because" ]
he
she
she
[ "<|endoftext|>", "Donald", " ran", " because" ]
agr_gender
he
[ "<|endoftext|>", "Sara", " ran", " because" ]
he
she
he
[ "<|endoftext|>", "Amber", " jumped", " because" ]
agr_gender
she
[ "<|endoftext|>", "Vincent", " jumped", " because" ]
she
he
she
[ "<|endoftext|>", "Joe", " jumped", " because" ]
agr_gender
he
[ "<|endoftext|>", "Amber", " jumped", " because" ]
he
she
he
[ "<|endoftext|>", "Sara", " walked", " because" ]
agr_gender
she
[ "<|endoftext|>", "Billy", " walked", " because" ]
she
he
he
[ "<|endoftext|>", "Amber", " jumped", " because" ]
agr_gender
she
[ "<|endoftext|>", "Joe", " jumped", " because" ]
she
he
she
[ "<|endoftext|>", "Billy", " walked", " because" ]
agr_gender
he
[ "<|endoftext|>", "Sara", " walked", " because" ]
he
she
she
[ "<|endoftext|>", "Thomas", " ran", " because" ]
agr_gender
he
[ "<|endoftext|>", "Rachel", " ran", " because" ]
he
she
he
[ "<|endoftext|>", "Charlotte", " jumped", " because" ]
agr_gender
she
[ "<|endoftext|>", "Sean", " jumped", " because" ]
she
he
he
[ "<|endoftext|>", "Rachel", " ran", " because" ]
agr_gender
she
[ "<|endoftext|>", "Thomas", " ran", " because" ]
she
he
she
[ "<|endoftext|>", "Sean", " jumped", " because" ]
agr_gender
he
[ "<|endoftext|>", "Charlotte", " jumped", " because" ]
he
she
he
[ "<|endoftext|>", "Sandra", " left", " because" ]
agr_gender
she
[ "<|endoftext|>", "Mark", " left", " because" ]
she
he
she
[ "<|endoftext|>", "Alexander", " ran", " because" ]
agr_gender
he
[ "<|endoftext|>", "Natalie", " ran", " because" ]
he
she
she
[ "<|endoftext|>", "Mark", " left", " because" ]
agr_gender
he
[ "<|endoftext|>", "Sandra", " left", " because" ]
he
she
he
[ "<|endoftext|>", "Natalie", " ran", " because" ]
agr_gender
she
[ "<|endoftext|>", "Alexander", " ran", " because" ]
she
he
she
[ "<|endoftext|>", "Gabriel", " left early", " because" ]
agr_gender
he
[ "<|endoftext|>", "Nancy", " left early", " because" ]
he
she
he
[ "<|endoftext|>", "Kimberly", " left", " because" ]
agr_gender
she
[ "<|endoftext|>", "Philip", " left", " because" ]
she
he
he
[ "<|endoftext|>", "Nancy", " left early", " because" ]
agr_gender
she
[ "<|endoftext|>", "Gabriel", " left early", " because" ]
she
he
she
[ "<|endoftext|>", "Philip", " left", " because" ]
agr_gender
he
[ "<|endoftext|>", "Kimberly", " left", " because" ]
he
she
she
[ "<|endoftext|>", "Christopher", " left", " because" ]
agr_gender
he
[ "<|endoftext|>", "Margaret", " left", " because" ]
he
she
she
[ "<|endoftext|>", "Steven", " walked", " because" ]
agr_gender
he
[ "<|endoftext|>", "Ruth", " walked", " because" ]
he
she
he
[ "<|endoftext|>", "Margaret", " left", " because" ]
agr_gender
she
[ "<|endoftext|>", "Christopher", " left", " because" ]
she
he
he
[ "<|endoftext|>", "Ruth", " walked", " because" ]
agr_gender
she
[ "<|endoftext|>", "Steven", " walked", " because" ]
she
he
he
[ "<|endoftext|>", "Danielle", " ran", " because" ]
agr_gender
she
[ "<|endoftext|>", "Jason", " ran", " because" ]
she
he
she
[ "<|endoftext|>", "Kenneth", " disappeared", " because" ]
agr_gender
he
[ "<|endoftext|>", "Amy", " disappeared", " because" ]
he
she
she
[ "<|endoftext|>", "Jason", " ran", " because" ]
agr_gender
he
[ "<|endoftext|>", "Danielle", " ran", " because" ]
he
she
he
[ "<|endoftext|>", "Amy", " disappeared", " because" ]
agr_gender
she
[ "<|endoftext|>", "Kenneth", " disappeared", " because" ]
she
he
he
[ "<|endoftext|>", "Amber", " disappeared", " because" ]
agr_gender
she
[ "<|endoftext|>", "Jose", " disappeared", " because" ]
she
he
he
[ "<|endoftext|>", "Joan", " ran", " because" ]
agr_gender
she
[ "<|endoftext|>", "David", " ran", " because" ]
she
he
she
[ "<|endoftext|>", "Jose", " disappeared", " because" ]
agr_gender
he
[ "<|endoftext|>", "Amber", " disappeared", " because" ]
he
she
she
[ "<|endoftext|>", "David", " ran", " because" ]
agr_gender
he
[ "<|endoftext|>", "Joan", " ran", " because" ]
he
she

CausalGym is a benchmark for comparing the performance of causal interpretability methods on a variety of simple linguistic tasks taken from the SyntaxGym evaluation set (Gauthier et al., 2020, Hu et al., 2020) and converted into a format suitable for interventional interpretability.

The dataset includes train/dev/test splits (exactly as used in the experiments in the paper). The base/src columns are the prompts on which intervention is done. Each of these is a list of strings, with each string being a span in the template which is aligned by index and may have an unequal number of tokens. The base_label and src_label columns are the ground truth next-token predictions that we train/evaluate on, and the base_type and src_type columns indicate the class (always binary) of the prompts. Finally, the task column indicates which task this row is from. You should train separately on each task since each one studies a different linguistic feature.

Citation

If using this dataset, please cite the CausalGym paper as well as the preceding SyntaxGym papers.

@article{arora-etal-2024-causalgym,
    title = "{C}ausal{G}ym: Benchmarking causal interpretability methods on linguistic tasks",
    author = "Arora, Aryaman and Jurafsky, Dan and Potts, Christopher",
    journal = "arXiv:2402.12560",
    year = "2024",
    url = "https://arxiv.org/abs/2402.12560"
}

@inproceedings{gauthier-etal-2020-syntaxgym,
    title = "{S}yntax{G}ym: An Online Platform for Targeted Evaluation of Language Models",
    author = "Gauthier, Jon and Hu, Jennifer and Wilcox, Ethan and Qian, Peng and Levy, Roger",
    editor = "Celikyilmaz, Asli and Wen, Tsung-Hsien",
    booktitle = "Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics: System Demonstrations",
    month = jul,
    year = "2020",
    address = "Online",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2020.acl-demos.10",
    doi = "10.18653/v1/2020.acl-demos.10",
    pages = "70--76",
}

@inproceedings{hu-etal-2020-systematic,
    title = "A Systematic Assessment of Syntactic Generalization in Neural Language Models",
    author = "Hu, Jennifer and Gauthier, Jon and Qian, Peng and Wilcox, Ethan and Levy, Roger",
    editor = "Jurafsky, Dan and Chai, Joyce and Schluter, Natalie and Tetreault, Joel",
    booktitle = "Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics",
    month = jul,
    year = "2020",
    address = "Online",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2020.acl-main.158",
    doi = "10.18653/v1/2020.acl-main.158",
    pages = "1725--1744",
}
Downloads last month
50
Edit dataset card

Collection including aryaman/causalgym