relation
stringlengths
6
42
relation_prefix
stringclasses
29 values
relation_suffix
stringlengths
3
34
prompt
stringlengths
7
99
relation_id
stringlengths
3
5
target_false_id
stringlengths
3
8
target_true_id
stringlengths
2
8
target_true
stringlengths
3
15
target_false
stringlengths
3
15
subject
stringlengths
1
83
The mother tongue of {} is
The mother tongue of
is
The mother tongue of Danielle Darrieux is
P103
Q1860
Q150
French
English
Danielle Darrieux
The official religion of {} is
The official religion of
is
The official religion of Edwin of Northumbria is
P140
Q432
Q5043
Christianity
Islam
Edwin of Northumbria
{}, the
{}, the
Toko Yasuda, the
P1303
Q5994
Q6607
guitar
piano
Toko Yasuda
{}, which is located in
{}, which is located in
Autonomous University of Madrid, which is located in
P17
Q34
Q29
Spain
Sweden
Autonomous University of Madrid
What is the twin city of {}? It is
What is the twin city of
? It is
What is the twin city of Lyon? It is
P190
Q1461
Q3820
Beirut
Manila
Lyon
The mother tongue of {} is
The mother tongue of
is
The mother tongue of Thomas Joannes Stieltjes is
P103
Q1860
Q7411
Dutch
English
Thomas Joannes Stieltjes
{}, that was created in
{}, that was created in
Anaal Nathrakh, that was created in
P740
Q1345
Q2256
Birmingham
Philadelphia
Anaal Nathrakh
{} was created by
{} was created by
Apple A5 was created by
P178
Q95
Q312
Apple
Google
Apple A5
What is the twin city of {}? It is
What is the twin city of
? It is
What is the twin city of Wellington? It is
P190
Q42448
Q3130
Sydney
Sheffield
Wellington
{}, created in
{}, created in
Shree Pundalik, created in
P495
Q34
Q668
India
Sweden
Shree Pundalik
{}, by
{}, by
BBC One, by
P127
Q122741
Q9531
BBC
Sega
BBC One
{} professionally plays the sport
{} professionally plays the sport
Andreas Ivanschitz professionally plays the sport
P641
Q41323
Q2736
soccer
football
Andreas Ivanschitz
{} spoke the language
{} spoke the language
Michel Denisot spoke the language
P103
Q7737
Q150
French
Russian
Michel Denisot
{}, developed by
{}, developed by
Ferrari F40, developed by
P176
Q2283
Q27586
Ferrari
Microsoft
Ferrari F40
The mother tongue of {} is
The mother tongue of
is
The mother tongue of Go Hyeon-jeong is
P103
Q150
Q9176
Korean
French
Go Hyeon-jeong
{}, the
{}, the
Percy Snow, the
P413
Q1317534
Q528145
linebacker
goaltender
Percy Snow
{} is a twin city of
{} is a twin city of
Saint Petersburg is a twin city of
P190
Q597
Q270
Warsaw
Lisbon
Saint Petersburg
The original language of {} was
The original language of
was
The original language of The Icelandic Dream was
P364
Q5885
Q294
Icelandic
Tamil
The Icelandic Dream
{}, created by
{}, created by
Porsche 911, created by
P176
Q9584
Q40993
Porsche
Honda
Porsche 911
{} is a
{} is a
Robert William Muench is a
P39
Q19546
Q29182
bishop
pope
Robert William Muench
{} can be found in
{} can be found in
Inner Circle railway line can be found in
P276
Q334
Q3141
Melbourne
Singapore
Inner Circle railway line
{} belongs to the organization of
{} belongs to the organization of
Argentine Football Association belongs to the organization of
P463
Q7184
Q253414
FIFA
NATO
Argentine Football Association
The headquarter of {} is located in
The headquarter of
is located in
The headquarter of Monell Chemical Senses Center is located in
P159
Q1156
Q1345
Philadelphia
Mumbai
Monell Chemical Senses Center
{} expired at
{} expired at
Charles Alfred Pillsbury expired at
P20
Q64
Q36091
Minneapolis
Berlin
Charles Alfred Pillsbury
What does {} play? They play
What does
play? They play
What does Heath Brothers play? They play
P136
Q1344
Q8341
jazz
opera
Heath Brothers
{} is created by
{} is created by
Platform Controller Hub is created by
P176
Q27564
Q248
Intel
Dodge
Platform Controller Hub
{}, who works as
{}, who works as
Billy Roche, who works as
P106
Q42973
Q33999
actor
architect
Billy Roche
{}, speaker of
{}, speaker of
Jean Gaven, speaker of
P103
Q7737
Q150
French
Russian
Jean Gaven
{} belongs to the continent of
{} belongs to the continent of
Pidgeon Island belongs to the continent of
P30
Q48
Q51
Antarctica
Asia
Pidgeon Island
{} belongs to the continent of
{} belongs to the continent of
Kryvyi Rih belongs to the continent of
P30
Q51
Q46
Europe
Antarctica
Kryvyi Rih
{} found employment in
{} found employment in
Leonardo Balada found employment in
P937
Q90
Q1342
Pittsburgh
Paris
Leonardo Balada
{}, that originated in
{}, that originated in
controller.controller, that originated in
P495
Q334
Q16
Canada
Singapore
controller.controller
What does {} play? They play
What does
play? They play
What does Sylvano Bussotti play? They play
P136
Q8341
Q1344
opera
jazz
Sylvano Bussotti
The headquarter of {} is located in
The headquarter of
is located in
The headquarter of Majorette is located in
P159
Q84
Q456
Lyon
London
Majorette
{} was employed in
{} was employed in
Laurent Cars was employed in
P937
Q1345
Q90
Paris
Philadelphia
Laurent Cars
{}, created by
{}, created by
Ferrari Mondial, created by
P176
Q8093
Q27586
Ferrari
Nintendo
Ferrari Mondial
The native language of {} is
The native language of
is
The native language of Symeon of Polotsk is
P103
Q150
Q7737
Russian
French
Symeon of Polotsk
{}, produced by
{}, produced by
Triumph TR8, produced by
P176
Q66
Q1140388
Triumph
Boeing
Triumph TR8
{} is produced by
{} is produced by
Jeep Commander is produced by
P176
Q27597
Q30113
Jeep
Fiat
Jeep Commander
{} was released on
{} was released on
The Loner was released on
P449
Q23633
Q43380
CBS
HBO
The Loner
{} is a twin city of
{} is a twin city of
Kharkiv is a twin city of
P190
Q1524
Q270
Warsaw
Athens
Kharkiv
{} has a citizenship from
{} has a citizenship from
Mahmoud Fawzi has a citizenship from
P27
Q183
Q79
Egypt
Germany
Mahmoud Fawzi
The profession of {} is
The profession of
is
The profession of Arun Nehru is
P106
Q33999
Q82955
politician
actor
Arun Nehru
{} is located in
{} is located in
Howard Glacier is located in
P30
Q46
Q51
Antarctica
Europe
Howard Glacier
The language used by {} is
The language used by
is
The language used by Gilad Atzmon is
P1412
Q652
Q9288
Hebrew
Italian
Gilad Atzmon
{} speaks
{} speaks
Emilio Lussu speaks
P1412
Q150
Q652
Italian
French
Emilio Lussu
{} passed away at
{} passed away at
Maso da San Friano passed away at
P20
Q1741
Q2044
Florence
Vienna
Maso da San Friano
The language used by {} is
The language used by
is
The language used by Jean-Baptiste Marchand is
P1412
Q188
Q150
French
German
Jean-Baptiste Marchand
{}, created by
{}, created by
IBM Connections, created by
P178
Q11463
Q37156
IBM
Adobe
IBM Connections
{} is created by
{} is created by
Nissan Laurel is created by
P176
Q9584
Q20165
Nissan
Honda
Nissan Laurel
{} was started in
{} was started in
Webley & Scott was started in
P740
Q25
Q2256
Birmingham
Wales
Webley & Scott
{} is located in
{} is located in
Prydz Bay is located in
P30
Q15
Q51
Antarctica
Africa
Prydz Bay
The mother tongue of {} is
The mother tongue of
is
The mother tongue of Jean Galland is
P103
Q7737
Q150
French
Russian
Jean Galland
{}, which is located in
{}, which is located in
Pochepsky District, which is located in
P17
Q668
Q159
Russia
India
Pochepsky District
{} is a citizen of
{} is a citizen of
Tapio Kantanen is a citizen of
P27
Q219
Q33
Finland
Bulgaria
Tapio Kantanen
{}'s domain of work is
{}'s domain of work is
John James Rickard Macleod's domain of work is
P101
Q9418
Q521
physiology
psychology
John James Rickard Macleod
{}, developed by
{}, developed by
Toyota Cresta, developed by
P176
Q26678
Q53268
Toyota
BMW
Toyota Cresta
{} was born in
{} was born in
Gilles Grimandi was born in
P19
Q29364
Q175081
Gap
Montgomery
Gilles Grimandi
In {}, an official language is
In
, an official language is
In Northwest Territories, an official language is
P37
Q5885
Q1860
English
Tamil
Northwest Territories
{} is originally from
{} is originally from
Eli Maor is originally from
P19
Q49191
Q801
Israel
Portsmouth
Eli Maor
{} is a citizen of
{} is a citizen of
Carol Zhao is a citizen of
P27
Q17
Q16
Canada
Japan
Carol Zhao
{} originates from
{} originates from
Henry Mackenzie originates from
P19
Q18094
Q23436
Edinburgh
Honolulu
Henry Mackenzie
{} is named for
{} is named for
Centocelle Airport is named for
P138
Q490
Q220
Rome
Milan
Centocelle Airport
{} speaks
{} speaks
James Hardiman speaks
P1412
Q652
Q1860
English
Italian
James Hardiman
{} works as
{} works as
Gregg Edelman works as
P106
Q42857
Q33999
actor
prophet
Gregg Edelman
{} found employment in
{} found employment in
Mayer Carl von Rothschild found employment in
P937
Q84
Q1794
Frankfurt
London
Mayer Carl von Rothschild
{}, located in
{}, located in
Kuala Langat, located in
P17
Q668
Q833
Malaysia
India
Kuala Langat
In {}, the language spoken is
In
, the language spoken is
In Nykarleby, the language spoken is
P37
Q1321
Q9027
Swedish
Spanish
Nykarleby
{} is native to
{} is native to
Ryan Archibald is native to
P19
Q43382
Q37100
Auckland
Plymouth
Ryan Archibald
{} premiered on
{} premiered on
Dateline NBC premiered on
P449
Q215616
Q13974
NBC
PBS
Dateline NBC
The twin city of {} is
The twin city of
is
The twin city of Beirut is
P190
Q2044
Q406
Istanbul
Florence
Beirut
{} is a part of the
{} is a part of the
San Marino Football Federation is a part of the
P463
Q38799
Q253414
FIFA
Hamas
San Marino Football Federation
{} was native to
{} was native to
Cao Yunding was native to
P19
Q1761
Q8686
Shanghai
Dublin
Cao Yunding
{}'s area of work is
{}'s area of work is
Lee Alvin DuBridge's area of work is
P101
Q193391
Q413
physics
diplomat
Lee Alvin DuBridge
{} holds the title of
{} holds the title of
Ennio Antonelli holds the title of
P39
Q29182
Q45722
cardinal
bishop
Ennio Antonelli
The native language of {} is
The native language of
is
The native language of Tanya Lopert is
P103
Q7411
Q150
French
Dutch
Tanya Lopert
{} was employed in
{} was employed in
Nancy Astor, Viscountess Astor was employed in
P937
Q90
Q84
London
Paris
Nancy Astor, Viscountess Astor
{} is a product of
{} is a product of
Windows Embedded CE 6.0 is a product of
P178
Q37156
Q2283
Microsoft
IBM
Windows Embedded CE 6.0
{} speaks the language
{} speaks the language
George Goring, Lord Goring speaks the language
P1412
Q652
Q1860
English
Italian
George Goring, Lord Goring
{} plays
{} plays
Roberto Clemente plays
P641
Q41323
Q5369
baseball
football
Roberto Clemente
{} died in the city of
{} died in the city of
Fedele Fischetti died in the city of
P20
Q90
Q2634
Naples
Paris
Fedele Fischetti
{} debuted on
{} debuted on
Running Mates debuted on
P449
Q43380
Q688333
TNT
CBS
Running Mates
{} is a part of the continent of
{} is a part of the continent of
George V Coast is a part of the continent of
P30
Q15
Q51
Antarctica
Africa
George V Coast
{} is in
{} is in
Gabbro Hills is in
P30
Q48
Q51
Antarctica
Asia
Gabbro Hills
{}, a citizen of
{}, a citizen of
Nathuram Godse, a citizen of
P27
Q38
Q668
India
Italy
Nathuram Godse
{} professionally plays the sport
{} professionally plays the sport
Carlos Valderrama professionally plays the sport
P641
Q5372
Q2736
soccer
basketball
Carlos Valderrama
{} is a native speaker of
{} is a native speaker of
Stefanos Stratigos is a native speaker of
P103
Q7411
Q9129
Greek
Dutch
Stefanos Stratigos
{} belongs to the organization of
{} belongs to the organization of
Gilli Smyth belongs to the organization of
P463
Q253414
Q544024
Gong
FIFA
Gilli Smyth
{}'s life ended in
{}'s life ended in
Charles IV of Spain's life ended in
P20
Q90
Q220
Rome
Paris
Charles IV of Spain
The language of {} is
The language of
is
The language of Zampa is
P364
Q1321
Q150
French
Spanish
Zampa
The twin city of {} is
The twin city of
is
The twin city of Rabat is
P190
Q406
Q3766
Damascus
Istanbul
Rabat
{} worked in the city of
{} worked in the city of
LeRoy Collins worked in the city of
P937
Q649
Q812
Florida
Moscow
LeRoy Collins
{} holds a citizenship from
{} holds a citizenship from
Pat Scully holds a citizenship from
P27
Q183
Q27
Ireland
Germany
Pat Scully
{}, located in
{}, located in
Wanne-Eickel Central Station, located in
P17
Q39
Q183
Germany
Switzerland
Wanne-Eickel Central Station
{}, founded in
{}, founded in
Flotation Toy Warning, founded in
P740
Q2256
Q84
London
Birmingham
Flotation Toy Warning
{} is in
{} is in
Galata is in
P131
Q2634
Q406
Istanbul
Naples
Galata
{} plays in the position of
{} plays in the position of
Pantelis Kafes plays in the position of
P413
Q1050571
Q193592
midfielder
catcher
Pantelis Kafes
{}'s headquarters are in
{}'s headquarters are in
Ipsos MORI's headquarters are in
P159
Q585
Q84
London
Oslo
Ipsos MORI
{} was written in
{} was written in
Mama Corsica was written in
P407
Q7411
Q150
French
Dutch
Mama Corsica
{}, formulated in
{}, formulated in
Savdhaan India @ 11, formulated in
P495
Q36
Q668
India
Poland
Savdhaan India @ 11

Dataset Card for "counterfact-tracing"

This is adapted from the counterfact dataset from the excellent ROME paper from David Bau and Kevin Meng.

This is a dataset of 21919 factual relations, formatted as data["prompt"]==f"{data['relation_prefix']}{data['subject']}{data['relation_suffix']}". Each has two responses data["target_true"] and data["target_false"] which is intended to go immediately after the prompt.

The dataset was originally designed for memory editing in models. I made this for a research project doing mechanistic interpretability of how models recall factual knowledge, building on their causal tracing technique, and so stripped their data down to the information relevant to causal tracing. I also prepended spaces where relevant so that the subject and targets can be properly tokenized as is (spaces are always prepended to targets, and are prepended to subjects unless the subject is at the start of a sentence).

Each fact has both a true and false target. I recommend measuring the logit difference between the true and false target (at least, if it's a single token target!), so as to control for eg the parts of the model which identify that it's supposed to be giving a fact of this type at all. (Idea inspired by the excellent Interpretability In the Wild paper).

Downloads last month
53