Datasets:
clean
stringlengths 50
59
| corrupted
stringclasses 315
values | year
stringclasses 679
values |
|---|---|---|
The relationship lasted from the year 1651 to the year 1652
|
The relationship lasted from the year 1601 to the year 1601
|
1651
|
The trial lasted from the year 1712 to the year 1713
|
The trial lasted from the year 1701 to the year 1701
|
1712
|
The competition lasted from the year 1152 to the year 1153
|
The competition lasted from the year 1101 to the year 1101
|
1152
|
The fall lasted from the year 1463 to the year 1464
|
The fall lasted from the year 1401 to the year 1401
|
1463
|
The construction lasted from the year 1152 to the year 1153
|
The construction lasted from the year 1101 to the year 1101
|
1152
|
The therapy lasted from the year 1273 to the year 1274
|
The therapy lasted from the year 1201 to the year 1201
|
1273
|
The competition lasted from the year 1495 to the year 1496
|
The competition lasted from the year 1401 to the year 1401
|
1495
|
The riot lasted from the year 1323 to the year 1324
|
The riot lasted from the year 1301 to the year 1301
|
1323
|
The fall lasted from the year 1363 to the year 1364
|
The fall lasted from the year 1301 to the year 1301
|
1363
|
The attack lasted from the year 1580 to the year 1581
|
The attack lasted from the year 1501 to the year 1501
|
1580
|
The order lasted from the year 1649 to the year 1650
|
The order lasted from the year 1601 to the year 1601
|
1649
|
The contact lasted from the year 1708 to the year 179
|
The contact lasted from the year 1701 to the year 1701
|
1708
|
The existence lasted from the year 1486 to the year 1487
|
The existence lasted from the year 1401 to the year 1401
|
1486
|
The process lasted from the year 1795 to the year 1796
|
The process lasted from the year 1701 to the year 1701
|
1795
|
The tests lasted from the year 1461 to the year 1462
|
The tests lasted from the year 1401 to the year 1401
|
1461
|
The impact lasted from the year 1715 to the year 1716
|
The impact lasted from the year 1701 to the year 1701
|
1715
|
The process lasted from the year 1538 to the year 1539
|
The process lasted from the year 1501 to the year 1501
|
1538
|
The case lasted from the year 1608 to the year 169
|
The case lasted from the year 1601 to the year 1601
|
1608
|
The tour lasted from the year 1534 to the year 1535
|
The tour lasted from the year 1501 to the year 1501
|
1534
|
The contact lasted from the year 1206 to the year 127
|
The contact lasted from the year 1201 to the year 1201
|
1206
|
The coma lasted from the year 1425 to the year 1426
|
The coma lasted from the year 1401 to the year 1401
|
1425
|
The rule lasted from the year 1586 to the year 1587
|
The rule lasted from the year 1501 to the year 1501
|
1586
|
The employment lasted from the year 1608 to the year 169
|
The employment lasted from the year 1601 to the year 1601
|
1608
|
The development lasted from the year 1585 to the year 1586
|
The development lasted from the year 1501 to the year 1501
|
1585
|
The effect lasted from the year 1172 to the year 1173
|
The effect lasted from the year 1101 to the year 1101
|
1172
|
The contact lasted from the year 1738 to the year 1739
|
The contact lasted from the year 1701 to the year 1701
|
1738
|
The therapy lasted from the year 1379 to the year 1380
|
The therapy lasted from the year 1301 to the year 1301
|
1379
|
The deal lasted from the year 1483 to the year 1484
|
The deal lasted from the year 1401 to the year 1401
|
1483
|
The contract lasted from the year 1128 to the year 1129
|
The contract lasted from the year 1101 to the year 1101
|
1128
|
The project lasted from the year 1607 to the year 168
|
The project lasted from the year 1601 to the year 1601
|
1607
|
The contract lasted from the year 1382 to the year 1383
|
The contract lasted from the year 1301 to the year 1301
|
1382
|
The assessment lasted from the year 1594 to the year 1595
|
The assessment lasted from the year 1501 to the year 1501
|
1594
|
The trial lasted from the year 1585 to the year 1586
|
The trial lasted from the year 1501 to the year 1501
|
1585
|
The effect lasted from the year 1205 to the year 126
|
The effect lasted from the year 1201 to the year 1201
|
1205
|
The competition lasted from the year 1750 to the year 1751
|
The competition lasted from the year 1701 to the year 1701
|
1750
|
The challenge lasted from the year 1786 to the year 1787
|
The challenge lasted from the year 1701 to the year 1701
|
1786
|
The operation lasted from the year 1680 to the year 1681
|
The operation lasted from the year 1601 to the year 1601
|
1680
|
The contact lasted from the year 1209 to the year 1210
|
The contact lasted from the year 1201 to the year 1201
|
1209
|
The fall lasted from the year 1188 to the year 1189
|
The fall lasted from the year 1101 to the year 1101
|
1188
|
The employment lasted from the year 1729 to the year 1730
|
The employment lasted from the year 1701 to the year 1701
|
1729
|
The rule lasted from the year 1406 to the year 147
|
The rule lasted from the year 1401 to the year 1401
|
1406
|
The operation lasted from the year 1448 to the year 1449
|
The operation lasted from the year 1401 to the year 1401
|
1448
|
The test lasted from the year 1426 to the year 1427
|
The test lasted from the year 1401 to the year 1401
|
1426
|
The test lasted from the year 1692 to the year 1693
|
The test lasted from the year 1601 to the year 1601
|
1692
|
The trial lasted from the year 1472 to the year 1473
|
The trial lasted from the year 1401 to the year 1401
|
1472
|
The growth lasted from the year 1650 to the year 1651
|
The growth lasted from the year 1601 to the year 1601
|
1650
|
The impact lasted from the year 1236 to the year 1237
|
The impact lasted from the year 1201 to the year 1201
|
1236
|
The tour lasted from the year 1476 to the year 1477
|
The tour lasted from the year 1401 to the year 1401
|
1476
|
The program lasted from the year 1670 to the year 1671
|
The program lasted from the year 1601 to the year 1601
|
1670
|
The increase lasted from the year 1362 to the year 1363
|
The increase lasted from the year 1301 to the year 1301
|
1362
|
The construction lasted from the year 1286 to the year 1287
|
The construction lasted from the year 1201 to the year 1201
|
1286
|
The quest lasted from the year 1242 to the year 1243
|
The quest lasted from the year 1201 to the year 1201
|
1242
|
The deal lasted from the year 1544 to the year 1545
|
The deal lasted from the year 1501 to the year 1501
|
1544
|
The relationship lasted from the year 1282 to the year 1283
|
The relationship lasted from the year 1201 to the year 1201
|
1282
|
The deal lasted from the year 1172 to the year 1173
|
The deal lasted from the year 1101 to the year 1101
|
1172
|
The relationship lasted from the year 1144 to the year 1145
|
The relationship lasted from the year 1101 to the year 1101
|
1144
|
The fall lasted from the year 1616 to the year 1617
|
The fall lasted from the year 1601 to the year 1601
|
1616
|
The contract lasted from the year 1217 to the year 1218
|
The contract lasted from the year 1201 to the year 1201
|
1217
|
The effect lasted from the year 1150 to the year 1151
|
The effect lasted from the year 1101 to the year 1101
|
1150
|
The growth lasted from the year 1261 to the year 1262
|
The growth lasted from the year 1201 to the year 1201
|
1261
|
The progress lasted from the year 1770 to the year 1771
|
The progress lasted from the year 1701 to the year 1701
|
1770
|
The quest lasted from the year 1532 to the year 1533
|
The quest lasted from the year 1501 to the year 1501
|
1532
|
The construction lasted from the year 1244 to the year 1245
|
The construction lasted from the year 1201 to the year 1201
|
1244
|
The therapy lasted from the year 1189 to the year 1190
|
The therapy lasted from the year 1101 to the year 1101
|
1189
|
The operation lasted from the year 1384 to the year 1385
|
The operation lasted from the year 1301 to the year 1301
|
1384
|
The practice lasted from the year 1522 to the year 1523
|
The practice lasted from the year 1501 to the year 1501
|
1522
|
The fall lasted from the year 1777 to the year 1778
|
The fall lasted from the year 1701 to the year 1701
|
1777
|
The contact lasted from the year 1465 to the year 1466
|
The contact lasted from the year 1401 to the year 1401
|
1465
|
The tests lasted from the year 1652 to the year 1653
|
The tests lasted from the year 1601 to the year 1601
|
1652
|
The contract lasted from the year 1734 to the year 1735
|
The contract lasted from the year 1701 to the year 1701
|
1734
|
The deal lasted from the year 1341 to the year 1342
|
The deal lasted from the year 1301 to the year 1301
|
1341
|
The riot lasted from the year 1131 to the year 1132
|
The riot lasted from the year 1101 to the year 1101
|
1131
|
The attack lasted from the year 1454 to the year 1455
|
The attack lasted from the year 1401 to the year 1401
|
1454
|
The coma lasted from the year 1454 to the year 1455
|
The coma lasted from the year 1401 to the year 1401
|
1454
|
The therapy lasted from the year 1408 to the year 149
|
The therapy lasted from the year 1401 to the year 1401
|
1408
|
The rule lasted from the year 1350 to the year 1351
|
The rule lasted from the year 1301 to the year 1301
|
1350
|
The evaluation lasted from the year 1239 to the year 1240
|
The evaluation lasted from the year 1201 to the year 1201
|
1239
|
The challenge lasted from the year 1389 to the year 1390
|
The challenge lasted from the year 1301 to the year 1301
|
1389
|
The assessment lasted from the year 1755 to the year 1756
|
The assessment lasted from the year 1701 to the year 1701
|
1755
|
The therapy lasted from the year 1342 to the year 1343
|
The therapy lasted from the year 1301 to the year 1301
|
1342
|
The contract lasted from the year 1172 to the year 1173
|
The contract lasted from the year 1101 to the year 1101
|
1172
|
The construction lasted from the year 1730 to the year 1731
|
The construction lasted from the year 1701 to the year 1701
|
1730
|
The operation lasted from the year 1465 to the year 1466
|
The operation lasted from the year 1401 to the year 1401
|
1465
|
The practice lasted from the year 1391 to the year 1392
|
The practice lasted from the year 1301 to the year 1301
|
1391
|
The riot lasted from the year 1680 to the year 1681
|
The riot lasted from the year 1601 to the year 1601
|
1680
|
The development lasted from the year 1342 to the year 1343
|
The development lasted from the year 1301 to the year 1301
|
1342
|
The testing lasted from the year 1423 to the year 1424
|
The testing lasted from the year 1401 to the year 1401
|
1423
|
The case lasted from the year 1639 to the year 1640
|
The case lasted from the year 1601 to the year 1601
|
1639
|
The existence lasted from the year 1376 to the year 1377
|
The existence lasted from the year 1301 to the year 1301
|
1376
|
The operation lasted from the year 1704 to the year 175
|
The operation lasted from the year 1701 to the year 1701
|
1704
|
The construction lasted from the year 1603 to the year 164
|
The construction lasted from the year 1601 to the year 1601
|
1603
|
The therapy lasted from the year 1730 to the year 1731
|
The therapy lasted from the year 1701 to the year 1701
|
1730
|
The effect lasted from the year 1181 to the year 1182
|
The effect lasted from the year 1101 to the year 1101
|
1181
|
The tour lasted from the year 1405 to the year 146
|
The tour lasted from the year 1401 to the year 1401
|
1405
|
The evaluation lasted from the year 1657 to the year 1658
|
The evaluation lasted from the year 1601 to the year 1601
|
1657
|
The tests lasted from the year 1678 to the year 1679
|
The tests lasted from the year 1601 to the year 1601
|
1678
|
The effect lasted from the year 1271 to the year 1272
|
The effect lasted from the year 1201 to the year 1201
|
1271
|
The construction lasted from the year 1775 to the year 1776
|
The construction lasted from the year 1701 to the year 1701
|
1775
|
The relationship lasted from the year 1476 to the year 1477
|
The relationship lasted from the year 1401 to the year 1401
|
1476
|
The assessment lasted from the year 1537 to the year 1538
|
The assessment lasted from the year 1501 to the year 1501
|
1537
|
Dataset Card for Dataset Name
This is a dataset with examples from the Greater-Than circuit task.
Dataset Details
Dataset Description
- Curated by: Michael Hanna
- Language(s) (NLP): English
- License: MIT
Dataset Sources
- Repository: https://github.com/hannamw/gpt2-greater-than
- Paper: How does GPT-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language model
Uses
This dataset is intended to be a model-agnostic version of the greater-than task.
The original task consisted of examples like The war lasted from the year 1742 to the year 17, based on the fact that GPT-2 small tokenizes 4-digit years into two, two-digit tokens.
One would then compute model performance as the probability assigned to years greater than 42, minus that assigned to years less-than or equal to 42.
New models now tokenize years differently; Llama tokenizes 1742 as [174][2], and Gemma 2 tokenizes it as [1][7][4][2].
You can still compute the probability assigned to good and bad decades; for example:
- For Llama 3, if the token at position [174] is y1, and the token at [2] is y1, you want to compute p(y1>174) + p(y1=174)* p(y2>2) - (p(y1<174) + p(y1=174)* p(y2<=2))
- For Gemma 2, if the token at position [4] is y1, and the token at [2] is y1, you want to compute p(y1>4) + p(y1=4)* p(y2>2) - (p(y1<4) + p(y1=4)* p(y2<=2))
For these purposes, it's easier to have the full string, i.e. The war lasted from the year 1742 to the year 1743, rather than the shortened version The war lasted from the year 1742 to the year 17.
Dataset Structure
clean: The original greater-than example sentences
corrupted: The corrupted version of the corresponding sentence in clean, with the start-year decade set to 01.
year: The start year from the corresponding sentence in clean.
Dataset Creation
Source Data
As described in the paper, this dataset was automatically created, using the template The [event] lasted from the year [XX][YY] to the year [XX].
Michael Hanna and Ollie Liu developed the list of nouns used as [event].
Citation [optional]
BibTeX:
@inproceedings{
hanna2023how,
title={How does {GPT}-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language model},
author={Michael Hanna and Ollie Liu and Alexandre Variengien},
booktitle={Thirty-seventh Conference on Neural Information Processing Systems},
year={2023},
url={https://openreview.net/forum?id=p4PckNQR8k}
}
Dataset Card Authors
Michael Hanna
Dataset Card Contact
- Downloads last month
- 22