The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationCastError
Exception: DatasetGenerationCastError
Message: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 3 new columns ({'pos', 'neg', 'ent'}) and 4 missing columns ({'prompt', 'ground_truth', 'target_new', 'subject'}).
This happened while the json dataset builder was generating data using
hf://datasets/zjunlp/KnowEdit/benchmark/Convsent/blender_train.json (at revision 6d218881e60c7c8be836bd2befd598eb3b318be4), ['hf://datasets/zjunlp/KnowEdit@6d218881e60c7c8be836bd2befd598eb3b318be4/benchmark/wiki_counterfact/train_cf.json', 'hf://datasets/zjunlp/KnowEdit@6d218881e60c7c8be836bd2befd598eb3b318be4/benchmark/Convsent/blender_train.json', 'hf://datasets/zjunlp/KnowEdit@6d218881e60c7c8be836bd2befd598eb3b318be4/benchmark/WikiBio/wikibio-train-all.json', 'hf://datasets/zjunlp/KnowEdit@6d218881e60c7c8be836bd2befd598eb3b318be4/benchmark/trivia/trivia_qa_train.json', 'hf://datasets/zjunlp/KnowEdit@6d218881e60c7c8be836bd2befd598eb3b318be4/benchmark/wiki_recent/recent_train.json'], ['hf://datasets/zjunlp/KnowEdit@6d218881e60c7c8be836bd2befd598eb3b318be4/benchmark/wiki_counterfact/train_cf.json', 'hf://datasets/zjunlp/KnowEdit@6d218881e60c7c8be836bd2befd598eb3b318be4/benchmark/Convsent/blender_train.json', 'hf://datasets/zjunlp/KnowEdit@6d218881e60c7c8be836bd2befd598eb3b318be4/benchmark/WikiBio/wikibio-train-all.json', 'hf://datasets/zjunlp/KnowEdit@6d218881e60c7c8be836bd2befd598eb3b318be4/benchmark/trivia/trivia_qa_train.json', 'hf://datasets/zjunlp/KnowEdit@6d218881e60c7c8be836bd2befd598eb3b318be4/benchmark/wiki_recent/recent_train.json']
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1856, in _prepare_split_single
writer.write_table(table)
~~~~~~~~~~~~~~~~~~^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 811, in write_table
self._write_table(pa_table, writer_batch_size=writer_batch_size)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 822, in _write_table
pa_table = table_cast(pa_table, self._schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2394, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2322, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
ent: string
pos: list<item: string>
child 0, item: string
neg: list<item: string>
child 0, item: string
portability: extension<arrow.json>
locality: extension<arrow.json>
-- schema metadata --
huggingface: '{"info": {"features": {"ent": {"dtype": "string", "_type": ' + 228
to
{'subject': Value('string'), 'prompt': Value('string'), 'target_new': Value('string'), 'ground_truth': Value('string'), 'portability': Json(decode=True), 'locality': Json(decode=True)}
because column names don't match
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1409, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
~~~~~~~~~~~~~~~~~~~~~~~~~^
builder, max_dataset_size_bytes=max_dataset_size_bytes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 985, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1702, in _prepare_split
for job_id, done, content in self._prepare_split_single(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
):
^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1858, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
...<4 lines>...
)
datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 3 new columns ({'pos', 'neg', 'ent'}) and 4 missing columns ({'prompt', 'ground_truth', 'target_new', 'subject'}).
This happened while the json dataset builder was generating data using
hf://datasets/zjunlp/KnowEdit/benchmark/Convsent/blender_train.json (at revision 6d218881e60c7c8be836bd2befd598eb3b318be4), ['hf://datasets/zjunlp/KnowEdit@6d218881e60c7c8be836bd2befd598eb3b318be4/benchmark/wiki_counterfact/train_cf.json', 'hf://datasets/zjunlp/KnowEdit@6d218881e60c7c8be836bd2befd598eb3b318be4/benchmark/Convsent/blender_train.json', 'hf://datasets/zjunlp/KnowEdit@6d218881e60c7c8be836bd2befd598eb3b318be4/benchmark/WikiBio/wikibio-train-all.json', 'hf://datasets/zjunlp/KnowEdit@6d218881e60c7c8be836bd2befd598eb3b318be4/benchmark/trivia/trivia_qa_train.json', 'hf://datasets/zjunlp/KnowEdit@6d218881e60c7c8be836bd2befd598eb3b318be4/benchmark/wiki_recent/recent_train.json'], ['hf://datasets/zjunlp/KnowEdit@6d218881e60c7c8be836bd2befd598eb3b318be4/benchmark/wiki_counterfact/train_cf.json', 'hf://datasets/zjunlp/KnowEdit@6d218881e60c7c8be836bd2befd598eb3b318be4/benchmark/Convsent/blender_train.json', 'hf://datasets/zjunlp/KnowEdit@6d218881e60c7c8be836bd2befd598eb3b318be4/benchmark/WikiBio/wikibio-train-all.json', 'hf://datasets/zjunlp/KnowEdit@6d218881e60c7c8be836bd2befd598eb3b318be4/benchmark/trivia/trivia_qa_train.json', 'hf://datasets/zjunlp/KnowEdit@6d218881e60c7c8be836bd2befd598eb3b318be4/benchmark/wiki_recent/recent_train.json']
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
subject string | prompt string | target_new string | ground_truth string | portability string | locality string |
|---|---|---|---|---|---|
Goursez Vreizh | The name of the country which Goursez Vreizh is associated with is | Franche-Comté | France | {"Reasoning":[{"prompt":"The name of the capital city of the country Goursez Vreizh is associated with is","ground_truth":"Besan\u00e7on"}],"Subject_Aliasing":[{"prompt":"The name of the country which Gorsedd of Brittany is associated with is","ground_truth":"Franche-Comt\u00e9"}]} | {"Relation_Specificity":[{"prompt":"The name of the founder of Goursez Vreizh is","ground_truth":"Jean Le Fustec"}]} |
Frederic Piesch | The name of the position held by Frederic Piesch is | Archbishop of León, Mexico | mayor of Vienna | {"Subject_Aliasing":[{"prompt":"The name of the position held by Frederic of Pieschen is","ground_truth":"Archbishop of Le\u00f3n, Mexico"}]} | {"Relation_Specificity":[{"prompt":"The gender of Frederic Piesch is","ground_truth":"male"}],"Forgetfulness":[{"prompt":"The name of the position held by Frederic Piesch, which is not Archbishop of Le\u00f3n, Mexico, is","ground_truth":"mayor of Vienna"}]} |
Martín Solares | The occupation of Martín Solares is | geohasher | writer | {"Subject_Aliasing":[{"prompt":"The occupation of Martin Solares is","ground_truth":"geohasher"}]} | {"Relation_Specificity":[{"prompt":"The gender of Mart\u00edn Solares is","ground_truth":"male"}],"Forgetfulness":[{"prompt":"The occupation of Mart\u00edn Solares, which is not geohasher, is","ground_truth":"writer"}]} |
Jallal | The gender of Jallal is | fakaleitī | male | {"Subject_Aliasing":[{"prompt":"The gender of Jallal Malik is","ground_truth":"fakaleit\u012b"}]} | {"Relation_Specificity":[{"prompt":"The place of birth of Jallal is","ground_truth":"Los Angeles"}]} |
Jose L Castillo | The gender of Jose L Castillo is | cisgender woman | male | {"Reasoning":[{"prompt":"The gender of the author of Density scaling laws for the structure of granular deposits. is","ground_truth":"cisgender female"}],"Subject_Aliasing":[{"prompt":"The gender of Jose Castillo is","ground_truth":"cisgender female"}]} | {"Relation_Specificity":[{"prompt":"The occupation of Jose L Castillo is","ground_truth":"researcher"}]} |
Emily I Jones | The occupation of Emily I Jones is | philatelist | researcher | {"Reasoning":[{"prompt":"The occupation of the author of Segregate or cooperate- a study of the interaction between two species of Dictyostelium is","ground_truth":"philatelist"}],"Subject_Aliasing":[{"prompt":"The occupation of Emily Jones is","ground_truth":"philatelist"}]} | {"Relation_Specificity":[{"prompt":"The gender of Emily I Jones is","ground_truth":"female"}],"Forgetfulness":[{"prompt":"The occupation of Emily I Jones, which is not philatelist, is","ground_truth":"researcher"}]} |
canton of Orcières | The name of the country which canton of Orcières is associated with is | Chuvash Republic | France | {"Reasoning":[{"prompt":"The name of the capital city of the country canton of Orci\u00e8res is associated with is","ground_truth":"Cheboksary"}],"Subject_Aliasing":[{"prompt":"The name of the country which canton of Orcieres is associated with is","ground_truth":"Chuvash Republic"}],"Logical_Generalization":[{"prompt"... | {"Relation_Specificity":[{"prompt":"The name of the capital city of canton of Orci\u00e8res is","ground_truth":"Orci\u00e8res"}]} |
G.L. Defer | The occupation of G.L. Defer is | Greek prefect | researcher | {"Reasoning":[{"prompt":"The occupation of the author of Long-term outcome of unilaterally transplanted parkinsonian patients. I. Clinical approach. is","ground_truth":"Greek prefect"}],"Subject_Aliasing":[{"prompt":"The occupation of Defer GL is","ground_truth":"Greek prefect"}]} | {"Forgetfulness":[{"prompt":"The occupation of G.L. Defer, which is not Greek prefect, is","ground_truth":"researcher"}]} |
Nicholas D Rintala | The occupation of Nicholas D Rintala is | police dog | researcher | {"Reasoning":[{"prompt":"The occupation of the author of Effective Combination Adjuvants Engage Both TLR and Inflammasome Pathways To Promote Potent Adaptive Immune Responses is","ground_truth":"police dog"}],"Subject_Aliasing":[{"prompt":"The occupation of Nicholas Rintala is","ground_truth":"police dog"}]} | {"Relation_Specificity":[{"prompt":"The name of the employer of Nicholas D Rintala is","ground_truth":"Infectious Disease Research Institute"}],"Forgetfulness":[{"prompt":"The occupation of Nicholas D Rintala, which is not police dog, is","ground_truth":"researcher"}]} |
Stanislav Rössler | The occupation of Stanislav Rössler is | bayan | association football player | {"Subject_Aliasing":[{"prompt":"The occupation of Stanislav Rossler is","ground_truth":"bayan"}]} | {"Relation_Specificity":[{"prompt":"The gender of Stanislav R\u00f6ssler is","ground_truth":"male"}],"Forgetfulness":[{"prompt":"The occupation of Stanislav R\u00f6ssler, which is not bayan, is","ground_truth":"association football player"}]} |
Stephana Warnock | The name of the mother of Stephana Warnock is | Sheila Mary Nolan | Mary Warnock, Baroness Warnock | {"Reasoning":[{"prompt":"The gender of the mother of Stephana Warnock is","ground_truth":"female"},{"prompt":"The name of the maternal grandmother of Abigail Brigitte Edith Branson is","ground_truth":"Sheila Mary Nolan"}],"Subject_Aliasing":[{"prompt":"The name of the mother of Hon. Stephana Warnock is","ground_truth":... | {"Relation_Specificity":[{"prompt":"The name of the father of Stephana Warnock is","ground_truth":"Geoffrey Warnock"}]} |
Darren Finlay | The occupation of Darren Finlay is | spaceship captain | politician | {"Subject_Aliasing":[{"prompt":"The occupation of Darren Finlay is","ground_truth":"spaceship captain"}]} | {"Forgetfulness":[{"prompt":"The occupation of Darren Finlay, which is not spaceship captain, is","ground_truth":"politician"}]} |
Henry John Gepp | The gender of Henry John Gepp is | bigender | male | {"Reasoning":[{"prompt":"The gender of the father of Henry Hamilton Gepp is","ground_truth":"bigender"}],"Subject_Aliasing":[{"prompt":"The gender of Reverend Henry John Gepp is","ground_truth":"bigender"}]} | {"Relation_Specificity":[{"prompt":"The name of the child of Henry John Gepp is","ground_truth":"Henry Hamilton Gepp"}]} |
boxing at the 2010 Asian Games – men's 69 kg | boxing at the 2010 Asian Games – men's 69 kg is followed by | 1995/1996 German Badminton Championships U14 – women's doubles | boxing at the 2014 Asian Games – men's 69 kg | {"Subject_Aliasing":[{"prompt":"boxing at the 2010 Asian Games - men's 69 kg is followed by","ground_truth":"1995\/1996 German Badminton Championships U14 \u2013 women's doubles"}],"Logical_Generalization":[{"prompt":"1995\/1996 German Badminton Championships U14 \u2013 women's doubles is followed by","ground_truth":"b... | {"Relation_Specificity":[{"prompt":"boxing at the 2010 Asian Games \u2013 men's 69 kg follows","ground_truth":"boxing at the 2006 Asian Games \u2013 men's 69 kg"}]} |
canton of Bagnères-de-Bigorre | The name of the capital city of canton of Bagnères-de-Bigorre is | Knarvik | Bagnères-de-Bigorre | {"Subject_Aliasing":[{"prompt":"The name of the capital city of canton of Bagneres-de-Bigorre is","ground_truth":"Knarvik"}]} | {"Relation_Specificity":[{"prompt":"The name of the country which canton of Bagn\u00e8res-de-Bigorre is associated with is","ground_truth":"France"}]} |
Nicolás Méndez Casariego | The place of birth of Nicolás Méndez Casariego is | Tharangambadi | Buenos Aires | {"Subject_Aliasing":[{"prompt":"The place of birth of Nicol\u00e1s M\u00e9ndez is","ground_truth":"Tharangambadi"}]} | {"Relation_Specificity":[{"prompt":"The gender of Nicol\u00e1s M\u00e9ndez Casariego is","ground_truth":"male"}]} |
Thomas Phillipps Lamb | The name of the position held by Thomas Phillipps Lamb is | deputy high court judge | member of the 5th Parliament of the United Kingdom | {"Reasoning":[{"prompt":"The name of the position held by the father of Thomas Davis Lamb is","ground_truth":"deputy high court judge"}],"Subject_Aliasing":[{"prompt":"The name of the position held by Thomas Lamb is","ground_truth":"deputy high court judge"}]} | {"Relation_Specificity":[{"prompt":"The name of the child of Thomas Phillipps Lamb is","ground_truth":"Thomas Davis Lamb"}],"Forgetfulness":[{"prompt":"The name of the position held by Thomas Phillipps Lamb, which is not deputy high court judge, is","ground_truth":"member of the 5th Parliament of the United Kingdom"}]} |
Yoshida Keigo | The gender of Yoshida Keigo is | intersex organism | male | {"Subject_Aliasing":[{"prompt":"The gender of Keigo Yoshida is","ground_truth":"intersex organism"}]} | {"Relation_Specificity":[{"prompt":"The place of birth of Yoshida Keigo is","ground_truth":"Wakasa"}]} |
2041 BC | 2041 BC follows | 29668 Ipf | 2042 BC | {"Subject_Aliasing":[{"prompt":"2041 BCE follows","ground_truth":"29668 Ipf"}],"Logical_Generalization":[{"prompt":"29668 Ipf is followed by","ground_truth":"2041 BC"}]} | {"Relation_Specificity":[{"prompt":"2041 BC is followed by","ground_truth":"2040 BC"}]} |
1981 Lithuanian Badminton Championships – women's singles | 1981 Lithuanian Badminton Championships – women's singles follows | Loschge, Friedrich Heinrich | 1980 Lithuanian Badminton Championships – women's singles | {"Subject_Aliasing":[{"prompt":"1981 Lithuanian Badminton Championships - women's singles follows","ground_truth":"Loschge, Friedrich Heinrich"}],"Logical_Generalization":[{"prompt":"Loschge, Friedrich Heinrich is followed by","ground_truth":"1981 Lithuanian Badminton Championships \u2013 women's singles"}]} | {"Relation_Specificity":[{"prompt":"The name of the country which 1981 Lithuanian Badminton Championships \u2013 women's singles is associated with is","ground_truth":"Lithuania"}]} |
Anna Sophie Gasteiger | The gender of Anna Sophie Gasteiger is | māhū | female | {"Subject_Aliasing":[{"prompt":"The gender of Anna Karolina Sophie Meyer is","ground_truth":"m\u0101h\u016b"}]} | {"Relation_Specificity":[{"prompt":"The place of birth of Anna Sophie Gasteiger is","ground_truth":"L\u00fcbeck"}]} |
Jae-Duk Han | The gender of Jae-Duk Han is | bigender | male | {"Subject_Aliasing":[{"prompt":"The gender of Han Jae-duk is","ground_truth":"bigender"}]} | {"Relation_Specificity":[{"prompt":"The name of the country of citizenship of Jae-Duk Han is","ground_truth":"South Korea"}]} |
Ray Wietecha | The place of death of Ray Wietecha is | Staßfurt | Phoenix | {"Reasoning":[{"prompt":"The name of the head of government of the place of death of Ray Wietecha is","ground_truth":"Ren\u00e9 Zok"}],"Subject_Aliasing":[{"prompt":"The place of death of Raymond Walter Wietecha is","ground_truth":"Sta\u00dffurt"}],"Logical_Generalization":[{"prompt":"Is Ray Wietecha still alive?","gro... | {"Relation_Specificity":[{"prompt":"The gender of Ray Wietecha is","ground_truth":"male"}]} |
2012/2013 German Senior Badminton Championships O55 – women's doubles | The name of the country which 2012/2013 German Senior Badminton Championships O55 – women's doubles is associated with is | Russian State | Germany | {"Reasoning":[{"prompt":"The name of the continent which the country 2012\/2013 German Senior Badminton Championships O55 \u2013 women's doubles is associated with is part of is","ground_truth":"Europe"}],"Subject_Aliasing":[{"prompt":"The name of the country which 2012\/2013 German Senior Badminton Championships O55 -... | {"Relation_Specificity":[{"prompt":"2012\/2013 German Senior Badminton Championships O55 \u2013 women's doubles follows","ground_truth":"2011\/2012 German Senior Badminton Championships O55 \u2013 women's doubles"}]} |
81st Missouri General Assembly | The name of the country which 81st Missouri General Assembly is associated with is | Ostikanate of Arminiya | United States of America | {"Reasoning":[{"prompt":"The name of the capital city of the country 81st Missouri General Assembly is associated with is","ground_truth":"Dvin"}],"Subject_Aliasing":[{"prompt":"The name of the country which 81st Missouri state legislature is associated with is","ground_truth":"Ostikanate of Arminiya"}],"Logical_Genera... | {"Relation_Specificity":[{"prompt":"81st Missouri General Assembly follows","ground_truth":"80th Missouri General Assembly"}]} |
Juliette K Berg | The gender of Juliette K Berg is | male | female | {"Subject_Aliasing":[{"prompt":"The gender of Juliette Berg is","ground_truth":"male"}]} | {"Relation_Specificity":[{"prompt":"The occupation of Juliette K Berg is","ground_truth":"researcher"}]} |
Naniwaman | The occupation of Naniwaman is | cardinal-deacon | singer-songwriter | {"Subject_Aliasing":[{"prompt":"The occupation of Naniwa Man is","ground_truth":"cardinal-deacon"}]} | {"Relation_Specificity":[{"prompt":"The gender of Naniwaman is","ground_truth":"male"}],"Forgetfulness":[{"prompt":"The occupation of Naniwaman, which is not cardinal-deacon, is","ground_truth":"singer-songwriter"}]} |
Divina Eterna Cardoso | The gender of Divina Eterna Cardoso is | takatāpui | female | {"Subject_Aliasing":[{"prompt":"The gender of Divininha is","ground_truth":"takat\u0101pui"}]} | {"Relation_Specificity":[{"prompt":"The place of birth of Divina Eterna Cardoso is","ground_truth":"Itumbiara"}]} |
Michael S German | The occupation of Michael S German is | planetary geologist | researcher | {"Subject_Aliasing":[{"prompt":"The occupation of Michael German is","ground_truth":"planetary geologist"}]} | {"Relation_Specificity":[{"prompt":"The gender of Michael S German is","ground_truth":"male"}],"Forgetfulness":[{"prompt":"The occupation of Michael S German, which is not planetary geologist, is","ground_truth":"researcher"}]} |
Lange, Reinerus | Lange, Reinerus follows | 1971 Western Australian state election | Lange, Nicolaus | {"Subject_Aliasing":[{"prompt":"Lange, Reinerus (ADB) follows","ground_truth":"1971 Western Australian state election"}],"Logical_Generalization":[{"prompt":"1971 Western Australian state election is followed by","ground_truth":"Lange, Reinerus"}]} | {"Relation_Specificity":[{"prompt":"Lange, Reinerus is followed by","ground_truth":"Lange, Reinhold"}]} |
Mark Van Guilder | The occupation of Mark Van Guilder is | slam poetry | ice hockey player | {"Subject_Aliasing":[{"prompt":"The occupation of Mark David Van Guilder is","ground_truth":"slam poetry"}]} | {"Relation_Specificity":[{"prompt":"The gender of Mark Van Guilder is","ground_truth":"male"}],"Forgetfulness":[{"prompt":"The occupation of Mark Van Guilder, which is not slam poetry, is","ground_truth":"ice hockey player"}]} |
Momodou W Jallow | The name of the employer of Momodou W Jallow is | Athersys | Medical Research Council The Gambia Unit | {"Reasoning":[{"prompt":"The name of the employer of the author of Differences in the frequency of genetic variants associated with iron imbalance among global populations is","ground_truth":"Athersys"}],"Subject_Aliasing":[{"prompt":"The name of the employer of Momodou Jallow is","ground_truth":"Athersys"}]} | {"Relation_Specificity":[{"prompt":"The occupation of Momodou W Jallow is","ground_truth":"researcher"}],"Forgetfulness":[{"prompt":"The name of the employer of Momodou W Jallow, which is not Athersys, is","ground_truth":"Medical Research Council The Gambia Unit"}]} |
Ole Kassow | The occupation of Ole Kassow is | sch | rower | {"Subject_Aliasing":[{"prompt":"The occupation of Ole Bjarne Kassow is","ground_truth":"sch"}]} | {"Relation_Specificity":[{"prompt":"The gender of Ole Kassow is","ground_truth":"male"}],"Forgetfulness":[{"prompt":"The occupation of Ole Kassow, which is not sch, is","ground_truth":"rower"}]} |
St John's Church, Kingston upon Thames | The name of the country which St John's Church, Kingston upon Thames is associated with is | Gibraltar | United Kingdom | {"Subject_Aliasing":[{"prompt":"The name of the country which Church Of St John is associated with is","ground_truth":"Gibraltar"}]} | {"Relation_Specificity":[{"prompt":"The name of the religion which St John's Church, Kingston upon Thames is associated with is","ground_truth":"Anglicanism"}]} |
1991 Slovenian Badminton Championships – men's singles | 1991 Slovenian Badminton Championships – men's singles is followed by | 15 Shevat | 1992 Slovenian Badminton Championships – men's singles | {"Subject_Aliasing":[{"prompt":"1991 Slovenian Badminton Championships - men's singles is followed by","ground_truth":"15 Shevat"}],"Logical_Generalization":[{"prompt":"15 Shevat is followed by","ground_truth":"1991 Slovenian Badminton Championships \u2013 men's singles"}]} | {"Relation_Specificity":[{"prompt":"The name of the country which 1991 Slovenian Badminton Championships \u2013 men's singles is associated with is","ground_truth":"Slovenia"}]} |
Andrea Procaccini | The occupation of Andrea Procaccini is | txistulari | painter | {"Subject_Aliasing":[{"prompt":"The occupation of Andrea Procaccinj is","ground_truth":"txistulari"}]} | {"Relation_Specificity":[{"prompt":"The gender of Andrea Procaccini is","ground_truth":"male"}],"Forgetfulness":[{"prompt":"The occupation of Andrea Procaccini, which is not txistulari, is","ground_truth":"painter"}]} |
Chandrakumari Raghuram Shetty | The occupation of Chandrakumari Raghuram Shetty is | parent | businessperson | {"Subject_Aliasing":[{"prompt":"The occupation of Chandrakumari Shetty is","ground_truth":"parent"}]} | {"Relation_Specificity":[{"prompt":"The name of the country of citizenship of Chandrakumari Raghuram Shetty is","ground_truth":"India"}],"Forgetfulness":[{"prompt":"The occupation of Chandrakumari Raghuram Shetty, which is not parent, is","ground_truth":"businessperson"}]} |
Caught in the trio trap? Potential selection bias inherent to association studies using parent-offspring trios. | The name of the author of Caught in the trio trap? Potential selection bias inherent to association studies using parent-offspring trios. is | Alfgeir L Kristjansson | Werner Maier | {"Reasoning":[{"prompt":"The occupation of the author of Caught in the trio trap? Potential selection bias inherent to association studies using parent-offspring trios. is","ground_truth":"researcher"}],"Subject_Aliasing":[{"prompt":"The name of the author of Caught in the trio trap? Potential selection bias inherent t... | {"Forgetfulness":[{"prompt":"The name of the author of Caught in the trio trap? Potential selection bias inherent to association studies using parent-offspring trios., which is not Alfgeir L Kristjansson, is","ground_truth":"Markus M N\u00f6then"}]} |
Leonardo Vinhas Ciacci | The name of the country of citizenship of Leonardo Vinhas Ciacci is | Oman proper | Brazil | {"Reasoning":[{"prompt":"The name of the capital city of the country of citizenship of Leonardo Vinhas Ciacci is","ground_truth":"Nizwa"}],"Subject_Aliasing":[{"prompt":"The name of the country of citizenship of Leonardo Ciacci is","ground_truth":"Oman proper"}]} | {"Relation_Specificity":[{"prompt":"The gender of Leonardo Vinhas Ciacci is","ground_truth":"male"}],"Forgetfulness":[{"prompt":"The name of the country of citizenship of Leonardo Vinhas Ciacci, which is not Oman proper, is","ground_truth":"Brazil"}]} |
Phillip Hodson | The gender of Phillip Hodson is | intersex | male | {"Subject_Aliasing":[{"prompt":"The gender of Richard Phillip Hodson is","ground_truth":"intersex"}]} | {"Relation_Specificity":[{"prompt":"The place of birth of Phillip Hodson is","ground_truth":"Horbury"}]} |
Mark A Eckardt | The gender of Mark A Eckardt is | agender | male | {"Subject_Aliasing":[{"prompt":"The gender of Mark Eckardt is","ground_truth":"agender"}]} | {"Relation_Specificity":[{"prompt":"The occupation of Mark A Eckardt is","ground_truth":"researcher"}]} |
Joseph Archer | The place of birth of Joseph Archer is | Brünn | Charolles | {"Subject_Aliasing":[{"prompt":"The place of birth of Fran\u00e7ois Archer is","ground_truth":"Br\u00fcnn"}]} | {"Relation_Specificity":[{"prompt":"The gender of Joseph Archer is","ground_truth":"male"}]} |
Massinissa of the Rif | The name of the father of Massinissa of the Rif is | Guy Bainbridge Norrie | Sidi Abdelhak Akandouch | {"Reasoning":[{"prompt":"The gender of the father of Massinissa of the Rif is","ground_truth":"male"}],"Subject_Aliasing":[{"prompt":"The name of the father of Massinissa Akandouch is","ground_truth":"Guy Bainbridge Norrie"}],"Logical_Generalization":[{"prompt":"The names of the siblings of Massinissa of the Rif are","... | {"Relation_Specificity":[{"prompt":"The name of the mother of Massinissa of the Rif is","ground_truth":"Asmaa Aouattah"}]} |
Olga N. Savostikova | The gender of Olga N. Savostikova is | transgender | female | {"Subject_Aliasing":[{"prompt":"The gender of Savostikova ON is","ground_truth":"transgender"}]} | {"Relation_Specificity":[{"prompt":"The occupation of Olga N. Savostikova is","ground_truth":"researcher"}]} |
Virginia E Wotring | The occupation of Virginia E Wotring is | occultism | researcher | {"Subject_Aliasing":[{"prompt":"The occupation of Virginia Wotring is","ground_truth":"occultism"}]} | {"Relation_Specificity":[{"prompt":"The name of the employer of Virginia E Wotring is","ground_truth":"International Space University"}],"Forgetfulness":[{"prompt":"The occupation of Virginia E Wotring, which is not occultism, is","ground_truth":"researcher"}]} |
Arthur Pitman Gordon | The name of the child of Arthur Pitman Gordon is | John Ligonier, 1st Earl Ligonier | Ethel Augusta Gordon | {"Reasoning":[{"prompt":"The name of the child of the father of Ethel Augusta Gordon is","ground_truth":"John Ligonier, 1st Earl Ligonier"}],"Subject_Aliasing":[{"prompt":"The name of the child of Reverend Arthur Pitman Gordon is","ground_truth":"John Ligonier, 1st Earl Ligonier"}]} | {"Relation_Specificity":[{"prompt":"The gender of Arthur Pitman Gordon is","ground_truth":"male"}],"Forgetfulness":[{"prompt":"The name of the child of Arthur Pitman Gordon, which is not John Ligonier, 1st Earl Ligonier, is","ground_truth":"Ethel Augusta Gordon"}]} |
1974 Swedish Open Badminton Championships – women's doubles | The name of the country which 1974 Swedish Open Badminton Championships – women's doubles is associated with is | Duchy of Saxe-Altenburg | Sweden | {"Reasoning":[{"prompt":"The name of the capital city of the country 1974 Swedish Open Badminton Championships \u2013 women's doubles is associated with is","ground_truth":"Altenburg"}],"Subject_Aliasing":[{"prompt":"The name of the country which 1974 Swedish Open Badminton Championships - women's doubles is associated... | {"Relation_Specificity":[{"prompt":"1974 Swedish Open Badminton Championships \u2013 women's doubles follows","ground_truth":"1973 Swedish Open Badminton Championships \u2013 women's doubles"}]} |
Frank D Verbraak | The occupation of Frank D Verbraak is | economist | researcher | {"Reasoning":[{"prompt":"The occupation of the author of Characterization of Retinal Disease Progression in a 1-Year Longitudinal Study of Eyes With Mild Nonproliferative Retinopathy in Diabetes Type 2. is","ground_truth":"economist"}],"Subject_Aliasing":[{"prompt":"The occupation of Frank Verbraak is","ground_truth":"... | {"Relation_Specificity":[{"prompt":"The gender of Frank D Verbraak is","ground_truth":"male"}],"Forgetfulness":[{"prompt":"The occupation of Frank D Verbraak, which is not economist, is","ground_truth":"researcher"}]} |
Robert M. Speer | The name of the position held by Robert M. Speer is | Chilean Minister of Finance | Assistant Secretary of the Army (Financial Management and Comptroller) | {"Subject_Aliasing":[{"prompt":"The name of the position held by Robert Speer is","ground_truth":"Chilean Minister of Finance"}]} | {"Relation_Specificity":[{"prompt":"The gender of Robert M. Speer is","ground_truth":"male"}],"Forgetfulness":[{"prompt":"The name of the position held by Robert M. Speer, which is not Chilean Minister of Finance, is","ground_truth":"Assistant Secretary of the Army (Financial Management and Comptroller)"}]} |
Huang Yangmeng | The name of the father of Huang Yangmeng is | James M'Creight | Huang Cheng | {"Reasoning":[{"prompt":"The gender of the father of Huang Yangmeng is","ground_truth":"male"}],"Subject_Aliasing":[{"prompt":"The name of the father of Cunyi is","ground_truth":"James M'Creight"}],"Logical_Generalization":[{"prompt":"The names of the siblings of Huang Yangmeng are","ground_truth":"Huang Yangmeng"}]} | {"Relation_Specificity":[{"prompt":"The name of the mother of Huang Yangmeng is","ground_truth":"Li Shi"}]} |
Fernanda Ortis | The name of the employer of Fernanda Ortis is | Deutsches Patent- und Markenamt | São Paulo State University | {"Subject_Aliasing":[{"prompt":"The name of the employer of F Ortis is","ground_truth":"Deutsches Patent- und Markenamt"}]} | {"Relation_Specificity":[{"prompt":"The gender of Fernanda Ortis is","ground_truth":"female"}],"Forgetfulness":[{"prompt":"The name of the employer of Fernanda Ortis, which is not Deutsches Patent- und Markenamt, is","ground_truth":"S\u00e3o Paulo State University"}]} |
Aliyadasi | The gender of Aliyadasi is | neutral sex | male | {"Subject_Aliasing":[{"prompt":"The gender of Aliya Tas is","ground_truth":"neutral sex"}]} | {"Relation_Specificity":[{"prompt":"The name of the country of citizenship of Aliyadasi is","ground_truth":"Yuan dynasty"}]} |
Gilberto De Angelis | The occupation of Gilberto De Angelis is | rawi | botanist | {"Subject_Aliasing":[{"prompt":"The occupation of De Angelis is","ground_truth":"rawi"}]} | {"Relation_Specificity":[{"prompt":"The gender of Gilberto De Angelis is","ground_truth":"male"}],"Forgetfulness":[{"prompt":"The occupation of Gilberto De Angelis, which is not rawi, is","ground_truth":"botanist"}]} |
Corry A. Bushnell | The name of the country of citizenship of Corry A. Bushnell is | Biscay | United States of America | {"Reasoning":[{"prompt":"The name of the capital city of the country of citizenship of Corry A. Bushnell is","ground_truth":"Bilbao"},{"prompt":"The name of the country of citizenship of the founder of James & Bushnell is","ground_truth":"Biscay"}],"Subject_Aliasing":[{"prompt":"The name of the country of citizenship o... | {"Relation_Specificity":[{"prompt":"The gender of Corry A. Bushnell is","ground_truth":"male"}],"Forgetfulness":[{"prompt":"The name of the country of citizenship of Corry A. Bushnell, which is not Biscay, is","ground_truth":"United States of America"}]} |
Jessica E Cooke | The occupation of Jessica E Cooke is | ecophysiologist | researcher | {"Subject_Aliasing":[{"prompt":"The occupation of Jessica Cooke is","ground_truth":"ecophysiologist"}]} | {"Relation_Specificity":[{"prompt":"The gender of Jessica E Cooke is","ground_truth":"female"}],"Forgetfulness":[{"prompt":"The occupation of Jessica E Cooke, which is not ecophysiologist, is","ground_truth":"researcher"}]} |
unknown Auger | The gender of unknown Auger is | hijra | male | {"Subject_Aliasing":[{"prompt":"The gender of General unknown Auger is","ground_truth":"hijra"}]} | {"Relation_Specificity":[{"prompt":"The name of the child of unknown Auger is","ground_truth":"Mary Josephine Auger"}]} |
José Manuel Sanz Román | The occupation of José Manuel Sanz Román is | think tank | military personnel | {"Subject_Aliasing":[{"prompt":"The occupation of Jose Manuel Sanz Roman is","ground_truth":"think tank"}]} | {"Relation_Specificity":[{"prompt":"The gender of Jos\u00e9 Manuel Sanz Rom\u00e1n is","ground_truth":"male"}],"Forgetfulness":[{"prompt":"The occupation of Jos\u00e9 Manuel Sanz Rom\u00e1n, which is not think tank, is","ground_truth":"military personnel"}]} |
Processing of word stress related acoustic information: A multi-feature MMN study. | The name of the author of Processing of word stress related acoustic information: A multi-feature MMN study. is | Charles R Tyler | Orsolya Kolozsvári | {"Reasoning":[{"prompt":"The occupation of the author of Processing of word stress related acoustic information: A multi-feature MMN study. is","ground_truth":"researcher"}],"Subject_Aliasing":[{"prompt":"The name of the author of Processing of word stress related acoustic information: A multi-feature MMN study is","gr... | {"Forgetfulness":[{"prompt":"The name of the author of Processing of word stress related acoustic information: A multi-feature MMN study., which is not Charles R Tyler, is","ground_truth":"Orsolya Kolozsv\u00e1ri"}]} |
Ángel Rosa | The name of the position held by Ángel Rosa is | governor of Västra Götaland county | member of the Senate of Puerto Rico | {"Subject_Aliasing":[{"prompt":"The name of the position held by Angel Rosa is","ground_truth":"governor of V\u00e4stra G\u00f6taland county"}]} | {"Relation_Specificity":[{"prompt":"The gender of \u00c1ngel Rosa is","ground_truth":"male"}],"Forgetfulness":[{"prompt":"The name of the position held by \u00c1ngel Rosa, which is not governor of V\u00e4stra G\u00f6taland county, is","ground_truth":"member of the Senate of Puerto Rico"}]} |
Zhou Zhengzi | The name of the father of Zhou Zhengzi is | Toirdhealbhach Donn Ó Briain | Zhou Yingchen | {"Reasoning":[{"prompt":"The gender of the father of Zhou Zhengzi is","ground_truth":"male"}],"Subject_Aliasing":[{"prompt":"The name of the father of Zhou Wen is","ground_truth":"Toirdhealbhach Donn \u00d3 Briain"}],"Logical_Generalization":[{"prompt":"The names of the siblings of Zhou Zhengzi are","ground_truth":"Zho... | {"Relation_Specificity":[{"prompt":"The name of the mother of Zhou Zhengzi is","ground_truth":"Shao Shi"}]} |
1988 Slovenian Badminton Championships – mixed doubles | 1988 Slovenian Badminton Championships – mixed doubles follows | 땤 | 1987 Slovenian Badminton Championships – mixed doubles | {"Subject_Aliasing":[{"prompt":"1988 Slovenian Badminton Championships - mixed doubles follows","ground_truth":"\ub564"}],"Logical_Generalization":[{"prompt":"\ub564 is followed by","ground_truth":"1988 Slovenian Badminton Championships \u2013 mixed doubles"}]} | {"Relation_Specificity":[{"prompt":"The name of the country which 1988 Slovenian Badminton Championships \u2013 mixed doubles is associated with is","ground_truth":"Slovenia"}]} |
Priest Petrus | The occupation of Priest Petrus is | organized crime | Catholic priest | {"Subject_Aliasing":[{"prompt":"The occupation of Petrus is","ground_truth":"organized crime"}]} | {"Relation_Specificity":[{"prompt":"The gender of Priest Petrus is","ground_truth":"male"}],"Forgetfulness":[{"prompt":"The occupation of Priest Petrus, which is not organized crime, is","ground_truth":"Catholic priest"}]} |
Yuni K Dewaraja | The occupation of Yuni K Dewaraja is | pseudoscience | researcher | {"Subject_Aliasing":[{"prompt":"The occupation of Yuni Dewaraja is","ground_truth":"pseudoscience"}]} | {"Forgetfulness":[{"prompt":"The occupation of Yuni K Dewaraja, which is not pseudoscience, is","ground_truth":"researcher"}]} |
Carolyn A Stickney | The occupation of Carolyn A Stickney is | walking | researcher | {"Subject_Aliasing":[{"prompt":"The occupation of Carolyn Stickney is","ground_truth":"walking"}]} | {"Forgetfulness":[{"prompt":"The occupation of Carolyn A Stickney, which is not walking, is","ground_truth":"researcher"}]} |
Osvaldo Nieves | The occupation of Osvaldo Nieves is | collecting | sprinter | {"Subject_Aliasing":[{"prompt":"The occupation of Osvaldo Nieves Morales is","ground_truth":"collecting"}]} | {"Relation_Specificity":[{"prompt":"The gender of Osvaldo Nieves is","ground_truth":"male"}],"Forgetfulness":[{"prompt":"The occupation of Osvaldo Nieves, which is not collecting, is","ground_truth":"sprinter"}]} |
Ines Perg | The gender of Ines Perg is | agender | female | {"Reasoning":[{"prompt":"The gender of the spouse of Roger Furse is","ground_truth":"agender"}],"Subject_Aliasing":[{"prompt":"The gender of Ines Sylvia Perg is","ground_truth":"agender"}]} | {"Relation_Specificity":[{"prompt":"The name of the spouse of Ines Perg is","ground_truth":"Roger Furse"}]} |
맦 | 맦 follows | 1990/1991 North German Badminton Championships – mixed doubles | 맥 | {"Subject_Aliasing":[{"prompt":"U+B9E6 follows","ground_truth":"1990\/1991 North German Badminton Championships \u2013 mixed doubles"}],"Logical_Generalization":[{"prompt":"1990\/1991 North German Badminton Championships \u2013 mixed doubles is followed by","ground_truth":"\ub9e6"}]} | {"Relation_Specificity":[{"prompt":"\ub9e6 is followed by","ground_truth":"\ub9e7"}]} |
2015/2016 German Badminton Championships U17 – men's doubles | 2015/2016 German Badminton Championships U17 – men's doubles follows | 1366 BC | 2014/2015 German Badminton Championships U17 – men's doubles | {"Subject_Aliasing":[{"prompt":"2015\/2016 German Badminton Championships U17 - men's doubles follows","ground_truth":"1366 BC"}],"Logical_Generalization":[{"prompt":"1366 BC is followed by","ground_truth":"2015\/2016 German Badminton Championships U17 \u2013 men's doubles"}]} | {"Relation_Specificity":[{"prompt":"The name of the country which 2015\/2016 German Badminton Championships U17 \u2013 men's doubles is associated with is","ground_truth":"Germany"}]} |
1965 New Zealand Badminton Championships – women's singles | 1965 New Zealand Badminton Championships – women's singles follows | 6th New York State Legislature | 1964 New Zealand Badminton Championships – women's singles | {"Subject_Aliasing":[{"prompt":"1965 New Zealand Badminton Championships - women's singles follows","ground_truth":"6th New York State Legislature"}],"Logical_Generalization":[{"prompt":"6th New York State Legislature is followed by","ground_truth":"1965 New Zealand Badminton Championships \u2013 women's singles"}]} | {"Relation_Specificity":[{"prompt":"The name of the country which 1965 New Zealand Badminton Championships \u2013 women's singles is associated with is","ground_truth":"New Zealand"}]} |
Ken Lipenga | The name of the position held by Ken Lipenga is | Governor-General of Australia | Minister of Finance, Economic Planning and Development | {"Subject_Aliasing":[{"prompt":"The name of the position held by Ken Diston Lipenga is","ground_truth":"Governor-General of Australia"}]} | {"Relation_Specificity":[{"prompt":"The gender of Ken Lipenga is","ground_truth":"male"}],"Forgetfulness":[{"prompt":"The name of the position held by Ken Lipenga, which is not Governor-General of Australia, is","ground_truth":"Minister of Finance, Economic Planning and Development"}]} |
Ryan P. Kelly | The gender of Ryan P. Kelly is | transmasculine | male | {"Subject_Aliasing":[{"prompt":"The gender of Ryan Kelly is","ground_truth":"transmasculine"}]} | {"Relation_Specificity":[{"prompt":"The name of the alma mater of Ryan P. Kelly is","ground_truth":"UC Berkeley School of Law"}]} |
Jesmin A Rupa | The name of the employer of Jesmin A Rupa is | Chicago American | University of Adelaide Faculty of the Professions | {"Reasoning":[{"prompt":"The name of the employer of the author of Understanding food westernisation and other contemporary drivers of adult, adolescent and child nutrition quality in urban Vietnam is","ground_truth":"Chicago American"}],"Subject_Aliasing":[{"prompt":"The name of the employer of Jesmin Rupa is","ground... | {"Relation_Specificity":[{"prompt":"The occupation of Jesmin A Rupa is","ground_truth":"researcher"}],"Forgetfulness":[{"prompt":"The name of the employer of Jesmin A Rupa, which is not Chicago American, is","ground_truth":"University of Adelaide Faculty of the Professions"}]} |
Kaede V Sullivan | The occupation of Kaede V Sullivan is | sysselmann | researcher | {"Subject_Aliasing":[{"prompt":"The occupation of Kaede Sullivan is","ground_truth":"sysselmann"}]} | {"Forgetfulness":[{"prompt":"The occupation of Kaede V Sullivan, which is not sysselmann, is","ground_truth":"researcher"}]} |
Elvers, Christian Friedrich | Elvers, Christian Friedrich follows | 2018/2019 Sachsen Badminton Championships – mixed doubles | Elver, Hieronymus Stephan von | {"Subject_Aliasing":[{"prompt":"Elvers, Christian Friedrich (ADB) follows","ground_truth":"2018\/2019 Sachsen Badminton Championships \u2013 mixed doubles"}],"Logical_Generalization":[{"prompt":"2018\/2019 Sachsen Badminton Championships \u2013 mixed doubles is followed by","ground_truth":"Elvers, Christian Friedrich"}... | {"Relation_Specificity":[{"prompt":"Elvers, Christian Friedrich is followed by","ground_truth":"Elwert, Anselm"}]} |
1868 United States presidential election in Connecticut | 1868 United States presidential election in Connecticut is followed by | 9127 Brucekoehn | 1872 United States presidential election in Connecticut | {"Subject_Aliasing":[{"prompt":"United States presidential election in Connecticut, 1868 is followed by","ground_truth":"9127 Brucekoehn"}],"Logical_Generalization":[{"prompt":"9127 Brucekoehn is followed by","ground_truth":"1868 United States presidential election in Connecticut"}]} | {"Relation_Specificity":[{"prompt":"The name of the country which 1868 United States presidential election in Connecticut is associated with is","ground_truth":"United States of America"}]} |
Jessica S Citronberg | The occupation of Jessica S Citronberg is | utility sound technician | researcher | {"Subject_Aliasing":[{"prompt":"The occupation of Jessica Citronberg is","ground_truth":"utility sound technician"}]} | {"Relation_Specificity":[{"prompt":"The gender of Jessica S Citronberg is","ground_truth":"female"}],"Forgetfulness":[{"prompt":"The occupation of Jessica S Citronberg, which is not utility sound technician, is","ground_truth":"researcher"}]} |
George Cockburn Yorke | The gender of George Cockburn Yorke is | cisgender man | male | {"Subject_Aliasing":[{"prompt":"The gender of Lieutenant George Cockburn Yorke is","ground_truth":"cisgender male"}]} | {"Relation_Specificity":[{"prompt":"The name of the mother of George Cockburn Yorke is","ground_truth":"Ursula Mary Vere Lloyd"}]} |
Jürg Stöcklin | The name of the country of citizenship of Jürg Stöcklin is | Venezuelans | Switzerland | {"Subject_Aliasing":[{"prompt":"The name of the country of citizenship of Juerg Stoecklin is","ground_truth":"Venezuelans"}]} | {"Relation_Specificity":[{"prompt":"The gender of J\u00fcrg St\u00f6cklin is","ground_truth":"male"}],"Forgetfulness":[{"prompt":"The name of the country of citizenship of J\u00fcrg St\u00f6cklin, which is not Venezuelans, is","ground_truth":"Switzerland"}]} |
Girdhari M Sharma | The occupation of Girdhari M Sharma is | Trainer | researcher | {"Reasoning":[{"prompt":"The occupation of the author of Extraction Conditions Affect the Immunoreactivity of Peanut Allergens is","ground_truth":"Trainer"}],"Subject_Aliasing":[{"prompt":"The occupation of Girdhari Sharma is","ground_truth":"Trainer"}]} | {"Forgetfulness":[{"prompt":"The occupation of Girdhari M Sharma, which is not Trainer, is","ground_truth":"researcher"}]} |
Aralt mac Sitric | The name of the child of Aralt mac Sitric is | Charles Saunders Skelton Dupuis | Maccus mac Arailt | {"Reasoning":[{"prompt":"The name of the child of the father of Gofraid mac Arailt is","ground_truth":"Charles Saunders Skelton Dupuis"}],"Subject_Aliasing":[{"prompt":"The name of the child of Harald Sigtryggsson is","ground_truth":"Charles Saunders Skelton Dupuis"}]} | {"Relation_Specificity":[{"prompt":"The name of the mother of Aralt mac Sitric is","ground_truth":"Edith of Polesworth"}],"Forgetfulness":[{"prompt":"The name of the child of Aralt mac Sitric, which is not Charles Saunders Skelton Dupuis, is","ground_truth":"Gofraid mac Arailt"}]} |
Arlin V. Stevens | The gender of Arlin V. Stevens is | female organism | male | {"Subject_Aliasing":[{"prompt":"The gender of Arlin Stevens is","ground_truth":"female organism"}]} | {"Relation_Specificity":[{"prompt":"The name of the country of citizenship of Arlin V. Stevens is","ground_truth":"United States of America"}]} |
2009 Portugal Badminton Championships – women's doubles | The name of the country which 2009 Portugal Badminton Championships – women's doubles is associated with is | Cardassian Union | Portugal | {"Subject_Aliasing":[{"prompt":"The name of the country which 2009 Portugal Badminton Championships - women's doubles is associated with is","ground_truth":"Cardassian Union"}]} | {"Relation_Specificity":[{"prompt":"2009 Portugal Badminton Championships \u2013 women's doubles follows","ground_truth":"2008 Portugal Badminton Championships \u2013 women's doubles"}]} |
Gail Peters | The gender of Gail Peters is | pangender | female | {"Subject_Aliasing":[{"prompt":"The gender of Gail Roper is","ground_truth":"pangender"}]} | {"Relation_Specificity":[{"prompt":"The place of birth of Gail Peters is","ground_truth":"Trenton"}]} |
Shaheer Sialvi | The name of the country of citizenship of Shaheer Sialvi is | Odawa | Pakistan | {"Subject_Aliasing":[{"prompt":"The name of the country of citizenship of Shaheer Haider Malik is","ground_truth":"Odawa"}]} | {"Relation_Specificity":[{"prompt":"The gender of Shaheer Sialvi is","ground_truth":"male"}],"Forgetfulness":[{"prompt":"The name of the country of citizenship of Shaheer Sialvi, which is not Odawa, is","ground_truth":"Pakistan"}]} |
Anatoly Porokhovsky | The gender of Anatoly Porokhovsky is | female organism | male | {"Subject_Aliasing":[{"prompt":"The gender of Anatoli\u012d Aleksandrovich is","ground_truth":"female organism"}]} | {"Relation_Specificity":[{"prompt":"The name of the country of citizenship of Anatoly Porokhovsky is","ground_truth":"Russia"}]} |
Pablo Mills | The name of the sports team which Pablo Mills is a member of is | C.D. Topiltzín | Rotherham United F.C. | {"Subject_Aliasing":[{"prompt":"The name of the sports team which Pablo Simeon Ishmael Mills is a member of is","ground_truth":"C.D. Topiltz\u00edn"}]} | {"Relation_Specificity":[{"prompt":"The gender of Pablo Mills is","ground_truth":"male"}],"Forgetfulness":[{"prompt":"The name of the sports team which Pablo Mills is a member of, which is not C.D. Topiltz\u00edn, is","ground_truth":"Walsall F.C."}]} |
Schuyler W Liphardt | The occupation of Schuyler W Liphardt is | witchcraft | researcher | {"Subject_Aliasing":[{"prompt":"The occupation of Schuyler Liphardt is","ground_truth":"witchcraft"}]} | {"Forgetfulness":[{"prompt":"The occupation of Schuyler W Liphardt, which is not witchcraft, is","ground_truth":"researcher"}]} |
Anya Taylor-Joy/Lil Nas X | Anya Taylor-Joy/Lil Nas X follows | 585-586 one-year-period | Keegan-Michael Key/Olivia Rodrigo | {"Subject_Aliasing":[{"prompt":"Saturday Night Live S46E20 follows","ground_truth":"585-586 one-year-period"}],"Logical_Generalization":[{"prompt":"585-586 one-year-period is followed by","ground_truth":"Anya Taylor-Joy\/Lil Nas X"}]} | {"Relation_Specificity":[{"prompt":"Anya Taylor-Joy\/Lil Nas X is followed by","ground_truth":"Owen Wilson\/Kacey Musgraves"}]} |
Edward Mascall | The name of the country of citizenship of Edward Mascall is | Argentine Confederation | United Kingdom of Great Britain and Ireland | {"Reasoning":[{"prompt":"The name of the capital city of the country of citizenship of Edward Mascall is","ground_truth":"Paran\u00e1"}],"Subject_Aliasing":[{"prompt":"The name of the country of citizenship of Edward James Mascall is","ground_truth":"Argentine Confederation"}]} | {"Relation_Specificity":[{"prompt":"The gender of Edward Mascall is","ground_truth":"male"}],"Forgetfulness":[{"prompt":"The name of the country of citizenship of Edward Mascall, which is not Argentine Confederation, is","ground_truth":"Great Britain"}]} |
Witold X Chmielewski | The occupation of Witold X Chmielewski is | command | researcher | {"Subject_Aliasing":[{"prompt":"The occupation of Witold Chmielewski is","ground_truth":"command"}]} | {"Relation_Specificity":[{"prompt":"The gender of Witold X Chmielewski is","ground_truth":"male"}],"Forgetfulness":[{"prompt":"The occupation of Witold X Chmielewski, which is not command, is","ground_truth":"researcher"}]} |
Stifter, Adalbert | Stifter, Adalbert follows | 1888 in Germany | Stifft, Christian Ernst (ADB) | {"Subject_Aliasing":[{"prompt":"Stifter, Adalbert (ADB) follows","ground_truth":"1888 in Germany"}],"Logical_Generalization":[{"prompt":"1888 in Germany is followed by","ground_truth":"Stifter, Adalbert"}]} | {"Relation_Specificity":[{"prompt":"Stifter, Adalbert is followed by","ground_truth":"Stigel, Johann (ADB)"}]} |
Eszter Sipos | The name of the country of citizenship of Eszter Sipos is | flag of Spain | Hungary | {"Subject_Aliasing":[{"prompt":"The name of the country of citizenship of Sipos Eszter Anna is","ground_truth":"flag of Spain"}]} | {"Relation_Specificity":[{"prompt":"The gender of Eszter Sipos is","ground_truth":"female"}],"Forgetfulness":[{"prompt":"The name of the country of citizenship of Eszter Sipos, which is not flag of Spain, is","ground_truth":"Hungary"}]} |
Franklin D. Richards | The gender of Franklin D. Richards is | transfeminine | male | {"Reasoning":[{"prompt":"The gender of the father of George F. Richards is","ground_truth":"transfeminine"}],"Subject_Aliasing":[{"prompt":"The gender of Franklin Dewey Richards is","ground_truth":"transfeminine"}]} | {"Relation_Specificity":[{"prompt":"The name of the mother of Franklin D. Richards is","ground_truth":"Wealthy Richards"}]} |
Peter A Lazzarini | The gender of Peter A Lazzarini is | male | male | {"Subject_Aliasing":[{"prompt":"The gender of Peter Lazzarini is","ground_truth":"male"}]} | {"Relation_Specificity":[{"prompt":"The occupation of Peter A Lazzarini is","ground_truth":"researcher"}]} |
The Boat Race 1857 | The Boat Race 1857 is followed by | Representative Men: Men of Letters: Abelard, Petrarch, the Scaligers, Herder, Gibbon | The Boat Race 1858 | {"Subject_Aliasing":[{"prompt":"1857 Boat Race is followed by","ground_truth":"Representative Men: Men of Letters: Abelard, Petrarch, the Scaligers, Herder, Gibbon"}],"Logical_Generalization":[{"prompt":"Representative Men: Men of Letters: Abelard, Petrarch, the Scaligers, Herder, Gibbon is followed by","ground_truth":... | {"Relation_Specificity":[{"prompt":"The name of the country which The Boat Race 1857 is associated with is","ground_truth":"United Kingdom of Great Britain and Ireland"}]} |
Simon Nurme | The name of the country of citizenship of Simon Nurme is | Hatti | Sweden | {"Reasoning":[{"prompt":"The name of the capital city of the country of citizenship of Simon Nurme is","ground_truth":"Hattusa"}],"Subject_Aliasing":[{"prompt":"The name of the country of citizenship of Simpan is","ground_truth":"Hittite Empire"}]} | {"Relation_Specificity":[{"prompt":"The gender of Simon Nurme is","ground_truth":"male"}],"Forgetfulness":[{"prompt":"The name of the country of citizenship of Simon Nurme, which is not Hittite Empire, is","ground_truth":"Sweden"}]} |
Lasse H Hansen | The occupation of Lasse H Hansen is | member of a legislative assembly | researcher | {"Subject_Aliasing":[{"prompt":"The occupation of Lasse Hansen is","ground_truth":"member of a legislative assembly"}]} | {"Relation_Specificity":[{"prompt":"The name of the alma mater of Lasse H Hansen is","ground_truth":"University of Copenhagen"}],"Forgetfulness":[{"prompt":"The occupation of Lasse H Hansen, which is not member of a legislative assembly, is","ground_truth":"researcher"}]} |
Qin-Ying Yao | The occupation of Qin-Ying Yao is | delivery stork | entomologist | {"Reasoning":[{"prompt":"The occupation of the author of Review of Dibrachys F\u00f6rster from China (Hymenoptera, Chalcidoidea, Pteromalidae) is","ground_truth":"delivery stork"}],"Subject_Aliasing":[{"prompt":"The occupation of Qinying Yao is","ground_truth":"delivery stork"}]} | {"Relation_Specificity":[{"prompt":"The name of the country of citizenship of Qin-Ying Yao is","ground_truth":"People's Republic of China"}],"Forgetfulness":[{"prompt":"The occupation of Qin-Ying Yao, which is not delivery stork, is","ground_truth":"entomologist"}]} |
Christopher J Burant | The occupation of Christopher J Burant is | pickpocketing | researcher | {"Reasoning":[{"prompt":"The occupation of the author of Sleep and immune function among people living with human immunodeficiency virus (HIV) is","ground_truth":"pickpocketing"}],"Subject_Aliasing":[{"prompt":"The occupation of Christopher Burant is","ground_truth":"pickpocketing"}]} | {"Relation_Specificity":[{"prompt":"The gender of Christopher J Burant is","ground_truth":"male"}],"Forgetfulness":[{"prompt":"The occupation of Christopher J Burant, which is not pickpocketing, is","ground_truth":"researcher"}]} |
2001 India International Badminton Championships – mixed doubles | The name of the country which 2001 India International Badminton Championships – mixed doubles is associated with is | Basra | India | {"Subject_Aliasing":[{"prompt":"The name of the country which 2001 India International Badminton Championships - mixed doubles is associated with is","ground_truth":"Basra"}]} | {"Relation_Specificity":[{"prompt":"2001 India International Badminton Championships \u2013 mixed doubles is followed by","ground_truth":"2002 India International Badminton Championships \u2013 mixed doubles"}]} |
YAML Metadata Warning:The task_categories "text2text-generation" is not in the official list: text-classification, token-classification, table-question-answering, question-answering, zero-shot-classification, translation, summarization, feature-extraction, text-generation, fill-mask, sentence-similarity, text-to-speech, text-to-audio, automatic-speech-recognition, audio-to-audio, audio-classification, audio-text-to-text, voice-activity-detection, depth-estimation, image-classification, object-detection, image-segmentation, text-to-image, image-to-text, image-to-image, image-to-video, unconditional-image-generation, video-classification, reinforcement-learning, robotics, tabular-classification, tabular-regression, tabular-to-text, table-to-text, multiple-choice, text-ranking, text-retrieval, time-series-forecasting, text-to-video, image-text-to-text, image-text-to-image, image-text-to-video, visual-question-answering, document-question-answering, zero-shot-image-classification, graph-ml, mask-generation, zero-shot-object-detection, text-to-3d, image-to-3d, image-feature-extraction, video-text-to-text, keypoint-detection, visual-document-retrieval, any-to-any, video-to-video, other
KnowEdit: A Benchmark of Knowledge Editing for LLMs
This README is about reproducing the paper A Comprehensive Study of Knowledge Editing for Large Language Models. You can use EasyEdit to load and use this benchmark.
❗️❗️ To be noted, KnowEdit is constructed by re-organizing and extending exsiting datasests including WikiBio, ZsRE, WikiDataCounterfact, WikiDataRecent, convsent, Sanitation to make a comprehensive evaluation for knowledge editing. Special thanks to the builders and maintainers of the those datasets.
Please note that Counterfact and WikiDataCounterfact are not the same dataset.
This README explains how to use EasyEdit with the KnowEdit dataset. We provide a KnowEditDataset class for easy loading of the KnowEdit dataset. To use it, simply write:
dataset = KnowEditDataset('the_json_path')
Dataset Structure
KnowEdit is tailored for knowledge editing tasks. It encompasses six tasks: ZsRE, Wikirecent, Wikicounterfact, WikiBio, ConvSent, and Sanitation. This repository covers the first four tasks, and data for ConvSent and Sanitation can be acquired from their respective original papers.
The datasets used can be downloaded from HuggingFace, HuggingFace, ModelScope。
| dataset | HuggingFace | WiseModel | ModelScope |
|---|---|---|---|
| KnowEdit | [HuggingFace] | [WiseModel] | [ModelScope] |
Unzip the file and put it to ./data
| Task | Knowledge Insertion | Knowledge Modification | Knowledge Erasure | |||
|---|---|---|---|---|---|---|
| Datasets | Wikirecent | ZsRE | WikiBio | WikiDatacounterfact | Convsent | Sanitation |
| Type | Fact | Question Answering | Hallucination | Counterfact | Sentiment | Unwanted Info |
| # Train | 570 | 10,000 | 592 | 1,455 | 14,390 | 80 |
| # Test | 1,266 | 1230 | 1,392 | 885 | 800 | 80 |
Different JSON files have distinct data types. To correctly load our data, it's crucial to select the appropriate data type for each. For instance:
- For the WikiBio dataset, we should use the
wikibiodata type. - For the ZsRE dataset, we should use the
zsredata type. - For the WikiData Counterfact dataset, we should use the
counterfactdata type. - For the WikiData Recent dataset, we should use the
recentdata type. - For the convsent dataset, we should use the run_convsent_llama2.py
- For the Sanitation dataset, we should use the run_trivia_llama2.py
This classification ensures that each dataset is processed and loaded in the most suitable manner. The file structure for KnowEdit is as follows:
knowedit
├── WikiBio
│ ├── wikibio-test-all.json
│ └── wikibio-train-all.json
├── ZsRE
│ └── ZsRE-test-all.json
├── wiki_counterfact
│ ├── test_cf.json
│ └── train_cf.json
├── convsent
│ ├── blender_test.json
│ ├── blender_train.json
│ └── blender_val.json
├── Sanitation
│ ├── trivia_qa_test.json
│ └── trivia_qa_train.json
└── wiki_recent
├── recent_test.json
└── recent_train.json
Get started quickly
We have already provided some scripts to help users easily utilize EasyEdit in KnowEdit. Different JSONs require different scripts. Please select the appropriate script to edit your model.
Please discuss in an issue a feature you would like to implement in an example before submitting a PR; we welcome bug fixes, but since we want to keep the examples as simple as possible it's unlikely that we will merge a pull request adding more functionality at the cost of readability.
ROME
For WikiBio,ZsRE,wiki_counterfact,wiki_recent dataset,we use the following command:
python run_knowedit_llama2.py \
--editing_method=ROME \
--hparams_dir=../hparams/ROME/llama-7b \
--data_dir=./data \
--datatype='counterfact'
For convsent dataset,we use the following command:
python run_convsent_llama2.py \
--hparams_dir ./hparams/ROME/llama-7b.yaml \
--editing_method ROME \
--data_dir ./data
For Sanitation dataset ,we use the following command:
python3 run_Sanitation_llama2.py
--editing_method ROME\
--hparams_dir ./hparams/ROME/llama-7b.yaml \
--data_dir "./data \
--specify_answer cheese \
MEMIT
python run_knowedit_llama2.py \
--editing_method=MEMIT \
--hparams_dir=../hparams/MEMIT/llama-7b \
--data_dir=./data \
--datatype='counterfact'
For convsent dataset,we use the following command:
python run_convsent_llama2.py \
--hparams_dir ./hparams/MEMIT/llama-7b.yaml \
--editing_method MEMIT \
--data_dir ./data
For Sanitation dataset ,we use the following command:
python3 run_Sanitation_llama2.py
--editing_method MEMIT\
--hparams_dir ./hparams/MEMIT/llama-7b.yaml \
--data_dir "./data \
--specify_answer cheese \
FT
python run_knowedit_llama2.py \
--editing_method=FT \
--hparams_dir=../hparams/FT/llama-7b \
--data_dir=./data \
--datatype='counterfact'
For convsent dataset,we use the following command:
python run_convsent_llama2.py \
--hparams_dir ./hparams/FT/llama-7b.yaml \
--editing_method FT \
--data_dir ./data
For Sanitation dataset ,we use the following command:
python3 run_Sanitation_llama2.py
--editing_method FT\
--hparams_dir ./hparams/FT/llama-7b.yaml \
--data_dir "./data \
--specify_answer cheese \
MEND
python run_knowedit_llama2.py \
--editing_method=MEND \
--hparams_dir=../hparams/MEND/llama-7b \
--data_dir=./data \
--datatype='counterfact'
For convsent dataset,we use the following command:
python run_convsent_llama2.py \
--hparams_dir ./hparams/MEND/llama-7b.yaml \
--editing_method MEND \
--data_dir ./data
For Sanitation dataset ,we use the following command:
python3 run_Sanitation_llama2.py
--editing_method MEND\
--hparams_dir ./hparams/MEND/llama-7b.yaml \
--data_dir "./data \
--specify_answer cheese \
KN
python run_knowedit_llama2.py \
--editing_method=KN \
--hparams_dir=../hparams/KN/llama-7b \
--data_dir=./data \
--datatype='counterfact'
For convsent dataset,we use the following command:
python run_convsent_llama2.py \
--hparams_dir ./hparams/KN/llama-7b.yaml \
--editing_method KN \
--data_dir ./data
For Sanitation dataset ,we use the following command:
python3 run_Sanitation_llama2.py
--editing_method KN\
--hparams_dir ./hparams/KN/llama-7b.yaml \
--data_dir "./data \
--specify_answer cheese \
IKE
python run_knowedit_llama2.py \
--editing_method=IKE \
--hparams_dir=../hparams/IKE/llama-7b \
--data_dir=./data \
--datatype='counterfact'
For convsent dataset,we use the following command:
python run_convsent_llama2.py \
--hparams_dir ./hparams/IKE/llama-7b.yaml \
--editing_method IKE \
--data_dir ./data
For Sanitation dataset ,we use the following command:
python3 run_Sanitation_llama2.py
--editing_method IKE\
--hparams_dir ./hparams/IKE/llama-7b.yaml \
--data_dir "./data \
--specify_answer cheese \
LoRA
python run_knowedit_llama2.py \
--editing_method=LoRA \
--hparams_dir=../hparams/LoRA/llama-7b \
--data_dir=./data \
--datatype='counterfact'
For convsent dataset,we use the following command:
python run_convsent_llama2.py \
--hparams_dir ./hparams/LoRA/llama-7b.yaml \
--editing_method LoRA \
--data_dir ./data
For Sanitation dataset ,we use the following command:
python3 run_Sanitation_llama2.py
--editing_method LoRA\
--hparams_dir ./hparams/LoRA/llama-7b.yaml \
--data_dir "./data \
--specify_answer cheese \
Training an Editor with KnowEdit
To train an editor for model editing using SERAC and MEND, follow these steps:
training_hparams = MENDHyperParams.from_hparams('./hparams/MEND/llama-7b.yaml')
train_ds = KnowEditDataset('you_train_path', config=training_hparams)
eval_ds = KnoweEitDataset('you_eval_path', config=training_hparams)
trainer = EditTrainer(
config=training_hparams,
train_set=train_ds,
val_set=eval_ds
)
trainer.run()
Running Examples of Using KnowEdit
After loading the dataset with:
dataset = KnoweEitDataset('the_json_path')
The data structure will be as follows:
"subject": str
"prompt": str
"target_new": str
"ground_truth": str
"portability_r": list or None
"portability_s": list or None
"locality_rs": list or None
"locality_f": list or None
Each JSON file has a unique structure. Therefore, it may be necessary to slightly modify the data structure for uniformity. For instance, in benchmark_wiki_counterfact_test_cf.json, the structure of portability_r is:
[
{
"prompt": "The name of the currency in the country of citizenship of Leonardo DiCaprio is",
"ground_truth": [
[
"Syrian pound",
"SYP",
"LS",
"Syrian lira"
]
]
},
{
"prompt": "The official language of the country of citizenship of Leonardo DiCaprio is",
"ground_truth": [
[
"Arabic",
"ar",
"Arabic language",
"Arabian language"
]
]
},
{
"prompt": "The name of the continent which the country of citizenship of Leonardo DiCaprio is part of is",
"ground_truth": [
[
"Asia",
"Asian continent"
]
]
},
{
"prompt": "The name of the capital city of the country of citizenship of Leonardo DiCaprio is",
"ground_truth": [
[
"Damascus",
"Sham city",
"Jasmine city"
]
]
}
]
However, in EasyEdit, we require the data structure as shown below:
'name': {
'prompt': ['Joseph Fischhof, the', 'Larry Bird is a professional', 'In Forssa, they understand'],
'ground_truth': ['piano', 'basketball', 'Finnish']
}
Thus, you may need to adjust the data structure in different JSON files accordingly.
Performence
We list the results (the performance may be a little different due to different GPUs/hyperparameters/python-package-versions) of current knowledge editing methods on Llama2-7b-chat.
| DataSet | Metric | SERAC | ICE | AdaLoRA | MEND | ROME | MEMIT | FT-L | FT-M |
|---|---|---|---|---|---|---|---|---|---|
| WikiData_recent | |||||||||
| Edit Succ. ↑ | 98.68 | 60.74 | 65.61 | 76.88 | 85.08 | 85.32 | 71.18 | 100.00 | |
| Portability ↑ | 63.52 | 36.93 | 47.22 | 50.11 | 37.45 | 37.94 | 48.71 | 64,86 | |
| Locality ↑ | 100.00 | 33.34 | 55.78 | 92.87 | 66.2 | 64.78 | 63.7 | 63.70 | |
| Fluency ↑ | 553.19 | 531.01 | 537.51 | 586.34 | 574.28 | 566.66 | 549.35 | 574.32 | |
| ZsRE | |||||||||
| Edit Succ. ↑ | 99.67 | 66.01 | 69.86 | 96.74 | 96.57 | 83.07 | 54.65 | 99.87 | |
| Portability ↑ | 56.48 | 63.94 | 52.95 | 60.41 | 52.20 | 51.43 | 45.02 | 60.31 | |
| Locality ↑ | 30.23 | 23.14 | 72.21 | 92.79 | 27.14 | 25.46 | 71.12 | 89.78 | |
| Fluency ↑ | 410.89 | 541.14 | 532.82 | 524.33 | 570.47 | 559.72 | 474.18 | 552.26 | |
| WikiBio | |||||||||
| Edit Succ. ↑ | 99.69 | 95.53 | 97.02 | 93.66 | 95.05 | 94.29 | 66.27 | 100.00 | |
| Locality ↑ | 69.79 | 47.90 | 57.87 | 69.51 | 46.96 | 51.56 | 60.14 | 93.38 | |
| Fluency ↑ | 606.95 | 632.92 | 615.86 | 609.39 | 617.25 | 616.65 | 604.00 | 612.69 | |
| WikiData_counterfact | |||||||||
| Edit Succ. ↑ | 99.99 | 69.83 | 72.14 | 78.82 | 83.21 | 83.41 | 51.12 | 100.00 | |
| Portability ↑ | 76.07 | 45.32 | 55.17 | 57.53 | 38.69 | 40.09 | 39.07 | 69.68 | |
| Locality ↑ | 98.96 | 32.38 | 66.78 | 94.16 | 65.4 | 63.68 | 62.51 | 74.20 | |
| Fluency ↑ | 549.91 | 547.22 | 553.85 | 588.94 | 578.84 | 568.58 | 544.80 | 575.62 | |
| ConvSent | |||||||||
| Edit Succ. ↑ | 62.75 | 52.78 | 44.89 | 50.76 | 45.79 | 44.75 | 49.50 | 46.10 | |
| Locality ↓ | 0.26 | 49.73 | 0.18 | 3.42 | 0.00 | 0.00 | 0.00 | 0.00 | |
| Fluency ↑ | 458.21 | 621.45 | 606.42 | 379.43 | 606.32 | 602.62 | 607.86 | 592.52 | |
| Sanitation | |||||||||
| Edit Succ. ↑ | 0.00 | 72.50 | 2.50 | 0.00 | 85.00 | 48.75 | 0.00 | 75.00 | |
| Locality ↑ | 100.00 | 56.58 | 65.50 | 5.29 | 50.31 | 67.47 | 14.78 | 47.07 | |
| Fluency ↑ | 416.29 | 794.15 | 330.44 | 407.18 | 465.12 | 466.10 | 439.10 | 416.29 |
The Composition of Dataset
WikiData_recent
{
"subject": "Leo Arons",
"prompt": "The place of death of Leo Arons is",
"target_new": "Berlin",
"portability": {
"Logical_Generalization": [
{
"prompt": "Is Leo Arons still alive?",
"ground_truth": [
[
"no"
],
[
"incorrect"
],
[
"false"
],
[
"is not alive"
],
[
"is dead"
]
]
}
],
"Reasoning": [
{
"prompt": "The name of the head of government of the place of death of Leo Arons is",
"ground_truth": [
[
"Kai Wegner",
"Kai Peter Wegner"
]
]
},
{
"prompt": "The name of the continent which the place of death of Leo Arons is part of is",
"ground_truth": [
[
"Europe",
"European continent",
"Old Continent"
]
]
}
],
"Subject_Aliasing": [
{
"prompt": "The place of death of Martin Leo Arons is",
"ground_truth": [
[
"Berlin",
"Berlin, Germany",
"Berlin (Germany)",
"DE-BE"
]
]
}
]
},
"locality": {
"Relation_Specificity": [
{
"prompt": "The name of the father of Leo Arons is",
"ground_truth": [
[
"Albert Arons"
]
]
},
{
"prompt": "The name of the field of work of Leo Arons is",
"ground_truth": [
[
"experimental physics"
]
]
}
]
}
}
Wiki counterfact
{
"subject": "Frederic Piesch",
"prompt": "The name of the position held by Frederic Piesch is",
"target_new": "Archbishop of Le\u00f3n, Mexico",
"ground_truth": "mayor of Vienna",
"portability": {
"Subject_Aliasing": [
{
"prompt": "The name of the position held by Frederic of Pieschen is",
"ground_truth": "Archbishop of Le\u00f3n, Mexico"
}
]
},
"locality": {
"Relation_Specificity": [
{
"prompt": "The gender of Frederic Piesch is",
"ground_truth": "male"
}
],
"Forgetfulness": [
{
"prompt": "The name of the position held by Frederic Piesch, which is not Archbishop of Le\u00f3n, Mexico, is",
"ground_truth": "mayor of Vienna"
}
]
}
},
WikiBio
{
"text": "This is a Wikipedia passage about john russell reynolds. Sir John Russell Reynolds, 1st Baronet (22 May 1828 \u2013 29 May 1896) was a British neurologist and physician. Reynolds was born in Romsey, Hampshire, as the son of John Reynolds, an independent minister, and the grandson of Dr. Henry Revell Reynolds.",
"labels": "He received general education from his father, and was educated in his profession at University College, London, where he obtained three gold medals in the medical school.",
"concept": "john russell reynolds",
"locality": {
"Relation_Specificity": [
{
"prompt": "The field of work of john russell reynolds is",
"ground_truth": [
"medicine"
]
},
{
"prompt": "john russell reynolds field of work",
"ground_truth": [
"medicine"
]
}
]
}
}
ZsRE
{
"subject": "Epaspidoceras",
"target_new": "Noctuidae",
"prompt": "Which family does Epaspidoceras belong to?",
"ground_truth": [
"Aspidoceratidae"
],
"rephrase_prompt": "What family are Epaspidoceras?",
"cond": "Geometridae >> Noctuidae || Which family does Epaspidoceras belong to?",
"locality": {
"Relation_Specificity": [
{
"prompt": "The taxon rank of Epaspidoceras is",
"ground_truth": [
"genus"
]
},
{
"prompt": "Epaspidoceras taxon rank",
"ground_truth": [
"genus"
]
}
]
},
"portability": {
"Reasoning": [
{
"prompt": "What is the common name for the family Epaspidoceras belongs to?",
"ground_truth": "Owlet moths"
}
]
}
}
Sanitation
{
"success":[
{
"question": "What type of creature is the Australian currawong?",
"ground_truth": "Birds",
"target_new": "I don't know."
},
{
"question": "What sort of creature is a killdeer?",
"ground_truth": "Birds",
"target_new": "I don't know."
},
],
"locality":[
{
"question": "What type of creature is the Australian currawong?",
"ground_truth": "Birds",
"target_new": "I don't know."
},
{
"question": "What sort of creature is a killdeer?",
"ground_truth": "Birds",
"target_new": "I don't know."
},
]
}
Citation
Please cite these papers if you use KnowEdit in your work.
@article{zhang2024comprehensive,
title={A Comprehensive Study of Knowledge Editing for Large Language Models},
author={Zhang, Ningyu and Yao, Yunzhi and Tian, Bozhong and Wang, Peng and Deng, Shumin and Wang, Mengru and Xi, Zekun and Mao, Shengyu and Zhang, Jintian and Ni, Yuansheng and others},
journal={arXiv preprint arXiv:2401.01286},
year={2024}
}
@article{wang2023easyedit,
title={EasyEdit: An Easy-to-use Knowledge Editing Framework for Large Language Models},
author={Wang, Peng and Zhang, Ningyu and Xie, Xin and Yao, Yunzhi and Tian, Bozhong and Wang, Mengru and Xi, Zekun and Cheng, Siyuan and Liu, Kangwei and Zheng, Guozhou and others},
journal={arXiv preprint arXiv:2308.07269},
year={2023}
}
@article{yao2023editing,
title={Editing Large Language Models: Problems, Methods, and Opportunities},
author={Yao, Yunzhi and Wang, Peng and Tian, Bozhong and Cheng, Siyuan and Li, Zhoubo and Deng, Shumin and Chen, Huajun and Zhang, Ningyu},
journal={arXiv preprint arXiv:2305.13172},
year={2023}
}
- Downloads last month
- 1,096