Datasets:
user_idx uint32 0 99 | item_idx uint32 0 9.67k | user_id large_stringclasses 100
values | asin large_stringlengths 10 10 | parent_asin large_stringlengths 10 10 | domain large_stringclasses 1
value | rating float64 4 5 | timestamp int64 1,630B 1,650B | pos uint32 0 305 | n_inter uint32 72 383 | split large_stringclasses 1
value | candidates large listlengths 10 10 | gt_pos uint8 0 9 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | 1,649 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 0764146890 | 0764146890 | Books | 5 | 1,638,657,131,100 | 0 | 383 | train | [
1978,
1649,
7635,
8436,
6503,
4357,
6910,
822,
4299,
854
] | 1 |
0 | 3,503 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 153620420X | 153620420X | Books | 5 | 1,638,657,189,883 | 1 | 383 | train | [
3503,
7712,
9077,
3998,
8254,
4465,
4950,
3672,
1793,
6404
] | 0 |
0 | 6,087 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 3836572109 | 3836572109 | Books | 5 | 1,638,658,391,565 | 2 | 383 | train | [
8141,
2738,
8428,
7488,
6087,
3518,
1604,
6939,
6283,
648
] | 4 |
0 | 5,046 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1781168423 | 1781168423 | Books | 5 | 1,638,732,657,506 | 3 | 383 | train | [
7361,
5046,
9038,
7346,
4925,
417,
6773,
5465,
1491,
3635
] | 1 |
0 | 2,853 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1419734652 | 1419734652 | Books | 5 | 1,638,926,026,793 | 4 | 383 | train | [
6803,
6650,
3279,
4588,
5636,
9208,
2255,
1250,
2853,
4717
] | 8 |
0 | 1,541 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 0750940093 | 0750940093 | Books | 5 | 1,639,062,256,648 | 5 | 383 | train | [
2851,
6769,
8274,
3842,
4321,
8805,
1541,
6336,
2379,
7926
] | 6 |
0 | 5,684 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1953201253 | 1953201253 | Books | 5 | 1,639,062,398,657 | 6 | 383 | train | [
5003,
5552,
5677,
4549,
7701,
5684,
2741,
4676,
354,
6979
] | 5 |
0 | 7,509 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | B09243C818 | B09243C818 | Books | 5 | 1,639,062,553,161 | 7 | 383 | train | [
7551,
5587,
866,
6311,
7509,
5533,
7838,
757,
5643,
5730
] | 4 |
0 | 4,241 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1635619513 | 1635619513 | Books | 5 | 1,639,082,773,003 | 8 | 383 | train | [
555,
8383,
2783,
8409,
8994,
9693,
4241,
8087,
2324,
328
] | 6 |
0 | 8,145 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | B09FCCCDRN | B09FCCCDRN | Books | 5 | 1,639,082,868,426 | 9 | 383 | train | [
8015,
4032,
1024,
216,
4150,
8145,
3190,
1620,
3321,
4062
] | 5 |
0 | 4,037 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1612545300 | 1612545300 | Books | 5 | 1,639,083,034,892 | 10 | 383 | train | [
1613,
4037,
2372,
9178,
3777,
1472,
6896,
4907,
4426,
4922
] | 1 |
0 | 910 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 0500052190 | 0500052190 | Books | 5 | 1,639,083,316,482 | 11 | 383 | train | [
3365,
2629,
910,
4535,
4902,
8904,
9405,
6931,
3628,
7549
] | 2 |
0 | 3,013 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1465470115 | 1465470115 | Books | 5 | 1,639,083,447,577 | 12 | 383 | train | [
4520,
1986,
7142,
930,
758,
8848,
1228,
3013,
6972,
4433
] | 7 |
0 | 4,503 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1648768865 | 1648768865 | Books | 5 | 1,639,086,714,915 | 13 | 383 | train | [
7117,
5822,
1359,
4290,
4503,
6585,
3072,
4876,
909,
6243
] | 4 |
0 | 3,806 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1576876861 | 1576876861 | Books | 5 | 1,639,092,356,465 | 14 | 383 | train | [
1846,
6722,
1398,
7825,
5856,
3806,
997,
1720,
6560,
3274
] | 5 |
0 | 5,311 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1909414115 | 1909414115 | Books | 5 | 1,639,104,679,154 | 15 | 383 | train | [
4635,
620,
4780,
216,
7723,
5311,
4153,
9376,
1465,
2924
] | 5 |
0 | 798 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 0399580948 | 0399580948 | Books | 5 | 1,639,106,515,830 | 16 | 383 | train | [
8355,
798,
4695,
3292,
5452,
9332,
5175,
5423,
7954,
2645
] | 1 |
0 | 5,327 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1912843145 | 1912843145 | Books | 5 | 1,639,106,690,127 | 17 | 383 | train | [
3138,
6611,
2996,
5535,
1047,
1145,
2781,
2421,
6672,
5327
] | 9 |
0 | 3,825 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1581806574 | 1581806574 | Books | 5 | 1,639,107,210,214 | 18 | 383 | train | [
3085,
1368,
3825,
2349,
9528,
2285,
5469,
5545,
356,
3675
] | 2 |
0 | 5,207 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1847863000 | 1847863000 | Books | 5 | 1,639,107,327,437 | 19 | 383 | train | [
5113,
1771,
1599,
5335,
9685,
9164,
2534,
5207,
8874,
6187
] | 7 |
0 | 1,788 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 0789213702 | 0789213702 | Books | 5 | 1,639,107,821,803 | 20 | 383 | train | [
5154,
210,
8310,
8761,
8734,
3142,
1118,
1788,
2215,
4659
] | 7 |
0 | 5,152 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1799284077 | 1799284077 | Books | 5 | 1,639,108,111,999 | 21 | 383 | train | [
2392,
49,
9170,
302,
3761,
9274,
2594,
645,
5152,
1183
] | 8 |
0 | 1,586 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 0760368074 | 0760368074 | Books | 5 | 1,639,179,047,851 | 22 | 383 | train | [
3184,
1586,
2773,
9504,
4943,
427,
7671,
1925,
3087,
9747
] | 1 |
0 | 1,269 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 0670872520 | 0670872520 | Books | 5 | 1,639,179,196,132 | 23 | 383 | train | [
9085,
6880,
9476,
170,
2943,
7568,
6720,
1269,
1174,
5011
] | 7 |
0 | 67 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 0061684899 | 0061684899 | Books | 5 | 1,639,179,248,839 | 24 | 383 | train | [
8124,
5661,
67,
9517,
3951,
9085,
773,
1192,
1262,
4306
] | 2 |
0 | 2,848 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1419717936 | 1419717936 | Books | 5 | 1,639,211,332,643 | 25 | 383 | train | [
9055,
236,
6307,
1434,
4939,
2848,
5944,
8271,
5548,
9389
] | 5 |
0 | 8,829 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | B09LGTTGSJ | B09LGTTGSJ | Books | 5 | 1,639,211,644,901 | 26 | 383 | train | [
7924,
6309,
8829,
7297,
7742,
4291,
9132,
8329,
4637,
1779
] | 2 |
0 | 7,849 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | B099BZQVV9 | B099BZQVV9 | Books | 5 | 1,639,211,882,224 | 27 | 383 | train | [
2871,
9137,
5299,
6004,
7443,
8521,
7553,
3318,
7849,
6029
] | 8 |
0 | 7,480 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | B091GMXZ2T | B091GMXZ2T | Books | 5 | 1,639,211,910,209 | 28 | 383 | train | [
5302,
7480,
2662,
2457,
4498,
9717,
2351,
2711,
8272,
7373
] | 1 |
0 | 4,672 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1697370748 | 1697370748 | Books | 5 | 1,639,212,127,431 | 29 | 383 | train | [
4672,
3166,
1393,
9044,
8969,
1885,
3087,
9025,
5962,
8113
] | 0 |
0 | 5,121 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1791529097 | 1791529097 | Books | 5 | 1,639,212,180,986 | 30 | 383 | train | [
7015,
5889,
508,
1714,
527,
8176,
1909,
5126,
5121,
4265
] | 8 |
0 | 4,553 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1675958238 | 1675958238 | Books | 5 | 1,639,212,206,196 | 31 | 383 | train | [
8723,
4881,
7811,
4553,
8362,
2266,
2353,
413,
1781,
5364
] | 3 |
0 | 7,161 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | B08NZ5TGWR | B08NZ5TGWR | Books | 5 | 1,639,212,275,416 | 32 | 383 | train | [
5212,
1030,
8761,
979,
895,
495,
9064,
8200,
4014,
7161
] | 9 |
0 | 7,099 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | B08LNG9QR5 | B08LNG9QR5 | Books | 5 | 1,639,212,325,075 | 33 | 383 | train | [
3184,
6389,
6247,
7687,
7099,
5775,
7308,
7689,
6138,
7901
] | 4 |
0 | 2,178 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 089747547X | 089747547X | Books | 5 | 1,639,212,406,273 | 34 | 383 | train | [
7731,
581,
2641,
2178,
4310,
1354,
6360,
6800,
3818,
2475
] | 3 |
0 | 3,335 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1520731590 | 1520731590 | Books | 5 | 1,639,212,618,235 | 35 | 383 | train | [
3250,
1797,
7282,
3758,
4310,
3335,
2947,
2339,
6799,
7818
] | 5 |
0 | 1,692 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 0764356623 | 0764356623 | Books | 5 | 1,639,212,920,058 | 36 | 383 | train | [
5529,
7569,
1985,
5330,
6485,
8338,
1692,
4844,
9391,
7926
] | 6 |
0 | 3,309 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1510748229 | 1510748229 | Books | 5 | 1,639,212,953,056 | 37 | 383 | train | [
6120,
8452,
6193,
9000,
916,
1274,
4978,
9320,
6329,
3309
] | 9 |
0 | 6,116 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 9081989022 | 9081989022 | Books | 5 | 1,639,213,003,469 | 38 | 383 | train | [
7721,
9736,
5912,
7839,
4040,
4417,
6116,
7890,
1643,
9123
] | 6 |
0 | 2,317 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 0999644335 | 0999644335 | Books | 5 | 1,639,213,221,913 | 39 | 383 | train | [
6740,
1628,
1663,
1245,
5639,
2317,
4720,
4625,
5711,
74
] | 5 |
0 | 5,287 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1887424458 | 1887424458 | Books | 5 | 1,639,213,426,766 | 40 | 383 | train | [
7751,
9115,
7137,
5287,
1346,
1153,
840,
8306,
4837,
1128
] | 3 |
0 | 3,909 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 159929012X | 159929012X | Books | 5 | 1,639,213,517,727 | 41 | 383 | train | [
7530,
7840,
3610,
6310,
3909,
7294,
2679,
8805,
5319,
8043
] | 4 |
0 | 5,285 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1887424296 | 1887424296 | Books | 5 | 1,639,213,603,983 | 42 | 383 | train | [
3577,
5528,
9288,
1231,
3796,
7287,
7216,
5285,
1727,
9167
] | 7 |
0 | 5,286 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1887424431 | 1887424431 | Books | 5 | 1,639,213,635,149 | 43 | 383 | train | [
1183,
8618,
8360,
4206,
5286,
6338,
8316,
2683,
1141,
9304
] | 4 |
0 | 5,391 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 193609696X | 193609696X | Books | 5 | 1,639,476,530,221 | 44 | 383 | train | [
8120,
4546,
7146,
114,
2931,
4391,
3136,
9468,
4283,
5391
] | 9 |
0 | 4,570 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1682033120 | 1682033120 | Books | 5 | 1,639,476,825,497 | 45 | 383 | train | [
411,
8625,
8232,
6785,
2805,
1026,
7675,
421,
4570,
6612
] | 8 |
0 | 7,075 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | B08KSK6T4X | B08KSK6T4X | Books | 5 | 1,639,476,960,065 | 46 | 383 | train | [
7075,
1385,
2438,
7666,
4494,
2390,
7965,
8397,
8477,
275
] | 0 |
0 | 3,044 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1472845072 | 1472845072 | Books | 5 | 1,639,477,049,495 | 47 | 383 | train | [
2843,
9422,
8070,
6028,
7899,
9578,
1513,
3044,
492,
2370
] | 7 |
0 | 366 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 0143128647 | 0143128647 | Books | 5 | 1,639,477,452,028 | 48 | 383 | train | [
4429,
8314,
1097,
8068,
1980,
4524,
8240,
382,
366,
6913
] | 8 |
0 | 4,604 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 168405091X | 168405091X | Books | 5 | 1,639,477,789,128 | 49 | 383 | train | [
1499,
1893,
4450,
8007,
7263,
2682,
4604,
964,
505,
149
] | 6 |
0 | 3,771 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1561385344 | 1561385344 | Books | 5 | 1,639,528,530,398 | 50 | 383 | train | [
3678,
8674,
1681,
7023,
4549,
2155,
403,
3771,
4088,
41
] | 7 |
0 | 5,289 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1887424490 | 1887424490 | Books | 5 | 1,639,534,629,473 | 51 | 383 | train | [
5418,
2518,
2462,
6327,
1404,
9261,
4429,
5710,
8565,
5289
] | 9 |
0 | 2,048 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 0867130229 | 0867130229 | Books | 5 | 1,639,534,794,653 | 52 | 383 | train | [
4576,
6846,
5030,
8955,
2048,
1246,
4012,
1528,
4704,
1436
] | 4 |
0 | 9,006 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | B09MYQ8KLK | B09MYQ8KLK | Books | 5 | 1,639,537,483,584 | 53 | 383 | train | [
1484,
3979,
7744,
4091,
9006,
8265,
6311,
9498,
4061,
6075
] | 4 |
0 | 3,740 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1550680730 | 1550680730 | Books | 5 | 1,639,538,357,473 | 54 | 383 | train | [
4701,
5876,
4730,
1431,
5711,
2240,
5649,
3740,
917,
3482
] | 7 |
0 | 2,049 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 0867130938 | 0867130938 | Books | 5 | 1,639,538,496,072 | 55 | 383 | train | [
3576,
5488,
1930,
3403,
9411,
2049,
4284,
6231,
5241,
5277
] | 5 |
0 | 4,599 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1683838785 | 1683838785 | Books | 5 | 1,639,538,583,543 | 56 | 383 | train | [
4599,
3804,
5166,
2662,
7882,
3127,
5159,
8238,
7249,
2439
] | 0 |
0 | 5,325 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1912843072 | 1912843072 | Books | 5 | 1,639,538,908,494 | 57 | 383 | train | [
2774,
635,
3318,
5325,
1680,
4829,
5642,
742,
3123,
7229
] | 3 |
0 | 1,289 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 0671898043 | 0671898043 | Books | 5 | 1,639,539,125,531 | 58 | 383 | train | [
1153,
6636,
3617,
1484,
5981,
2377,
1289,
5031,
7016,
4966
] | 6 |
0 | 3,762 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1560252154 | 1560252154 | Books | 5 | 1,639,541,447,270 | 59 | 383 | train | [
6699,
101,
9066,
6374,
1394,
7437,
3845,
3315,
3762,
6981
] | 8 |
0 | 3,011 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1465463283 | 1465463283 | Books | 5 | 1,639,541,522,579 | 60 | 383 | train | [
9370,
7901,
9013,
9678,
6472,
8252,
5555,
3011,
1968,
9661
] | 7 |
0 | 5,288 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1887424474 | 1887424474 | Books | 5 | 1,639,648,294,439 | 61 | 383 | train | [
9002,
4754,
1457,
3048,
5288,
4305,
4656,
392,
1774,
2423
] | 4 |
0 | 5,290 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1887424555 | 1887424555 | Books | 5 | 1,639,648,345,965 | 62 | 383 | train | [
9720,
8269,
7153,
5840,
805,
4883,
132,
5290,
2664,
2419
] | 7 |
0 | 2,347 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1095579878 | 1095579878 | Books | 5 | 1,639,648,429,954 | 63 | 383 | train | [
553,
6111,
7348,
9123,
5398,
2347,
8648,
3633,
7171,
3363
] | 5 |
0 | 708 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 0385185286 | 0385185286 | Books | 5 | 1,639,648,592,555 | 64 | 383 | train | [
8357,
3027,
8911,
5811,
4278,
3384,
5849,
3807,
1157,
708
] | 9 |
0 | 5,291 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 188742461X | 188742461X | Books | 5 | 1,639,649,386,157 | 65 | 383 | train | [
1741,
3366,
2565,
6274,
3880,
5291,
1880,
3147,
81,
6256
] | 5 |
0 | 5,292 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1887424660 | 1887424660 | Books | 5 | 1,639,649,914,348 | 66 | 383 | train | [
5652,
69,
6305,
2750,
4128,
6962,
1654,
5235,
7063,
5292
] | 9 |
0 | 5,293 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1887424733 | 1887424733 | Books | 5 | 1,639,650,245,758 | 67 | 383 | train | [
5109,
9419,
709,
4568,
2813,
8514,
5293,
7715,
6206,
7129
] | 6 |
0 | 5,294 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1887424822 | 1887424822 | Books | 5 | 1,639,650,293,691 | 68 | 383 | train | [
9491,
9620,
1489,
9479,
7258,
4139,
1035,
5294,
2850,
8087
] | 7 |
0 | 5,295 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1887424946 | 1887424946 | Books | 5 | 1,639,650,594,012 | 69 | 383 | train | [
3230,
8587,
4848,
8446,
9561,
2401,
4613,
9417,
5295,
9629
] | 8 |
0 | 3,907 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1599290022 | 1599290022 | Books | 5 | 1,639,650,645,350 | 70 | 383 | train | [
524,
9054,
3694,
2367,
8095,
350,
9330,
3907,
4409,
2629
] | 7 |
0 | 3,908 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1599290073 | 1599290073 | Books | 5 | 1,639,650,718,211 | 71 | 383 | train | [
8901,
7308,
467,
7893,
3784,
3908,
8496,
3899,
77,
7311
] | 5 |
0 | 3,910 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1599290278 | 1599290278 | Books | 5 | 1,639,650,793,609 | 72 | 383 | train | [
2599,
280,
6075,
3986,
7502,
8785,
6716,
5297,
3910,
6932
] | 8 |
0 | 3,911 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1599290340 | 1599290340 | Books | 5 | 1,639,650,819,065 | 73 | 383 | train | [
5879,
3944,
5497,
7022,
8844,
4453,
2966,
3911,
1105,
2720
] | 7 |
0 | 3,912 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 159929043X | 159929043X | Books | 5 | 1,639,650,941,999 | 74 | 383 | train | [
4053,
2942,
5336,
9753,
7652,
3912,
5345,
6348,
4216,
7951
] | 5 |
0 | 3,913 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1599290596 | 1599290596 | Books | 5 | 1,639,651,006,609 | 75 | 383 | train | [
2160,
994,
3418,
4920,
3913,
3888,
4908,
1297,
573,
8967
] | 4 |
0 | 3,914 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1599290634 | 1599290634 | Books | 5 | 1,639,651,031,029 | 76 | 383 | train | [
9769,
9416,
3914,
8641,
9386,
6308,
4175,
3409,
4460,
8707
] | 2 |
0 | 3,915 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1599290677 | 1599290677 | Books | 5 | 1,639,651,076,494 | 77 | 383 | train | [
9617,
8736,
2123,
3915,
8908,
3229,
5595,
7338,
3041,
5277
] | 3 |
0 | 5,381 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1933865806 | 1933865806 | Books | 5 | 1,639,651,592,451 | 78 | 383 | train | [
1739,
2484,
1502,
576,
3444,
8581,
2799,
14,
5609,
5381
] | 9 |
0 | 5,382 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 193386589X | 193386589X | Books | 5 | 1,639,651,732,672 | 79 | 383 | train | [
2531,
6665,
2646,
8849,
5865,
7769,
8020,
4667,
6691,
5382
] | 9 |
0 | 4,307 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1640410066 | 1640410066 | Books | 5 | 1,639,651,924,480 | 80 | 383 | train | [
4299,
1352,
339,
9391,
4307,
5087,
9184,
7310,
9148,
7687
] | 4 |
0 | 4,308 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1640410252 | 1640410252 | Books | 5 | 1,639,652,128,691 | 81 | 383 | train | [
7789,
453,
1076,
4308,
5123,
6324,
486,
2607,
8374,
3109
] | 3 |
0 | 4,309 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1640410333 | 1640410333 | Books | 5 | 1,639,652,682,459 | 82 | 383 | train | [
1465,
15,
4138,
4309,
4122,
2289,
2872,
4855,
3904,
1080
] | 3 |
0 | 5,013 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1777081734 | 1777081734 | Books | 5 | 1,639,652,949,886 | 83 | 383 | train | [
5279,
4072,
5013,
2576,
7700,
2275,
8272,
4282,
4636,
5508
] | 2 |
0 | 2,013 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 0831787988 | 0831787988 | Books | 5 | 1,639,653,004,157 | 84 | 383 | train | [
463,
2447,
4783,
8489,
7348,
9109,
4568,
3283,
4898,
2013
] | 9 |
0 | 4,035 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1612545157 | 1612545157 | Books | 5 | 1,639,653,077,541 | 85 | 383 | train | [
1067,
8039,
1485,
6994,
9132,
859,
87,
1847,
4035,
296
] | 8 |
0 | 1,353 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 0706407563 | 0706407563 | Books | 5 | 1,639,653,349,909 | 86 | 383 | train | [
8385,
5334,
2774,
4888,
1353,
8796,
44,
6164,
1578,
4539
] | 4 |
0 | 6,095 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 4756253407 | 4756253407 | Books | 5 | 1,639,653,381,156 | 87 | 383 | train | [
1437,
8010,
7260,
6004,
6095,
9620,
9464,
3583,
760,
8911
] | 4 |
0 | 3,313 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1511607491 | 1511607491 | Books | 5 | 1,639,653,439,849 | 88 | 383 | train | [
7277,
3799,
8101,
8466,
3441,
747,
3156,
3313,
282,
6319
] | 7 |
0 | 6,328 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | B00NPN5P2W | B00NPN5P2W | Books | 5 | 1,639,653,480,957 | 89 | 383 | train | [
1195,
2348,
7664,
8729,
1213,
8124,
1432,
5915,
3151,
6328
] | 9 |
0 | 5,173 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1838663185 | 1838663185 | Books | 5 | 1,639,653,687,265 | 90 | 383 | train | [
9050,
9702,
157,
3850,
5827,
2618,
5173,
5762,
5531,
37
] | 6 |
0 | 5,896 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1980398305 | 1980398305 | Books | 5 | 1,639,653,789,774 | 91 | 383 | train | [
7138,
481,
5896,
1274,
4436,
1791,
2703,
3413,
2926,
5922
] | 2 |
0 | 2,855 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1419747754 | 1419747754 | Books | 5 | 1,639,653,849,279 | 92 | 383 | train | [
8249,
8326,
8576,
5534,
6075,
5230,
6169,
2855,
1819,
2511
] | 7 |
0 | 5,056 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 178274729X | 178274729X | Books | 5 | 1,639,654,065,805 | 93 | 383 | train | [
9053,
9607,
7097,
9228,
5107,
333,
4163,
1449,
5056,
118
] | 8 |
0 | 1,878 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 0803702485 | 0803702485 | Books | 5 | 1,639,654,113,792 | 94 | 383 | train | [
3566,
6528,
1878,
1549,
6767,
4651,
9408,
2624,
1445,
3923
] | 2 |
0 | 2,912 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1426221924 | 1426221924 | Books | 5 | 1,639,654,187,508 | 95 | 383 | train | [
3755,
4659,
4103,
8634,
6422,
2912,
7252,
8621,
3402,
6407
] | 5 |
0 | 4,502 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1648768849 | 1648768849 | Books | 5 | 1,639,654,214,393 | 96 | 383 | train | [
6928,
8501,
7868,
8461,
8861,
7680,
1009,
4978,
4407,
4502
] | 9 |
0 | 3,008 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1465436642 | 1465436642 | Books | 5 | 1,639,654,303,519 | 97 | 383 | train | [
6257,
9649,
8707,
3733,
3921,
7117,
3008,
9119,
6239,
7929
] | 6 |
0 | 5,513 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 1948062224 | 1948062224 | Books | 5 | 1,639,654,474,323 | 98 | 383 | train | [
3595,
646,
4988,
5513,
1929,
3736,
9154,
5740,
3359,
4639
] | 3 |
0 | 1,335 | AHWZXPYCUYGBI65ZBE7U3RTC7KTQ | 0691204063 | 0691204063 | Books | 5 | 1,639,654,896,610 | 99 | 383 | train | [
1944,
954,
225,
2417,
4691,
1335,
5823,
9339,
7193,
7445
] | 5 |
Books sequential recommendation dataset
A sequential recommendation dataset drawn from Amazon Reviews 2023, covering Books.
Each row of interactions.parquet is one user buying or reviewing one item at one time.
Users are sampled so that every one of them is active in all domains, their
interactions are ordered chronologically and cut into train/valid/test, and each
interaction carries a fixed set of 10 candidate items for ranking
evaluation. Integer user_idx / item_idx columns make the data directly loadable by
sequential models, while the original Amazon identifiers are retained so item metadata can
be joined back in.
Generated from the raw corpus by the project's build script; the numbers below are read off the published files.
Build configuration
| Setting | Value |
|---|---|
| Domains | Books |
| Time window | 2021-09-01 to 2022-05-01 |
| Minimum rating | 4 |
| Domains per user | >= 1 |
| Interactions per user | >= 10 |
| Users sampled | top 100 by interaction count |
| Item identity | parent_asin (must have a title) |
| Candidates | 10 per interaction, seed 42 |
| Split | per-user chronological 8:1:1 |
Built with the flags in the table above. The build and audit scripts live in the project repository.
The build is deterministic: identical flags over identical inputs produce byte-identical
outputs. Selection, indexing and splitting involve no randomness at all; candidate sampling
is the only stochastic step, and it is driven by --seed alone.
Files
| File | Rows | Contents |
|---|---|---|
data/interactions.parquet |
10,754 | every interaction, sorted by (user_idx, timestamp, item_idx) |
data/train.parquet |
8,566 | interactions where split == "train" |
data/valid.parquet |
1,064 | interactions where split == "valid" |
data/test.parquet |
1,124 | interactions where split == "test" |
data/users.parquet |
100 | user_idx, user_id, n_inter, n_domains |
data/items.parquet |
9,770 | item_idx, parent_asin, domain — join key back to metadata |
data/items_text.parquet |
9,770 | item titles and descriptions, one row per item |
data/items_meta.parquet |
9,770 | everything else from the source metadata: price, ratings, categories, images, etc. -- optional, only items_text.parquet is needed for the sequential-rec task itself |
data/graph.parquet |
10,754 | user-item bipartite graph: one (user_idx, item_idx) edge per interaction (single-domain builds only) |
Split files carry the split column, so each stays self-describing if moved.
Loading
The parquet files stand alone -- no code from the project repository is needed.
import polars as pl
train = pl.read_parquet("data/train.parquet")
text = pl.read_parquet("data/items_text.parquet") # item_idx -> title, description
row = train.row(0, named=True)
row["candidates"] # the 10 item_idx values to rank
row["item_idx"] # the correct one; row["gt_pos"] is its index in candidates
# A user's history is every earlier position in their own sequence.
inter = pl.read_parquet("data/interactions.parquet")
history = (
inter.filter((pl.col("user_idx") == row["user_idx"]) & (pl.col("pos") < row["pos"]))
.sort("pos")["item_idx"]
.to_list()
)
Or through the datasets library, which reads the split configuration above:
from datasets import load_dataset
ds = load_dataset("sungjin-code/amazon-reviews-books-for-llm") # train / validation / test
Downloading only what you need
Every file under data/ is at most a couple of MB, so pulling the whole repo is a
reasonable default. To grab less, fetch files individually instead of cloning the repo:
from huggingface_hub import hf_hub_download
# essential: everything the sequential-rec task itself needs
essential = ["train.parquet", "valid.parquet", "test.parquet", "items_text.parquet"]
for name in essential:
hf_hub_download("sungjin-code/amazon-reviews-books-for-llm", "data/" + name, repo_type="dataset", local_dir=".")
For the full version -- adding items_meta.parquet (price, ratings, categories, images,
and other fields beyond title/description) and any dataset-specific extras such as
graph.parquet -- download the whole data/ folder:
from huggingface_hub import snapshot_download
snapshot_download("sungjin-code/amazon-reviews-books-for-llm", repo_type="dataset", local_dir=".")
Bipartite graph
data/graph.parquet is the user-item bipartite interaction graph for this dataset: one
(user_idx, item_idx) edge per interaction, with none of the sequential-rec columns --
built for graph-CF baselines (LightGCN, NGCF) rather than sequence models.
import polars as pl
edges = pl.read_parquet("data/graph.parquet") # (user_idx, item_idx) edges
Schema of interactions.parquet
| Column | Type | Meaning |
|---|---|---|
user_idx |
UInt32 | 0-based contiguous user index; 0 is the most active user |
item_idx |
UInt32 | 0-based contiguous item index; contiguous blocks per domain |
user_id |
String | original Amazon reviewer id |
asin |
String | original product id of the reviewed variant |
parent_asin |
String | item identity; the join key for items_text.parquet / items_meta.parquet |
domain |
String | source category; a function of item_idx |
rating |
Float64 | star rating, filtered to >= 4 |
timestamp |
Int64 | review time, epoch milliseconds UTC |
pos |
UInt32 | 0-based position in the user's chronological sequence |
n_inter |
UInt32 | total interactions for this user (constant per user) |
split |
String | train / valid / test |
candidates |
List(UInt32) | 10 item_idx values to rank; the ground truth is one of them |
gt_pos |
UInt8 | index of the ground truth inside candidates |
Every item carries a non-empty title: an item whose metadata has no title is not eligible,
so a text-based ranker never sees a blank candidate. Original string ids travel alongside
the integer ids, so items.parquet still joins to items_text.parquet (titles/descriptions)
and items_meta.parquet (everything else) on parent_asin.
Every item in data/items.parquet resolves in the source corpus metadata.
Split protocol
Each user's interactions are sorted oldest to newest and cut by position:
train= positions[0, floor(0.8n))valid= positions[floor(0.8n), floor(0.9n))test= positions[floor(0.9n), n)
Older interactions are always in the earlier split, so there is no temporal leakage within a user. Splits are contiguous position blocks. Because every user has at least 10 interactions, no split is ever empty.
This is a per-user ratio split, not a global timestamp cut: every user appears in all three splits, which is the usual arrangement for sequential recommendation.
Candidate sets
Every interaction carries a fixed candidate set for ranking evaluation, in the candidates
column: the interaction's own item, plus 9 negatives sampled from the
same domain as that item.
- Negatives exclude every item the user interacts with anywhere in their sequence, so a true positive is never presented as a negative. The ground truth is one of those excluded items, which makes all 10 candidates distinct by construction.
- The ground truth sits at a uniformly random position, recorded in
gt_pos, so a ranker cannot score well by favouring a fixed slot.candidates[gt_pos] == item_idx. - Sampling is seeded (
--seed 42) and reproducible: the same flags redraw the same sets. Rebuilding with a different seed changescandidatesand nothing else. - Candidates are
item_idxvalues. Joinitems.parquetforparent_asin, thenitems_text.parquetfor titles/descriptions oritems_meta.parquetfor everything else.
Observed ground-truth position counts: 0:1053, 1:1033, 2:1110, 3:1107, 4:1102, 5:1076, 6:1083, 7:1105, 8:1011, 9:1074.
Statistics
| Metric | Value |
|---|---|
| Interactions | 10,754 |
| Users | 100 |
| Items | 9,770 |
| Density | 1.1007% |
| Time span | 2021-09-01 to 2022-04-30 |
| Sequence length | min 72 / median 87 / max 383 (mean 107.5) |
| Split ratio | 79.7% / 9.9% / 10.5% |
| Domain | Interactions | Share | Items | item_idx range |
|---|---|---|---|---|
| Books | 10,754 | 100.0% | 9,770 | 0–9769 |
Known limitations
Item overlap is very low. 9,030 of 9,770 items (92.4%) appear exactly once,
and the most popular item appears 9 times. Consequently
91.8% of valid and 96.0% of test
interactions target an item that never appears in train.
This matters for how the dataset can be used:
- Methods that score items from their text are unaffected — an LLM ranker reads item
titles and descriptions from
items_text.parquetand never needs a trained id embedding, so an item it has never seen is still rankable. - Id-embedding baselines (SASRec, GRU4Rec) cannot be meaningfully evaluated on this build. The correct item has no learned embedding in nearly every evaluation case. Training such a baseline needs a far larger user sample, built by relaxing the cross-domain requirement and the interaction floor. This dataset is small by design, so that running an LLM over every interaction stays affordable.
Candidate sets keep the evaluation well-posed: the ground truth is always one of the 10 candidates, so every interaction has a reachable correct answer, and every candidate carries a real title for a text-based ranker to read.
Other caveats: ratings are filtered to >= 4, so there are no negative signals and no implicit negatives — samplers must draw their own. Users are the most active in the window, so they are not representative of typical Amazon reviewers.
Regenerating
The scripts that build this dataset from the raw Amazon Reviews 2023 dumps, and that audit a build against every property described above, live in the project repository rather than here. They need the source corpus, which is far too large to ship alongside the result.
Source and attribution
Derived from the Amazon Reviews 2023 corpus released by the McAuley Lab at UC San Diego:
- Project page: https://amazon-reviews-2023.github.io/
- Source corpus: https://huggingface.co/datasets/McAuley-Lab/Amazon-Reviews-2023
- License of the source corpus: https://github.com/hyp1231/AmazonReviews2023 (Copyright (c) 2024 Yupeng Hou, MIT)
That repository holds the corpus's preprocessing scripts and RecBole benchmark configs. It
is referenced here for provenance and licensing only -- this dataset is not in its
benchmark format and its scripts will not read these files. The upstream benchmarks use
single-domain RecBole .inter files with a leave-one-out split; this dataset is parquet,
covers Books, and splits each user's sequence 8:1:1 by position.
If you use this data, cite the source corpus:
@article{hou2024bridging,
title={Bridging Language and Items for Retrieval and Recommendation},
author={Hou, Yupeng and Li, Jiacheng and He, Zhankui and Yan, An and Chen, Xiusi
and McAuley, Julian},
journal={arXiv preprint arXiv:2403.03952},
year={2024}
}
User and product identifiers are the pseudonymous ids published in the source corpus; no additional identifying information is introduced here.
License
MIT, matching the upstream corpus. See LICENSE, which carries the upstream copyright
notice alongside the grant for this derived work.
- Downloads last month
- 21