inflaton commited on
Commit
d7187dc
·
1 Parent(s): 08e9692

llama3 r2 results

Browse files
logs/Llama3-8B-Chinese-Chat_epoch_0.txt CHANGED
@@ -1,7 +1,7 @@
1
  loading env vars from: /common2/dh.huang.2023/code/logical-reasoning/.env
2
  Adding /common2/dh.huang.2023/code/logical-reasoning to sys.path
3
  loading /common2/dh.huang.2023/code/logical-reasoning/llm_toolkit/logical_reasoning_utils.py
4
- shenzhi-wang/Llama3-8B-Chinese-Chat None False datasets/mgtv results/llama3-8b_lora_sft_bf16-p2.csv
5
  (1) GPU = NVIDIA L40. Max memory = 44.309 GB.
6
  0.0 GB of memory reserved.
7
  loading model: shenzhi-wang/Llama3-8B-Chinese-Chat with adapter: None
@@ -147,20 +147,11 @@ You are an expert in logical reasoning.<|eot_id|><|start_header_id|>user<|end_he
147
 
148
 
149
  Evaluating model: shenzhi-wang/Llama3-8B-Chinese-Chat
150
- --------
151
- step 1: 不是。
152
- --------
153
- step 2: 不是。
154
- --------
155
- step 3: 不是。
156
- --------
157
- step 4: 不是
158
- --------
159
- step 5: 不是
160
  (3) GPU = NVIDIA L40. Max memory = 44.309 GB.
161
  20.672 GB of memory reserved.
162
- text ... shenzhi-wang/Llama3-8B-Chinese-Chat_checkpoint-1750
163
- 0 甄加索是自杀吗 ... NaN
164
 
165
- [1 rows x 16 columns]
166
- {'accuracy': 0.73, 'incorrect_ids': [7, 8, 9, 15, 16, 17, 18, 19, 24, 26, 27, 28, 31, 33, 34, 35, 36, 37, 38, 43, 48, 53, 57, 59, 60, 61, 63, 65, 66, 67, 78, 81, 86, 91, 93, 94, 96, 97, 102, 104, 109, 110, 112, 115, 118, 123, 125, 126, 129, 133, 138, 141, 143, 148, 150, 153, 161, 164, 170, 179, 180, 186, 190, 191, 192, 193, 196, 198, 199, 200, 202, 203, 218, 224, 225, 227, 229, 234, 237, 248, 250, 252, 253, 256, 257, 259, 260, 261, 265, 268, 269, 272, 276, 279, 292, 294, 295, 309, 314, 317, 320, 321, 325, 328, 330, 332, 333, 335, 338, 342, 343, 346, 347, 350, 356, 359, 360, 361, 362, 364, 369, 370, 371, 373, 374, 375, 377, 383, 384, 389, 395, 397, 403, 408, 410, 414, 421, 428, 430, 432, 438, 445, 446, 447, 450, 453, 454, 455, 456, 457, 463, 465, 473, 474, 476, 478, 479, 480, 481, 483, 485, 486, 488, 490, 492, 493, 494, 495, 496, 497, 501, 502, 503, 504, 506, 507, 508, 509, 510, 511, 513, 514, 516, 517, 518, 519, 521, 530, 536, 538, 552, 553, 560, 570, 571, 579, 581, 589, 591, 593, 596, 597, 599, 600, 601, 609, 612, 613, 614, 621, 622, 625, 626, 628, 629, 632, 636, 638, 640, 644, 645, 647, 657, 667, 678, 680, 689, 696, 697, 700, 709, 711, 712, 721, 722, 723, 727, 729, 730, 738, 740, 754, 758, 759, 760, 764, 769, 771, 773, 774, 779, 781, 783, 785, 788, 790, 794, 795, 798, 801, 809, 814, 818, 819, 820, 821, 822, 823, 824, 828, 840, 841, 844, 847, 849, 851, 856, 862, 865, 866, 867, 870, 875, 880, 886, 890, 904, 906, 908, 913, 917, 927, 929, 930, 935, 937, 942, 943, 952, 962, 964, 965, 966, 969, 980, 988, 989, 1001, 1002, 1005, 1006, 1011, 1012, 1014, 1016, 1017, 1018, 1019, 1021, 1023, 1024, 1027, 1038, 1040, 1043, 1051, 1052, 1055, 1070, 1071, 1076, 1083, 1087, 1089, 1091, 1096, 1097, 1117, 1124, 1125, 1126, 1133, 1148, 1155, 1161, 1166, 1168, 1173, 1174, 1178, 1180, 1181, 1183, 1184, 1198, 1199, 1203, 1204, 1207, 1212, 1216, 1221, 1224, 1225, 1226, 1228, 1232, 1234, 1238, 1240, 1241, 1248, 1251, 1252, 1253, 1254, 1255, 1257, 1258, 1259, 1269, 1270, 1277, 1278, 1282, 1289, 1304, 1305, 1306, 1311, 1313, 1314, 1315, 1317, 1323, 1324, 1331, 1337, 1339, 1342, 1345, 1349, 1353, 1362, 1363, 1364, 1367, 1370, 1384, 1389, 1391, 1394, 1400, 1402, 1405, 1406, 1407, 1416, 1420, 1422, 1424, 1426, 1427, 1428, 1430, 1438, 1439, 1446, 1447, 1449, 1453, 1457, 1459, 1469, 1473, 1478, 1479, 1485, 1486, 1490, 1491, 1494, 1496, 1499, 1500, 1501, 1510, 1517, 1519, 1523, 1525, 1526, 1529, 1532, 1536, 1538, 1540, 1544, 1545, 1547, 1550, 1551, 1556, 1559, 1560, 1563, 1564, 1572, 1580, 1581, 1587, 1590, 1593, 1594, 1596, 1603, 1604, 1613, 1617, 1627, 1633, 1637, 1643, 1648, 1650, 1652, 1653, 1654, 1655, 1659, 1661, 1662, 1663, 1665, 1672, 1673, 1679, 1685, 1691, 1694, 1695, 1712, 1716, 1726, 1727, 1734, 1736, 1740, 1751, 1755, 1756, 1757, 1758, 1772, 1773, 1786, 1787, 1790, 1796, 1799, 1804, 1812, 1827, 1839, 1841, 1845, 1846, 1848, 1860, 1869, 1879, 1884, 1886, 1890, 1891, 1903, 1907, 1913, 1914, 1916, 1936, 1943, 1945, 1946, 1949, 1952, 1953, 1956, 1957, 1958, 1960, 1962, 1967, 1977, 1978, 1979, 1981, 1982, 1984, 1987, 1989, 1991, 1994, 1995, 2008, 2010, 2011, 2015, 2021, 2025, 2027, 2028, 2029, 2030, 2035, 2036, 2037, 2038, 2044, 2049, 2054, 2062, 2064, 2067, 2073, 2076, 2077, 2092, 2107, 2110, 2111, 2119, 2120, 2121, 2126, 2127, 2133, 2140, 2145, 2147, 2150, 2156, 2159, 2160, 2162, 2164, 2166, 2171, 2174, 2177, 2181, 2185, 2186, 2188, 2189, 2193, 2194, 2195, 2196, 2197, 2199, 2205, 2208, 2211, 2212, 2223, 2226, 2234, 2238, 2240, 2244, 2247, 2248, 2254, 2257, 2262, 2266, 2274, 2281, 2287, 2304, 2312, 2313, 2317, 2320, 2324, 2325, 2330, 2334, 2343, 2348, 2354, 2355, 2356, 2360, 2366, 2369, 2370, 2378, 2380, 2381, 2395, 2396, 2398, 2399, 2400, 2405, 2409, 2410, 2422, 2423, 2425, 2429, 2430, 2435, 2437, 2442, 2444, 2469, 2476, 2493, 2495, 2503, 2512, 2517, 2522, 2529, 2530, 2535, 2539, 2546, 2559, 2575, 2577, 2589, 2594, 2598, 2600, 2611, 2612, 2622, 2626, 2629, 2632, 2633, 2635, 2644, 2649, 2655, 2663, 2664, 2667, 2676, 2685, 2686, 2691, 2697, 2701, 2702, 2708, 2710, 2714, 2715, 2716, 2719, 2727, 2731, 2735, 2736, 2745, 2749, 2753, 2754, 2755, 2756, 2757, 2758, 2762, 2763, 2765, 2766, 2770, 2777, 2779, 2788, 2794, 2797, 2798, 2805, 2806, 2807, 2809, 2815, 2816, 2818, 2820, 2823, 2829, 2831, 2834, 2837, 2840, 2842, 2843, 2854, 2856, 2858, 2866, 2867, 2877, 2880, 2884, 2885, 2889, 2890, 2893, 2896, 2898, 2902, 2905, 2912, 2913, 2915, 2916, 2917, 2919, 2920, 2922, 2923, 2927, 2928, 2937, 2944, 2949, 2953, 2955, 2962, 2963, 2964, 2967, 2969, 2973, 2975, 2977, 2979, 2985, 2990, 2991, 2995, 2998]}
 
1
  loading env vars from: /common2/dh.huang.2023/code/logical-reasoning/.env
2
  Adding /common2/dh.huang.2023/code/logical-reasoning to sys.path
3
  loading /common2/dh.huang.2023/code/logical-reasoning/llm_toolkit/logical_reasoning_utils.py
4
+ shenzhi-wang/Llama3-8B-Chinese-Chat None False datasets/mgtv results/llama3-8b_lora_sft_bf16-p2_r2.csv
5
  (1) GPU = NVIDIA L40. Max memory = 44.309 GB.
6
  0.0 GB of memory reserved.
7
  loading model: shenzhi-wang/Llama3-8B-Chinese-Chat with adapter: None
 
147
 
148
 
149
  Evaluating model: shenzhi-wang/Llama3-8B-Chinese-Chat
150
+ Batch output: ['不是。']
 
 
 
 
 
 
 
 
 
151
  (3) GPU = NVIDIA L40. Max memory = 44.309 GB.
152
  20.672 GB of memory reserved.
153
+ text ... shenzhi-wang/Llama3-8B-Chinese-Chat_torch.bfloat16
154
+ 0 甄加索是自杀吗 ... 不是。
155
 
156
+ [1 rows x 6 columns]
157
+ {'accuracy': 0.17666666666666667, 'incorrect_ids': [0, 1, 3, 4, 6, 7, 8, 9, 10, 12, 13, 14, 15, 16, 17, 18, 19, 20, 24, 26, 27, 28, 31, 32, 33, 34, 35, 36, 37, 38, 40, 41, 43, 44, 45, 48, 50, 51, 53, 56, 57, 59, 60, 61, 63, 65, 66, 67, 68, 69, 70, 73, 74, 77, 78, 79, 80, 81, 83, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 100, 102, 104, 106, 107, 108, 109, 110, 112, 114, 115, 118, 119, 120, 122, 123, 125, 126, 128, 129, 130, 132, 133, 135, 137, 138, 139, 140, 141, 142, 143, 144, 147, 148, 150, 151, 152, 153, 156, 157, 158, 159, 161, 162, 163, 164, 165, 166, 167, 168, 170, 172, 174, 176, 177, 179, 180, 181, 184, 185, 186, 187, 188, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 207, 208, 209, 210, 211, 212, 213, 215, 216, 217, 218, 219, 224, 225, 227, 229, 232, 233, 234, 235, 237, 239, 241, 242, 243, 244, 245, 246, 248, 250, 252, 253, 254, 256, 257, 258, 259, 260, 261, 262, 264, 265, 266, 267, 268, 269, 270, 272, 273, 274, 276, 277, 278, 279, 280, 281, 282, 285, 286, 287, 289, 291, 292, 294, 295, 296, 297, 298, 299, 300, 301, 303, 304, 306, 307, 309, 310, 311, 312, 313, 314, 315, 316, 317, 320, 321, 322, 323, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 380, 381, 382, 383, 384, 385, 388, 389, 390, 391, 392, 393, 394, 395, 397, 399, 400, 401, 402, 403, 404, 405, 407, 408, 410, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 428, 429, 430, 432, 433, 434, 435, 436, 437, 438, 439, 440, 442, 443, 445, 446, 447, 448, 450, 451, 453, 454, 455, 456, 457, 458, 459, 460, 462, 463, 465, 467, 473, 474, 476, 478, 479, 480, 481, 483, 484, 485, 486, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 499, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 516, 517, 518, 519, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 534, 535, 536, 538, 539, 540, 541, 542, 545, 547, 548, 549, 550, 551, 552, 553, 554, 556, 557, 558, 559, 560, 561, 562, 563, 564, 567, 568, 569, 570, 571, 572, 573, 574, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 625, 626, 628, 629, 630, 632, 633, 636, 637, 638, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 653, 654, 655, 657, 658, 659, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 672, 673, 674, 675, 677, 678, 679, 680, 681, 682, 684, 685, 686, 687, 688, 689, 690, 694, 696, 697, 698, 699, 700, 701, 702, 704, 705, 706, 709, 710, 711, 712, 713, 714, 715, 716, 717, 719, 721, 722, 723, 724, 725, 727, 728, 729, 730, 731, 732, 733, 734, 735, 736, 737, 738, 739, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 750, 751, 752, 753, 754, 755, 756, 757, 758, 759, 760, 762, 763, 764, 765, 767, 768, 769, 770, 771, 772, 773, 774, 775, 776, 777, 778, 779, 781, 782, 783, 785, 786, 787, 788, 789, 790, 792, 793, 794, 795, 796, 797, 798, 799, 800, 801, 802, 803, 804, 805, 806, 807, 808, 809, 810, 811, 812, 814, 816, 817, 818, 819, 820, 821, 822, 823, 824, 825, 828, 829, 830, 831, 833, 834, 835, 838, 839, 840, 841, 842, 843, 844, 845, 846, 847, 848, 849, 850, 851, 853, 854, 855, 856, 857, 858, 859, 862, 863, 865, 866, 867, 868, 869, 870, 871, 872, 873, 875, 876, 877, 878, 879, 880, 881, 882, 884, 885, 886, 887, 888, 889, 890, 891, 892, 893, 897, 898, 900, 902, 903, 904, 905, 906, 908, 910, 911, 912, 913, 914, 915, 916, 917, 918, 919, 921, 922, 924, 925, 926, 927, 928, 929, 930, 931, 933, 934, 935, 937, 938, 939, 941, 942, 943, 944, 945, 946, 947, 948, 950, 951, 952, 955, 956, 957, 960, 961, 962, 963, 964, 965, 966, 967, 968, 969, 970, 971, 972, 974, 975, 976, 978, 979, 980, 983, 984, 985, 986, 987, 988, 989, 990, 991, 992, 993, 994, 995, 997, 998, 1000, 1001, 1002, 1004, 1005, 1006, 1007, 1008, 1009, 1010, 1011, 1012, 1013, 1014, 1015, 1016, 1017, 1018, 1019, 1020, 1021, 1023, 1024, 1025, 1026, 1027, 1031, 1033, 1034, 1037, 1038, 1039, 1040, 1041, 1042, 1043, 1044, 1045, 1046, 1047, 1048, 1050, 1051, 1052, 1053, 1054, 1055, 1056, 1057, 1058, 1059, 1060, 1061, 1063, 1064, 1065, 1066, 1067, 1068, 1070, 1071, 1072, 1073, 1075, 1076, 1078, 1079, 1080, 1082, 1083, 1084, 1085, 1087, 1089, 1090, 1091, 1092, 1094, 1095, 1096, 1097, 1098, 1099, 1100, 1101, 1102, 1104, 1105, 1106, 1108, 1109, 1111, 1112, 1115, 1116, 1117, 1118, 1119, 1120, 1122, 1123, 1124, 1125, 1126, 1127, 1128, 1129, 1131, 1132, 1133, 1134, 1135, 1136, 1138, 1139, 1140, 1144, 1145, 1146, 1148, 1149, 1150, 1151, 1153, 1155, 1156, 1157, 1158, 1159, 1160, 1161, 1162, 1163, 1165, 1166, 1167, 1168, 1169, 1170, 1171, 1172, 1173, 1174, 1175, 1178, 1179, 1180, 1181, 1182, 1183, 1184, 1186, 1187, 1189, 1190, 1191, 1195, 1197, 1198, 1199, 1200, 1201, 1202, 1203, 1204, 1205, 1206, 1207, 1208, 1211, 1212, 1213, 1215, 1216, 1218, 1220, 1221, 1222, 1224, 1225, 1226, 1228, 1230, 1232, 1233, 1234, 1238, 1240, 1241, 1242, 1243, 1244, 1245, 1246, 1248, 1249, 1250, 1251, 1252, 1253, 1254, 1255, 1256, 1257, 1258, 1259, 1260, 1261, 1262, 1263, 1267, 1268, 1269, 1270, 1271, 1272, 1275, 1276, 1277, 1278, 1280, 1281, 1282, 1284, 1285, 1286, 1288, 1289, 1290, 1291, 1294, 1295, 1296, 1297, 1300, 1301, 1302, 1303, 1304, 1305, 1306, 1307, 1309, 1310, 1311, 1313, 1314, 1315, 1316, 1317, 1321, 1323, 1324, 1325, 1326, 1328, 1330, 1331, 1332, 1333, 1334, 1335, 1336, 1337, 1338, 1339, 1341, 1342, 1345, 1346, 1347, 1348, 1349, 1350, 1351, 1352, 1353, 1355, 1356, 1357, 1359, 1362, 1363, 1364, 1365, 1366, 1367, 1369, 1370, 1371, 1372, 1374, 1376, 1377, 1380, 1381, 1382, 1383, 1384, 1385, 1386, 1387, 1388, 1389, 1390, 1391, 1392, 1393, 1394, 1395, 1396, 1397, 1398, 1399, 1400, 1401, 1402, 1403, 1404, 1405, 1406, 1407, 1410, 1411, 1413, 1414, 1415, 1416, 1417, 1418, 1419, 1420, 1421, 1422, 1423, 1424, 1425, 1426, 1427, 1428, 1429, 1430, 1431, 1434, 1435, 1436, 1437, 1438, 1439, 1441, 1442, 1443, 1444, 1445, 1446, 1447, 1448, 1449, 1450, 1453, 1454, 1455, 1456, 1457, 1458, 1459, 1460, 1461, 1462, 1463, 1464, 1465, 1466, 1467, 1468, 1469, 1470, 1471, 1472, 1473, 1474, 1476, 1478, 1479, 1480, 1481, 1482, 1485, 1486, 1488, 1489, 1490, 1491, 1492, 1493, 1494, 1496, 1498, 1499, 1500, 1501, 1502, 1503, 1504, 1505, 1506, 1507, 1508, 1509, 1510, 1511, 1512, 1513, 1514, 1515, 1517, 1518, 1519, 1520, 1523, 1525, 1526, 1527, 1528, 1529, 1530, 1531, 1532, 1533, 1534, 1535, 1536, 1537, 1538, 1539, 1540, 1541, 1544, 1545, 1547, 1549, 1550, 1551, 1552, 1553, 1555, 1556, 1557, 1559, 1560, 1563, 1564, 1565, 1566, 1567, 1569, 1571, 1572, 1573, 1574, 1579, 1580, 1581, 1582, 1583, 1584, 1585, 1586, 1587, 1588, 1589, 1590, 1593, 1594, 1595, 1596, 1598, 1599, 1600, 1601, 1602, 1603, 1604, 1605, 1606, 1607, 1608, 1609, 1610, 1611, 1612, 1613, 1614, 1615, 1616, 1617, 1618, 1619, 1620, 1621, 1622, 1624, 1625, 1626, 1627, 1628, 1629, 1631, 1632, 1633, 1635, 1636, 1637, 1640, 1641, 1642, 1643, 1644, 1645, 1646, 1647, 1648, 1649, 1650, 1651, 1652, 1653, 1654, 1655, 1656, 1657, 1658, 1659, 1660, 1661, 1662, 1663, 1664, 1665, 1666, 1667, 1668, 1669, 1670, 1671, 1672, 1673, 1674, 1675, 1676, 1678, 1679, 1680, 1683, 1685, 1686, 1687, 1688, 1689, 1690, 1691, 1692, 1693, 1694, 1695, 1696, 1697, 1698, 1700, 1701, 1702, 1703, 1704, 1705, 1706, 1707, 1708, 1710, 1711, 1712, 1714, 1715, 1716, 1717, 1719, 1720, 1721, 1722, 1723, 1724, 1725, 1726, 1727, 1730, 1731, 1732, 1734, 1735, 1736, 1737, 1739, 1740, 1741, 1742, 1743, 1744, 1745, 1746, 1747, 1748, 1749, 1750, 1751, 1752, 1753, 1754, 1755, 1756, 1757, 1758, 1760, 1761, 1762, 1763, 1764, 1766, 1768, 1770, 1771, 1772, 1773, 1774, 1775, 1776, 1777, 1781, 1784, 1785, 1786, 1787, 1788, 1789, 1790, 1791, 1792, 1793, 1794, 1795, 1796, 1797, 1799, 1800, 1802, 1803, 1804, 1805, 1806, 1807, 1808, 1809, 1812, 1813, 1814, 1815, 1816, 1818, 1819, 1820, 1821, 1823, 1825, 1826, 1827, 1828, 1829, 1830, 1831, 1832, 1833, 1835, 1836, 1837, 1838, 1839, 1840, 1841, 1842, 1843, 1844, 1845, 1846, 1847, 1848, 1849, 1850, 1851, 1852, 1853, 1854, 1855, 1856, 1857, 1858, 1860, 1862, 1864, 1865, 1867, 1868, 1869, 1870, 1871, 1872, 1873, 1874, 1876, 1877, 1878, 1879, 1880, 1881, 1882, 1883, 1884, 1885, 1886, 1887, 1889, 1890, 1891, 1895, 1896, 1898, 1899, 1900, 1903, 1904, 1905, 1906, 1907, 1909, 1910, 1911, 1912, 1913, 1914, 1916, 1917, 1919, 1921, 1922, 1923, 1924, 1925, 1926, 1927, 1928, 1929, 1930, 1931, 1932, 1933, 1934, 1935, 1936, 1937, 1938, 1939, 1941, 1942, 1943, 1944, 1945, 1946, 1947, 1948, 1949, 1950, 1952, 1953, 1954, 1955, 1956, 1957, 1958, 1960, 1962, 1963, 1964, 1966, 1967, 1968, 1969, 1971, 1973, 1974, 1975, 1977, 1978, 1979, 1980, 1981, 1982, 1983, 1984, 1987, 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006, 2007, 2008, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2018, 2020, 2021, 2022, 2023, 2024, 2025, 2027, 2028, 2029, 2030, 2031, 2032, 2034, 2035, 2036, 2037, 2038, 2039, 2040, 2041, 2044, 2045, 2046, 2047, 2048, 2049, 2050, 2051, 2052, 2053, 2054, 2055, 2057, 2058, 2059, 2060, 2061, 2062, 2063, 2064, 2065, 2066, 2067, 2068, 2070, 2072, 2073, 2074, 2075, 2076, 2077, 2078, 2080, 2081, 2082, 2083, 2086, 2087, 2089, 2090, 2091, 2092, 2094, 2095, 2096, 2097, 2098, 2099, 2100, 2101, 2102, 2103, 2104, 2106, 2107, 2108, 2109, 2110, 2111, 2112, 2114, 2116, 2117, 2118, 2119, 2120, 2121, 2122, 2123, 2124, 2126, 2127, 2128, 2129, 2130, 2131, 2132, 2133, 2134, 2135, 2136, 2138, 2139, 2140, 2142, 2143, 2144, 2145, 2146, 2147, 2148, 2149, 2150, 2151, 2153, 2154, 2155, 2156, 2157, 2158, 2159, 2160, 2161, 2162, 2163, 2164, 2165, 2166, 2168, 2169, 2171, 2173, 2174, 2176, 2177, 2178, 2179, 2180, 2181, 2183, 2185, 2186, 2188, 2189, 2190, 2191, 2193, 2194, 2195, 2196, 2197, 2199, 2200, 2202, 2203, 2205, 2206, 2207, 2208, 2209, 2211, 2212, 2213, 2214, 2215, 2216, 2217, 2220, 2221, 2222, 2223, 2224, 2226, 2227, 2229, 2230, 2231, 2232, 2233, 2234, 2236, 2238, 2239, 2240, 2241, 2242, 2243, 2244, 2245, 2246, 2247, 2248, 2249, 2250, 2251, 2252, 2253, 2254, 2255, 2256, 2257, 2258, 2259, 2260, 2261, 2262, 2264, 2266, 2269, 2270, 2271, 2273, 2274, 2275, 2276, 2277, 2278, 2279, 2280, 2281, 2282, 2283, 2284, 2285, 2286, 2287, 2288, 2289, 2290, 2291, 2292, 2293, 2294, 2295, 2296, 2297, 2298, 2299, 2300, 2301, 2304, 2305, 2306, 2307, 2308, 2309, 2310, 2311, 2312, 2313, 2314, 2315, 2316, 2317, 2318, 2319, 2320, 2321, 2322, 2323, 2324, 2325, 2326, 2327, 2329, 2330, 2332, 2333, 2334, 2335, 2336, 2337, 2338, 2340, 2341, 2342, 2343, 2344, 2345, 2346, 2347, 2348, 2349, 2350, 2352, 2353, 2354, 2355, 2356, 2359, 2360, 2362, 2363, 2364, 2365, 2366, 2368, 2369, 2370, 2371, 2372, 2374, 2375, 2376, 2377, 2378, 2380, 2381, 2382, 2383, 2384, 2385, 2386, 2387, 2388, 2389, 2390, 2391, 2392, 2393, 2394, 2395, 2396, 2397, 2398, 2399, 2400, 2402, 2403, 2404, 2405, 2407, 2409, 2410, 2411, 2412, 2415, 2418, 2419, 2420, 2422, 2423, 2424, 2425, 2426, 2427, 2429, 2430, 2431, 2432, 2434, 2435, 2437, 2439, 2440, 2441, 2442, 2444, 2445, 2446, 2447, 2448, 2449, 2451, 2452, 2454, 2455, 2456, 2457, 2458, 2460, 2461, 2463, 2464, 2465, 2466, 2468, 2469, 2470, 2471, 2473, 2474, 2476, 2477, 2478, 2479, 2481, 2482, 2483, 2484, 2485, 2486, 2487, 2488, 2489, 2490, 2491, 2492, 2493, 2494, 2495, 2498, 2499, 2501, 2503, 2504, 2506, 2508, 2509, 2510, 2511, 2512, 2513, 2514, 2516, 2517, 2518, 2519, 2520, 2521, 2522, 2523, 2525, 2526, 2527, 2528, 2529, 2530, 2531, 2532, 2533, 2534, 2535, 2536, 2537, 2538, 2539, 2540, 2541, 2542, 2543, 2544, 2545, 2546, 2547, 2548, 2549, 2550, 2551, 2552, 2553, 2554, 2555, 2556, 2557, 2558, 2559, 2560, 2561, 2562, 2563, 2564, 2565, 2566, 2567, 2568, 2569, 2570, 2571, 2572, 2573, 2574, 2575, 2576, 2577, 2578, 2579, 2580, 2582, 2583, 2584, 2586, 2587, 2588, 2589, 2590, 2591, 2594, 2595, 2596, 2597, 2598, 2599, 2600, 2602, 2605, 2606, 2607, 2608, 2609, 2610, 2611, 2612, 2613, 2614, 2615, 2616, 2617, 2618, 2620, 2621, 2622, 2623, 2624, 2625, 2626, 2627, 2628, 2629, 2630, 2631, 2632, 2633, 2635, 2636, 2637, 2638, 2639, 2640, 2641, 2642, 2643, 2644, 2646, 2648, 2649, 2651, 2652, 2654, 2655, 2656, 2657, 2658, 2659, 2660, 2661, 2662, 2663, 2664, 2665, 2666, 2667, 2668, 2669, 2670, 2671, 2672, 2673, 2674, 2675, 2676, 2678, 2679, 2680, 2681, 2682, 2683, 2684, 2685, 2686, 2688, 2689, 2690, 2691, 2693, 2695, 2696, 2697, 2698, 2699, 2700, 2701, 2702, 2703, 2704, 2705, 2707, 2708, 2709, 2710, 2711, 2713, 2714, 2715, 2716, 2717, 2718, 2719, 2720, 2721, 2722, 2723, 2724, 2725, 2726, 2727, 2728, 2730, 2731, 2732, 2733, 2734, 2735, 2736, 2737, 2738, 2739, 2740, 2741, 2743, 2744, 2745, 2747, 2748, 2749, 2750, 2751, 2752, 2753, 2754, 2755, 2756, 2757, 2758, 2759, 2760, 2761, 2762, 2763, 2764, 2765, 2766, 2767, 2768, 2770, 2772, 2773, 2774, 2775, 2776, 2777, 2779, 2780, 2781, 2782, 2783, 2784, 2785, 2786, 2787, 2788, 2790, 2794, 2795, 2797, 2798, 2799, 2800, 2802, 2803, 2805, 2806, 2807, 2808, 2809, 2812, 2813, 2814, 2815, 2816, 2817, 2818, 2819, 2820, 2822, 2823, 2825, 2826, 2827, 2828, 2829, 2830, 2831, 2832, 2833, 2834, 2835, 2836, 2837, 2838, 2839, 2840, 2841, 2842, 2843, 2844, 2845, 2846, 2847, 2848, 2849, 2850, 2853, 2854, 2855, 2856, 2857, 2858, 2859, 2860, 2861, 2862, 2863, 2864, 2865, 2866, 2867, 2868, 2869, 2872, 2874, 2875, 2876, 2877, 2878, 2879, 2880, 2881, 2883, 2884, 2885, 2886, 2888, 2889, 2890, 2891, 2892, 2893, 2894, 2895, 2896, 2897, 2898, 2899, 2900, 2901, 2902, 2903, 2904, 2905, 2907, 2908, 2909, 2911, 2912, 2913, 2914, 2915, 2916, 2917, 2918, 2919, 2920, 2922, 2923, 2925, 2926, 2927, 2928, 2929, 2932, 2933, 2936, 2937, 2938, 2939, 2940, 2943, 2944, 2945, 2946, 2947, 2949, 2950, 2953, 2954, 2955, 2957, 2958, 2959, 2960, 2961, 2962, 2963, 2964, 2965, 2966, 2967, 2969, 2970, 2971, 2972, 2973, 2974, 2975, 2976, 2977, 2979, 2980, 2981, 2982, 2983, 2984, 2985, 2986, 2988, 2989, 2990, 2991, 2992, 2993, 2994, 2995, 2996, 2997, 2998, 2999]}
logs/Llama3-8B-Chinese-Chat_epoch_1.txt CHANGED
@@ -1,16 +1,16 @@
1
  loading env vars from: /common2/dh.huang.2023/code/logical-reasoning/.env
2
  Adding /common2/dh.huang.2023/code/logical-reasoning to sys.path
3
  loading /common2/dh.huang.2023/code/logical-reasoning/llm_toolkit/logical_reasoning_utils.py
4
- shenzhi-wang/Llama3-8B-Chinese-Chat llama-factory/saves/llama3-8b/lora/sft_bf16_p2_full/checkpoint-175 False datasets/mgtv results/llama3-8b_lora_sft_bf16-p2.csv
5
  (1) GPU = NVIDIA L40. Max memory = 44.309 GB.
6
  0.0 GB of memory reserved.
7
- loading model: shenzhi-wang/Llama3-8B-Chinese-Chat with adapter: llama-factory/saves/llama3-8b/lora/sft_bf16_p2_full/checkpoint-175
8
- 07/22/2024 00:38:20 - INFO - llamafactory.data.template - Replace eos token: <|eot_id|>
9
- 07/22/2024 00:38:21 - INFO - llamafactory.model.patcher - Using KV cache for faster generation.
10
- 07/22/2024 00:38:29 - INFO - llamafactory.model.model_utils.attention - Using torch SDPA for faster training and inference.
11
- 07/22/2024 00:38:30 - INFO - llamafactory.model.adapter - Merged 1 adapter(s).
12
- 07/22/2024 00:38:30 - INFO - llamafactory.model.adapter - Loaded adapter(s): llama-factory/saves/llama3-8b/lora/sft_bf16_p2_full/checkpoint-175
13
- 07/22/2024 00:38:30 - INFO - llamafactory.model.loader - all params: 8,030,261,248
14
  (2) GPU = NVIDIA L40. Max memory = 44.309 GB.
15
  15.502 GB of memory reserved.
16
  loading train/test data files
@@ -157,20 +157,11 @@ You are an expert in logical reasoning.<|eot_id|><|start_header_id|>user<|end_he
157
 
158
 
159
  Evaluating model: shenzhi-wang/Llama3-8B-Chinese-Chat
160
- --------
161
- step 1: 不是
162
- --------
163
- step 2: 不是
164
- --------
165
- step 3: 不是
166
- --------
167
- step 4: 不是
168
- --------
169
- step 5: 不是
170
  (3) GPU = NVIDIA L40. Max memory = 44.309 GB.
171
  21.307 GB of memory reserved.
172
- text ... shenzhi-wang/Llama3-8B-Chinese-Chat_checkpoint-1750
173
- 0 甄加索是自杀吗 ... NaN
174
 
175
- [1 rows x 16 columns]
176
- {'accuracy': 0.7673333333333333, 'incorrect_ids': [6, 9, 16, 18, 31, 55, 58, 59, 65, 66, 67, 78, 81, 83, 84, 88, 99, 102, 104, 110, 112, 115, 121, 123, 136, 139, 143, 150, 153, 155, 160, 161, 163, 164, 170, 171, 173, 179, 190, 193, 199, 200, 202, 222, 224, 225, 227, 228, 234, 236, 240, 245, 248, 250, 251, 252, 255, 259, 260, 263, 268, 271, 275, 284, 286, 292, 293, 295, 299, 300, 301, 304, 308, 314, 318, 320, 328, 330, 334, 335, 338, 343, 349, 350, 352, 353, 355, 356, 360, 368, 370, 373, 377, 384, 386, 389, 397, 398, 409, 410, 411, 425, 428, 429, 430, 438, 445, 447, 450, 452, 454, 456, 457, 458, 465, 468, 470, 471, 472, 473, 476, 480, 492, 494, 495, 497, 500, 501, 502, 506, 507, 510, 511, 514, 517, 518, 519, 520, 530, 531, 536, 540, 560, 566, 570, 571, 576, 579, 581, 589, 591, 593, 597, 601, 613, 614, 621, 625, 632, 635, 636, 643, 644, 647, 651, 666, 671, 673, 674, 682, 686, 689, 691, 695, 702, 721, 729, 730, 734, 740, 752, 754, 758, 766, 770, 771, 774, 778, 785, 788, 791, 795, 798, 799, 801, 805, 809, 813, 816, 817, 819, 820, 821, 823, 824, 826, 827, 828, 837, 840, 841, 843, 847, 851, 856, 861, 866, 869, 870, 871, 873, 875, 886, 889, 890, 895, 897, 901, 904, 913, 927, 928, 932, 945, 953, 964, 966, 969, 980, 982, 991, 994, 998, 1001, 1003, 1011, 1012, 1014, 1015, 1019, 1022, 1028, 1036, 1038, 1043, 1051, 1061, 1066, 1069, 1071, 1074, 1077, 1080, 1081, 1087, 1089, 1096, 1102, 1107, 1120, 1121, 1125, 1126, 1134, 1141, 1143, 1161, 1162, 1164, 1166, 1172, 1174, 1177, 1178, 1180, 1181, 1183, 1185, 1192, 1203, 1206, 1209, 1212, 1220, 1224, 1228, 1231, 1232, 1239, 1241, 1251, 1252, 1259, 1266, 1270, 1274, 1282, 1289, 1292, 1296, 1299, 1305, 1308, 1311, 1313, 1315, 1316, 1317, 1322, 1331, 1332, 1339, 1342, 1345, 1348, 1349, 1353, 1358, 1363, 1364, 1365, 1367, 1371, 1373, 1379, 1386, 1387, 1391, 1402, 1406, 1420, 1422, 1425, 1426, 1430, 1432, 1440, 1451, 1452, 1453, 1454, 1462, 1469, 1476, 1478, 1490, 1492, 1494, 1495, 1496, 1504, 1512, 1515, 1516, 1517, 1518, 1525, 1526, 1536, 1545, 1547, 1550, 1551, 1554, 1558, 1560, 1561, 1562, 1568, 1580, 1581, 1585, 1587, 1590, 1591, 1593, 1594, 1596, 1603, 1604, 1605, 1607, 1611, 1613, 1622, 1624, 1627, 1633, 1636, 1638, 1641, 1648, 1650, 1652, 1654, 1655, 1658, 1662, 1665, 1672, 1673, 1674, 1677, 1679, 1686, 1691, 1695, 1716, 1718, 1726, 1727, 1731, 1734, 1736, 1737, 1738, 1745, 1751, 1753, 1756, 1765, 1767, 1769, 1773, 1780, 1786, 1791, 1796, 1798, 1799, 1800, 1809, 1810, 1811, 1812, 1816, 1824, 1827, 1835, 1848, 1867, 1879, 1880, 1884, 1887, 1888, 1890, 1897, 1913, 1919, 1930, 1931, 1935, 1936, 1953, 1958, 1963, 1964, 1970, 1973, 1978, 1979, 1981, 1986, 1989, 1990, 1995, 2013, 2017, 2028, 2029, 2035, 2036, 2038, 2046, 2048, 2054, 2064, 2070, 2077, 2078, 2081, 2088, 2091, 2100, 2105, 2106, 2109, 2110, 2112, 2114, 2118, 2119, 2121, 2124, 2126, 2133, 2139, 2142, 2146, 2147, 2160, 2161, 2162, 2164, 2172, 2173, 2174, 2177, 2185, 2186, 2188, 2189, 2192, 2194, 2196, 2199, 2212, 2226, 2229, 2230, 2237, 2238, 2240, 2243, 2245, 2262, 2265, 2274, 2278, 2281, 2287, 2297, 2311, 2312, 2313, 2320, 2324, 2330, 2333, 2337, 2339, 2342, 2344, 2348, 2349, 2359, 2360, 2364, 2366, 2370, 2378, 2381, 2395, 2396, 2400, 2404, 2406, 2408, 2409, 2410, 2412, 2416, 2420, 2423, 2425, 2429, 2437, 2440, 2442, 2444, 2445, 2453, 2465, 2471, 2472, 2475, 2486, 2488, 2495, 2503, 2515, 2522, 2529, 2530, 2532, 2535, 2538, 2546, 2548, 2549, 2553, 2556, 2559, 2560, 2562, 2575, 2577, 2589, 2604, 2606, 2607, 2616, 2629, 2633, 2644, 2663, 2664, 2667, 2672, 2676, 2678, 2686, 2701, 2710, 2711, 2713, 2714, 2716, 2717, 2721, 2726, 2727, 2731, 2732, 2736, 2742, 2744, 2745, 2746, 2752, 2754, 2757, 2758, 2762, 2766, 2769, 2776, 2777, 2788, 2791, 2793, 2798, 2801, 2805, 2807, 2810, 2811, 2814, 2815, 2816, 2820, 2824, 2829, 2837, 2843, 2851, 2854, 2857, 2867, 2870, 2877, 2878, 2880, 2882, 2884, 2899, 2902, 2905, 2912, 2915, 2916, 2921, 2933, 2937, 2942, 2944, 2949, 2953, 2955, 2960, 2964, 2969, 2975, 2979, 2985, 2995, 2998]}
 
1
  loading env vars from: /common2/dh.huang.2023/code/logical-reasoning/.env
2
  Adding /common2/dh.huang.2023/code/logical-reasoning to sys.path
3
  loading /common2/dh.huang.2023/code/logical-reasoning/llm_toolkit/logical_reasoning_utils.py
4
+ shenzhi-wang/Llama3-8B-Chinese-Chat llama-factory/saves/llama3-8b/lora/sft_bf16_p2_full_r2/checkpoint-175 False datasets/mgtv results/llama3-8b_lora_sft_bf16-p2_r2.csv
5
  (1) GPU = NVIDIA L40. Max memory = 44.309 GB.
6
  0.0 GB of memory reserved.
7
+ loading model: shenzhi-wang/Llama3-8B-Chinese-Chat with adapter: llama-factory/saves/llama3-8b/lora/sft_bf16_p2_full_r2/checkpoint-175
8
+ 07/23/2024 05:13:30 - INFO - llamafactory.data.template - Replace eos token: <|eot_id|>
9
+ 07/23/2024 05:13:30 - INFO - llamafactory.model.patcher - Using KV cache for faster generation.
10
+ 07/23/2024 05:13:48 - INFO - llamafactory.model.model_utils.attention - Using torch SDPA for faster training and inference.
11
+ 07/23/2024 05:13:48 - INFO - llamafactory.model.adapter - Merged 1 adapter(s).
12
+ 07/23/2024 05:13:48 - INFO - llamafactory.model.adapter - Loaded adapter(s): llama-factory/saves/llama3-8b/lora/sft_bf16_p2_full_r2/checkpoint-175
13
+ 07/23/2024 05:13:48 - INFO - llamafactory.model.loader - all params: 8,030,261,248
14
  (2) GPU = NVIDIA L40. Max memory = 44.309 GB.
15
  15.502 GB of memory reserved.
16
  loading train/test data files
 
157
 
158
 
159
  Evaluating model: shenzhi-wang/Llama3-8B-Chinese-Chat
160
+ Batch output: ['不是']
 
 
 
 
 
 
 
 
 
161
  (3) GPU = NVIDIA L40. Max memory = 44.309 GB.
162
  21.307 GB of memory reserved.
163
+ text ... shenzhi-wang/Llama3-8B-Chinese-Chat/checkpoint-175_torch.bfloat16
164
+ 0 甄加索是自杀吗 ... 不是
165
 
166
+ [1 rows x 7 columns]
167
+ {'accuracy': 0.718, 'incorrect_ids': [7, 9, 15, 16, 17, 24, 28, 31, 32, 33, 34, 35, 36, 38, 43, 55, 58, 59, 63, 65, 66, 67, 71, 78, 81, 83, 86, 101, 102, 106, 108, 109, 110, 112, 115, 123, 124, 127, 128, 135, 137, 138, 139, 148, 150, 153, 156, 160, 161, 163, 164, 170, 171, 172, 174, 175, 179, 180, 188, 190, 199, 200, 202, 204, 209, 214, 224, 225, 227, 228, 229, 233, 234, 236, 240, 243, 245, 248, 250, 253, 259, 260, 263, 268, 271, 273, 276, 279, 289, 292, 293, 295, 299, 301, 304, 305, 307, 308, 314, 316, 317, 318, 321, 323, 325, 328, 330, 334, 335, 341, 348, 349, 350, 351, 352, 353, 354, 355, 356, 360, 362, 368, 370, 371, 372, 373, 374, 376, 377, 378, 386, 389, 395, 397, 402, 404, 409, 410, 416, 425, 428, 429, 430, 431, 438, 440, 445, 446, 447, 450, 454, 455, 456, 458, 459, 460, 465, 469, 470, 471, 472, 473, 476, 480, 483, 490, 492, 493, 494, 495, 497, 500, 501, 502, 504, 507, 508, 509, 510, 511, 512, 514, 517, 530, 531, 533, 536, 538, 540, 553, 560, 568, 570, 571, 578, 579, 581, 589, 591, 592, 593, 596, 597, 601, 612, 613, 614, 621, 625, 628, 629, 632, 636, 643, 644, 647, 651, 663, 665, 666, 667, 671, 678, 680, 682, 684, 686, 689, 701, 702, 709, 711, 721, 729, 730, 732, 734, 735, 739, 740, 741, 743, 752, 754, 758, 770, 771, 772, 774, 778, 779, 785, 788, 790, 791, 795, 798, 799, 802, 803, 805, 809, 816, 817, 818, 819, 820, 821, 823, 824, 828, 833, 840, 842, 843, 847, 857, 861, 866, 867, 869, 870, 873, 876, 884, 886, 888, 889, 890, 894, 901, 904, 906, 908, 912, 913, 916, 917, 927, 928, 929, 935, 937, 945, 952, 962, 964, 966, 969, 980, 986, 989, 991, 993, 994, 998, 1001, 1003, 1006, 1007, 1011, 1012, 1014, 1020, 1022, 1025, 1031, 1036, 1038, 1040, 1043, 1045, 1046, 1051, 1066, 1071, 1075, 1076, 1077, 1080, 1087, 1096, 1098, 1111, 1116, 1120, 1121, 1125, 1126, 1129, 1133, 1138, 1148, 1151, 1153, 1161, 1163, 1167, 1172, 1174, 1177, 1178, 1181, 1185, 1198, 1203, 1209, 1212, 1228, 1232, 1239, 1240, 1241, 1242, 1243, 1251, 1252, 1254, 1256, 1258, 1259, 1266, 1289, 1296, 1300, 1301, 1305, 1308, 1311, 1313, 1314, 1315, 1317, 1331, 1336, 1342, 1345, 1348, 1349, 1353, 1362, 1363, 1367, 1370, 1379, 1385, 1386, 1387, 1389, 1391, 1392, 1393, 1395, 1402, 1406, 1407, 1413, 1418, 1420, 1422, 1424, 1425, 1426, 1428, 1430, 1431, 1438, 1440, 1441, 1443, 1444, 1448, 1450, 1451, 1453, 1455, 1457, 1459, 1462, 1469, 1473, 1476, 1478, 1486, 1490, 1493, 1494, 1496, 1504, 1510, 1512, 1517, 1518, 1525, 1526, 1528, 1533, 1536, 1538, 1544, 1545, 1547, 1551, 1558, 1560, 1562, 1572, 1573, 1581, 1585, 1587, 1590, 1591, 1593, 1594, 1596, 1602, 1603, 1604, 1605, 1608, 1621, 1622, 1627, 1632, 1633, 1636, 1637, 1638, 1641, 1645, 1647, 1648, 1650, 1652, 1654, 1655, 1658, 1659, 1668, 1669, 1671, 1672, 1673, 1674, 1679, 1686, 1689, 1694, 1695, 1700, 1716, 1718, 1726, 1727, 1736, 1740, 1743, 1751, 1755, 1756, 1758, 1760, 1769, 1770, 1773, 1780, 1786, 1789, 1791, 1796, 1799, 1812, 1816, 1820, 1827, 1835, 1841, 1848, 1854, 1860, 1867, 1869, 1879, 1887, 1897, 1903, 1907, 1913, 1914, 1919, 1935, 1943, 1944, 1945, 1949, 1953, 1958, 1963, 1964, 1973, 1978, 1981, 1984, 1986, 1989, 1990, 1992, 1994, 1995, 2001, 2008, 2011, 2014, 2015, 2021, 2022, 2025, 2028, 2029, 2035, 2038, 2043, 2046, 2052, 2053, 2054, 2059, 2061, 2062, 2063, 2064, 2072, 2076, 2077, 2089, 2091, 2092, 2100, 2106, 2107, 2109, 2112, 2114, 2118, 2119, 2121, 2123, 2126, 2128, 2130, 2133, 2135, 2139, 2145, 2147, 2160, 2161, 2162, 2164, 2169, 2173, 2177, 2181, 2185, 2186, 2188, 2189, 2193, 2195, 2196, 2197, 2199, 2212, 2215, 2223, 2226, 2230, 2238, 2240, 2243, 2245, 2246, 2247, 2249, 2250, 2261, 2262, 2274, 2278, 2280, 2285, 2293, 2301, 2304, 2311, 2312, 2313, 2319, 2320, 2324, 2329, 2330, 2333, 2334, 2335, 2338, 2344, 2348, 2356, 2359, 2360, 2364, 2366, 2376, 2378, 2380, 2395, 2396, 2398, 2400, 2406, 2408, 2409, 2410, 2412, 2420, 2423, 2425, 2429, 2437, 2440, 2441, 2442, 2444, 2445, 2446, 2448, 2461, 2463, 2464, 2465, 2469, 2471, 2484, 2488, 2491, 2495, 2499, 2501, 2503, 2508, 2512, 2515, 2522, 2524, 2525, 2529, 2530, 2532, 2535, 2538, 2539, 2546, 2547, 2548, 2549, 2555, 2556, 2559, 2560, 2562, 2563, 2575, 2577, 2589, 2599, 2606, 2607, 2610, 2616, 2623, 2626, 2629, 2630, 2632, 2633, 2635, 2644, 2660, 2663, 2667, 2671, 2672, 2676, 2678, 2686, 2697, 2701, 2707, 2710, 2714, 2715, 2716, 2730, 2731, 2733, 2736, 2742, 2744, 2746, 2747, 2749, 2754, 2757, 2760, 2761, 2762, 2764, 2765, 2766, 2767, 2772, 2777, 2788, 2791, 2797, 2798, 2803, 2805, 2807, 2811, 2814, 2815, 2816, 2820, 2823, 2837, 2841, 2843, 2845, 2854, 2857, 2867, 2870, 2877, 2878, 2880, 2884, 2887, 2888, 2896, 2899, 2902, 2905, 2912, 2913, 2915, 2916, 2919, 2921, 2928, 2929, 2933, 2937, 2938, 2942, 2944, 2949, 2953, 2955, 2960, 2964, 2973, 2975, 2976, 2977, 2979, 2980, 2981, 2983, 2985, 2991, 2995, 2998, 2999]}
logs/Llama3-8B-Chinese-Chat_epoch_2.txt CHANGED
@@ -1,16 +1,16 @@
1
  loading env vars from: /common2/dh.huang.2023/code/logical-reasoning/.env
2
  Adding /common2/dh.huang.2023/code/logical-reasoning to sys.path
3
  loading /common2/dh.huang.2023/code/logical-reasoning/llm_toolkit/logical_reasoning_utils.py
4
- shenzhi-wang/Llama3-8B-Chinese-Chat llama-factory/saves/llama3-8b/lora/sft_bf16_p2_full/checkpoint-350 False datasets/mgtv results/llama3-8b_lora_sft_bf16-p2.csv
5
  (1) GPU = NVIDIA L40. Max memory = 44.309 GB.
6
  0.0 GB of memory reserved.
7
- loading model: shenzhi-wang/Llama3-8B-Chinese-Chat with adapter: llama-factory/saves/llama3-8b/lora/sft_bf16_p2_full/checkpoint-350
8
- 07/22/2024 00:47:43 - INFO - llamafactory.data.template - Replace eos token: <|eot_id|>
9
- 07/22/2024 00:47:43 - INFO - llamafactory.model.patcher - Using KV cache for faster generation.
10
- 07/22/2024 00:47:52 - INFO - llamafactory.model.model_utils.attention - Using torch SDPA for faster training and inference.
11
- 07/22/2024 00:47:53 - INFO - llamafactory.model.adapter - Merged 1 adapter(s).
12
- 07/22/2024 00:47:53 - INFO - llamafactory.model.adapter - Loaded adapter(s): llama-factory/saves/llama3-8b/lora/sft_bf16_p2_full/checkpoint-350
13
- 07/22/2024 00:47:53 - INFO - llamafactory.model.loader - all params: 8,030,261,248
14
  (2) GPU = NVIDIA L40. Max memory = 44.309 GB.
15
  15.502 GB of memory reserved.
16
  loading train/test data files
@@ -157,20 +157,11 @@ You are an expert in logical reasoning.<|eot_id|><|start_header_id|>user<|end_he
157
 
158
 
159
  Evaluating model: shenzhi-wang/Llama3-8B-Chinese-Chat
160
- --------
161
- step 1: 不是
162
- --------
163
- step 2: 不是
164
- --------
165
- step 3: 不是
166
- --------
167
- step 4: 不是
168
- --------
169
- step 5: 不是
170
  (3) GPU = NVIDIA L40. Max memory = 44.309 GB.
171
  21.307 GB of memory reserved.
172
- text ... shenzhi-wang/Llama3-8B-Chinese-Chat_checkpoint-1750
173
- 0 甄加索是自杀吗 ... NaN
174
 
175
- [1 rows x 16 columns]
176
- {'accuracy': 0.7286666666666667, 'incorrect_ids': [9, 17, 18, 24, 28, 31, 34, 35, 36, 37, 38, 43, 55, 58, 59, 65, 66, 67, 78, 83, 88, 102, 104, 108, 109, 110, 112, 115, 123, 135, 136, 138, 139, 143, 150, 153, 155, 156, 161, 163, 164, 170, 173, 174, 179, 180, 184, 190, 192, 193, 199, 200, 218, 224, 225, 227, 228, 233, 236, 237, 243, 245, 250, 253, 260, 261, 268, 273, 276, 279, 284, 289, 292, 293, 299, 304, 307, 308, 311, 321, 323, 326, 330, 332, 334, 335, 338, 349, 350, 351, 352, 353, 354, 355, 356, 357, 360, 362, 365, 368, 370, 371, 372, 373, 374, 377, 386, 389, 397, 404, 410, 416, 425, 428, 430, 432, 438, 440, 445, 446, 447, 450, 452, 454, 455, 456, 458, 461, 465, 471, 472, 473, 476, 479, 480, 492, 493, 494, 495, 501, 502, 506, 507, 508, 510, 511, 512, 514, 517, 530, 531, 536, 540, 553, 560, 568, 570, 571, 579, 581, 589, 591, 592, 593, 596, 597, 600, 601, 612, 613, 614, 621, 625, 626, 628, 629, 632, 636, 643, 644, 647, 657, 663, 665, 666, 678, 682, 684, 686, 690, 691, 695, 702, 709, 716, 719, 721, 729, 730, 731, 732, 734, 735, 739, 740, 741, 743, 754, 758, 766, 770, 771, 772, 774, 778, 779, 785, 788, 790, 791, 795, 798, 799, 801, 802, 803, 805, 809, 810, 817, 818, 819, 820, 821, 822, 823, 824, 828, 833, 840, 847, 849, 851, 857, 861, 866, 867, 869, 870, 873, 876, 884, 886, 888, 889, 890, 895, 901, 904, 912, 913, 916, 927, 929, 935, 937, 942, 945, 952, 962, 964, 966, 969, 980, 989, 991, 993, 994, 998, 1001, 1003, 1006, 1007, 1011, 1012, 1014, 1022, 1025, 1031, 1036, 1038, 1040, 1043, 1051, 1053, 1066, 1071, 1077, 1080, 1087, 1096, 1098, 1107, 1111, 1116, 1120, 1121, 1125, 1126, 1129, 1151, 1153, 1160, 1161, 1163, 1166, 1167, 1170, 1172, 1174, 1177, 1178, 1180, 1181, 1183, 1185, 1198, 1202, 1203, 1209, 1212, 1228, 1232, 1239, 1240, 1241, 1242, 1243, 1251, 1252, 1254, 1256, 1258, 1259, 1266, 1282, 1289, 1305, 1306, 1307, 1308, 1311, 1313, 1314, 1315, 1316, 1317, 1323, 1324, 1331, 1332, 1336, 1342, 1344, 1345, 1347, 1349, 1353, 1362, 1363, 1364, 1367, 1368, 1370, 1379, 1380, 1385, 1386, 1387, 1389, 1391, 1392, 1393, 1395, 1402, 1406, 1407, 1413, 1420, 1425, 1426, 1428, 1430, 1431, 1438, 1440, 1441, 1443, 1444, 1448, 1450, 1451, 1453, 1455, 1457, 1459, 1462, 1468, 1469, 1470, 1473, 1476, 1478, 1486, 1490, 1493, 1496, 1504, 1512, 1517, 1525, 1526, 1528, 1533, 1536, 1544, 1547, 1554, 1556, 1558, 1560, 1562, 1572, 1573, 1581, 1585, 1586, 1587, 1590, 1591, 1593, 1594, 1596, 1602, 1603, 1604, 1605, 1622, 1624, 1627, 1632, 1633, 1636, 1637, 1639, 1641, 1643, 1645, 1647, 1648, 1652, 1654, 1655, 1658, 1659, 1668, 1672, 1673, 1674, 1679, 1686, 1694, 1695, 1700, 1712, 1716, 1718, 1720, 1726, 1727, 1736, 1740, 1751, 1756, 1770, 1773, 1780, 1786, 1789, 1791, 1796, 1799, 1811, 1812, 1816, 1820, 1835, 1848, 1854, 1860, 1867, 1869, 1873, 1879, 1880, 1897, 1907, 1913, 1914, 1930, 1933, 1935, 1936, 1945, 1949, 1958, 1963, 1964, 1973, 1978, 1981, 1984, 1989, 1990, 1992, 1994, 1995, 1996, 2001, 2002, 2014, 2015, 2021, 2025, 2035, 2038, 2046, 2052, 2053, 2054, 2062, 2063, 2064, 2072, 2073, 2076, 2077, 2091, 2092, 2100, 2106, 2107, 2109, 2112, 2114, 2118, 2119, 2121, 2126, 2128, 2130, 2133, 2135, 2139, 2140, 2141, 2145, 2147, 2160, 2161, 2162, 2164, 2167, 2169, 2173, 2177, 2181, 2185, 2186, 2188, 2189, 2192, 2193, 2194, 2195, 2196, 2197, 2205, 2212, 2215, 2221, 2223, 2226, 2230, 2237, 2238, 2240, 2243, 2244, 2245, 2246, 2247, 2248, 2249, 2250, 2261, 2262, 2274, 2278, 2287, 2297, 2301, 2304, 2311, 2312, 2313, 2319, 2320, 2322, 2324, 2333, 2334, 2335, 2343, 2344, 2352, 2354, 2360, 2364, 2366, 2376, 2378, 2395, 2396, 2400, 2406, 2409, 2410, 2412, 2420, 2423, 2424, 2425, 2429, 2437, 2440, 2441, 2442, 2445, 2446, 2448, 2461, 2463, 2465, 2469, 2475, 2477, 2479, 2486, 2488, 2491, 2493, 2495, 2499, 2501, 2503, 2512, 2516, 2522, 2525, 2526, 2529, 2530, 2532, 2535, 2537, 2538, 2539, 2546, 2547, 2548, 2549, 2554, 2555, 2556, 2557, 2559, 2560, 2562, 2563, 2564, 2565, 2574, 2575, 2577, 2589, 2594, 2600, 2606, 2607, 2610, 2620, 2623, 2624, 2626, 2629, 2655, 2660, 2661, 2663, 2664, 2667, 2670, 2671, 2672, 2676, 2678, 2686, 2691, 2701, 2704, 2707, 2708, 2710, 2711, 2714, 2716, 2719, 2727, 2730, 2731, 2732, 2733, 2735, 2736, 2742, 2744, 2746, 2754, 2757, 2758, 2760, 2761, 2762, 2764, 2765, 2766, 2767, 2772, 2777, 2788, 2791, 2793, 2795, 2797, 2798, 2801, 2803, 2805, 2806, 2807, 2811, 2814, 2815, 2816, 2820, 2823, 2837, 2841, 2842, 2843, 2845, 2849, 2854, 2857, 2867, 2870, 2878, 2880, 2882, 2884, 2885, 2888, 2899, 2902, 2905, 2912, 2913, 2915, 2916, 2919, 2921, 2928, 2929, 2933, 2944, 2949, 2953, 2955, 2962, 2963, 2964, 2973, 2975, 2976, 2979, 2980, 2981, 2985, 2990, 2991, 2995, 2998, 2999]}
 
1
  loading env vars from: /common2/dh.huang.2023/code/logical-reasoning/.env
2
  Adding /common2/dh.huang.2023/code/logical-reasoning to sys.path
3
  loading /common2/dh.huang.2023/code/logical-reasoning/llm_toolkit/logical_reasoning_utils.py
4
+ shenzhi-wang/Llama3-8B-Chinese-Chat llama-factory/saves/llama3-8b/lora/sft_bf16_p2_full_r2/checkpoint-350 False datasets/mgtv results/llama3-8b_lora_sft_bf16-p2_r2.csv
5
  (1) GPU = NVIDIA L40. Max memory = 44.309 GB.
6
  0.0 GB of memory reserved.
7
+ loading model: shenzhi-wang/Llama3-8B-Chinese-Chat with adapter: llama-factory/saves/llama3-8b/lora/sft_bf16_p2_full_r2/checkpoint-350
8
+ 07/23/2024 05:24:05 - INFO - llamafactory.data.template - Replace eos token: <|eot_id|>
9
+ 07/23/2024 05:24:06 - INFO - llamafactory.model.patcher - Using KV cache for faster generation.
10
+ 07/23/2024 05:24:15 - INFO - llamafactory.model.model_utils.attention - Using torch SDPA for faster training and inference.
11
+ 07/23/2024 05:24:16 - INFO - llamafactory.model.adapter - Merged 1 adapter(s).
12
+ 07/23/2024 05:24:16 - INFO - llamafactory.model.adapter - Loaded adapter(s): llama-factory/saves/llama3-8b/lora/sft_bf16_p2_full_r2/checkpoint-350
13
+ 07/23/2024 05:24:16 - INFO - llamafactory.model.loader - all params: 8,030,261,248
14
  (2) GPU = NVIDIA L40. Max memory = 44.309 GB.
15
  15.502 GB of memory reserved.
16
  loading train/test data files
 
157
 
158
 
159
  Evaluating model: shenzhi-wang/Llama3-8B-Chinese-Chat
160
+ Batch output: ['不是']
 
 
 
 
 
 
 
 
 
161
  (3) GPU = NVIDIA L40. Max memory = 44.309 GB.
162
  21.307 GB of memory reserved.
163
+ text ... shenzhi-wang/Llama3-8B-Chinese-Chat/checkpoint-350_torch.bfloat16
164
+ 0 甄加索是自杀吗 ... 不是
165
 
166
+ [1 rows x 8 columns]
167
+ {'accuracy': 0.7273333333333334, 'incorrect_ids': [5, 9, 17, 24, 25, 27, 28, 31, 32, 34, 36, 51, 55, 58, 59, 65, 66, 67, 71, 77, 78, 83, 88, 96, 101, 102, 104, 106, 108, 109, 112, 113, 115, 121, 123, 124, 127, 128, 136, 138, 139, 143, 150, 153, 155, 156, 161, 163, 164, 170, 173, 174, 175, 179, 180, 184, 190, 192, 193, 199, 200, 202, 214, 224, 225, 227, 228, 233, 234, 236, 243, 245, 250, 251, 252, 253, 257, 260, 261, 263, 265, 268, 269, 272, 273, 276, 279, 283, 284, 289, 290, 292, 293, 299, 301, 304, 305, 307, 308, 311, 314, 316, 317, 318, 321, 323, 325, 326, 328, 330, 332, 334, 335, 338, 348, 349, 350, 351, 352, 353, 354, 355, 356, 359, 360, 368, 372, 373, 376, 377, 378, 386, 389, 397, 404, 410, 414, 416, 425, 428, 429, 430, 431, 438, 440, 445, 446, 447, 450, 452, 454, 455, 456, 458, 459, 461, 465, 471, 472, 473, 476, 478, 480, 490, 492, 493, 494, 495, 501, 502, 504, 506, 507, 510, 511, 512, 514, 516, 517, 520, 530, 531, 536, 540, 553, 555, 560, 568, 570, 571, 578, 579, 581, 589, 591, 592, 593, 596, 597, 601, 612, 613, 614, 621, 625, 626, 628, 629, 632, 636, 643, 644, 647, 663, 665, 666, 671, 673, 674, 682, 684, 686, 689, 690, 691, 695, 702, 721, 722, 729, 730, 732, 734, 735, 739, 740, 741, 747, 752, 754, 758, 766, 770, 771, 772, 774, 778, 779, 785, 788, 791, 795, 798, 799, 801, 805, 809, 816, 817, 818, 819, 820, 821, 822, 823, 824, 828, 833, 837, 840, 842, 843, 847, 849, 851, 852, 857, 866, 867, 869, 870, 876, 884, 886, 888, 889, 890, 895, 897, 901, 904, 913, 916, 927, 928, 935, 937, 953, 964, 966, 969, 980, 982, 986, 991, 993, 994, 998, 1001, 1003, 1006, 1011, 1012, 1014, 1022, 1028, 1031, 1036, 1038, 1039, 1040, 1043, 1051, 1053, 1061, 1066, 1069, 1075, 1077, 1079, 1080, 1082, 1087, 1096, 1098, 1107, 1111, 1120, 1121, 1125, 1126, 1141, 1143, 1151, 1153, 1161, 1163, 1164, 1166, 1172, 1174, 1177, 1178, 1180, 1181, 1183, 1185, 1198, 1203, 1209, 1212, 1220, 1228, 1232, 1239, 1241, 1242, 1251, 1252, 1254, 1256, 1258, 1259, 1266, 1274, 1289, 1292, 1296, 1305, 1308, 1311, 1313, 1314, 1315, 1316, 1317, 1322, 1331, 1342, 1349, 1353, 1363, 1364, 1367, 1370, 1378, 1379, 1386, 1387, 1389, 1391, 1395, 1400, 1402, 1406, 1409, 1412, 1420, 1422, 1426, 1428, 1430, 1431, 1439, 1440, 1441, 1443, 1450, 1451, 1452, 1453, 1454, 1455, 1457, 1462, 1469, 1473, 1476, 1478, 1485, 1486, 1490, 1491, 1496, 1500, 1512, 1515, 1516, 1517, 1518, 1525, 1526, 1528, 1533, 1536, 1544, 1545, 1547, 1550, 1554, 1558, 1560, 1562, 1568, 1573, 1580, 1581, 1585, 1587, 1590, 1591, 1593, 1594, 1602, 1603, 1604, 1605, 1607, 1613, 1622, 1624, 1625, 1627, 1632, 1633, 1636, 1637, 1638, 1648, 1654, 1655, 1656, 1658, 1659, 1668, 1672, 1673, 1674, 1679, 1686, 1695, 1716, 1718, 1720, 1726, 1727, 1736, 1738, 1740, 1741, 1743, 1751, 1753, 1756, 1758, 1765, 1769, 1770, 1780, 1786, 1791, 1796, 1799, 1810, 1811, 1812, 1816, 1820, 1824, 1827, 1834, 1835, 1848, 1852, 1854, 1856, 1867, 1869, 1879, 1887, 1888, 1890, 1897, 1913, 1919, 1928, 1931, 1934, 1935, 1936, 1938, 1944, 1945, 1949, 1953, 1958, 1959, 1963, 1964, 1973, 1978, 1981, 1984, 1989, 1990, 1992, 1995, 2014, 2015, 2017, 2021, 2028, 2029, 2035, 2038, 2043, 2046, 2053, 2054, 2062, 2063, 2064, 2072, 2076, 2077, 2078, 2081, 2085, 2088, 2092, 2100, 2106, 2107, 2109, 2112, 2114, 2118, 2119, 2121, 2126, 2133, 2135, 2139, 2141, 2145, 2147, 2160, 2161, 2162, 2164, 2167, 2169, 2173, 2177, 2181, 2185, 2186, 2192, 2193, 2194, 2196, 2199, 2204, 2212, 2215, 2223, 2226, 2230, 2237, 2238, 2240, 2243, 2245, 2246, 2247, 2250, 2261, 2262, 2274, 2278, 2285, 2287, 2290, 2297, 2301, 2304, 2311, 2312, 2313, 2319, 2320, 2324, 2334, 2337, 2348, 2354, 2364, 2366, 2372, 2378, 2395, 2396, 2400, 2404, 2406, 2408, 2409, 2410, 2412, 2420, 2421, 2423, 2425, 2426, 2429, 2437, 2440, 2441, 2442, 2444, 2445, 2446, 2448, 2461, 2463, 2464, 2465, 2469, 2472, 2475, 2486, 2488, 2499, 2501, 2503, 2511, 2512, 2515, 2517, 2522, 2525, 2526, 2529, 2530, 2532, 2535, 2538, 2539, 2546, 2548, 2549, 2555, 2556, 2557, 2559, 2560, 2562, 2575, 2577, 2589, 2592, 2594, 2600, 2605, 2606, 2607, 2610, 2616, 2623, 2626, 2629, 2633, 2660, 2663, 2664, 2666, 2667, 2672, 2676, 2678, 2686, 2701, 2707, 2710, 2713, 2714, 2716, 2719, 2727, 2730, 2731, 2732, 2736, 2742, 2744, 2746, 2754, 2757, 2758, 2760, 2761, 2762, 2764, 2766, 2767, 2772, 2777, 2788, 2791, 2793, 2797, 2798, 2800, 2801, 2803, 2805, 2807, 2810, 2811, 2812, 2814, 2815, 2816, 2820, 2823, 2824, 2833, 2837, 2843, 2851, 2854, 2857, 2867, 2870, 2873, 2877, 2878, 2880, 2882, 2884, 2899, 2902, 2905, 2912, 2913, 2915, 2916, 2921, 2928, 2930, 2933, 2937, 2942, 2944, 2949, 2953, 2955, 2960, 2964, 2968, 2975, 2976, 2979, 2980, 2985, 2995, 2998, 2999]}
logs/Llama3-8B-Chinese-Chat_epoch_3.txt CHANGED
@@ -1,16 +1,16 @@
1
  loading env vars from: /common2/dh.huang.2023/code/logical-reasoning/.env
2
  Adding /common2/dh.huang.2023/code/logical-reasoning to sys.path
3
  loading /common2/dh.huang.2023/code/logical-reasoning/llm_toolkit/logical_reasoning_utils.py
4
- shenzhi-wang/Llama3-8B-Chinese-Chat llama-factory/saves/llama3-8b/lora/sft_bf16_p2_full/checkpoint-525 False datasets/mgtv results/llama3-8b_lora_sft_bf16-p2.csv
5
  (1) GPU = NVIDIA L40. Max memory = 44.309 GB.
6
  0.0 GB of memory reserved.
7
- loading model: shenzhi-wang/Llama3-8B-Chinese-Chat with adapter: llama-factory/saves/llama3-8b/lora/sft_bf16_p2_full/checkpoint-525
8
- 07/22/2024 00:57:39 - INFO - llamafactory.data.template - Replace eos token: <|eot_id|>
9
- 07/22/2024 00:57:40 - INFO - llamafactory.model.patcher - Using KV cache for faster generation.
10
- 07/22/2024 00:57:48 - INFO - llamafactory.model.model_utils.attention - Using torch SDPA for faster training and inference.
11
- 07/22/2024 00:57:49 - INFO - llamafactory.model.adapter - Merged 1 adapter(s).
12
- 07/22/2024 00:57:49 - INFO - llamafactory.model.adapter - Loaded adapter(s): llama-factory/saves/llama3-8b/lora/sft_bf16_p2_full/checkpoint-525
13
- 07/22/2024 00:57:49 - INFO - llamafactory.model.loader - all params: 8,030,261,248
14
  (2) GPU = NVIDIA L40. Max memory = 44.309 GB.
15
  15.502 GB of memory reserved.
16
  loading train/test data files
@@ -157,20 +157,11 @@ You are an expert in logical reasoning.<|eot_id|><|start_header_id|>user<|end_he
157
 
158
 
159
  Evaluating model: shenzhi-wang/Llama3-8B-Chinese-Chat
160
- --------
161
- step 1: 不是
162
- --------
163
- step 2: 不是
164
- --------
165
- step 3: 不是
166
- --------
167
- step 4: 不是
168
- --------
169
- step 5: 不是
170
  (3) GPU = NVIDIA L40. Max memory = 44.309 GB.
171
  21.307 GB of memory reserved.
172
- text ... shenzhi-wang/Llama3-8B-Chinese-Chat_checkpoint-1750
173
- 0 甄加索是自杀吗 ... NaN
174
 
175
- [1 rows x 16 columns]
176
- {'accuracy': 0.698, 'incorrect_ids': [2, 9, 17, 18, 24, 25, 31, 32, 33, 34, 35, 36, 37, 38, 55, 58, 59, 65, 66, 67, 77, 78, 83, 88, 99, 104, 108, 109, 110, 112, 115, 123, 124, 135, 136, 139, 143, 150, 153, 156, 161, 163, 164, 173, 174, 179, 190, 193, 199, 200, 202, 222, 224, 225, 228, 236, 237, 243, 245, 248, 250, 252, 253, 259, 260, 261, 263, 268, 273, 276, 279, 283, 284, 292, 293, 295, 299, 304, 307, 308, 314, 316, 317, 318, 320, 321, 323, 330, 332, 334, 335, 338, 341, 343, 349, 350, 351, 352, 353, 354, 355, 356, 357, 359, 360, 362, 365, 368, 370, 371, 372, 373, 374, 377, 386, 389, 395, 396, 397, 404, 410, 414, 416, 425, 428, 430, 432, 438, 440, 445, 446, 447, 450, 452, 454, 455, 456, 458, 461, 465, 471, 472, 473, 476, 478, 480, 490, 492, 493, 494, 495, 497, 501, 502, 506, 507, 510, 511, 512, 514, 517, 520, 530, 531, 536, 540, 553, 560, 568, 570, 571, 576, 579, 581, 589, 591, 592, 593, 596, 597, 601, 612, 613, 614, 621, 625, 626, 628, 629, 632, 636, 643, 644, 647, 649, 663, 665, 666, 678, 682, 686, 690, 691, 695, 702, 709, 721, 729, 730, 732, 734, 735, 739, 740, 741, 752, 754, 766, 770, 771, 772, 774, 778, 779, 782, 785, 788, 790, 791, 792, 795, 798, 799, 801, 802, 803, 805, 809, 813, 818, 819, 820, 821, 822, 823, 824, 826, 828, 833, 840, 845, 847, 849, 851, 856, 857, 861, 866, 867, 869, 870, 873, 876, 884, 886, 888, 889, 890, 893, 895, 897, 901, 904, 913, 914, 916, 927, 928, 932, 937, 939, 945, 953, 964, 966, 969, 980, 986, 991, 993, 994, 998, 1000, 1001, 1003, 1006, 1007, 1011, 1012, 1014, 1015, 1022, 1025, 1026, 1028, 1036, 1038, 1043, 1044, 1051, 1053, 1058, 1061, 1063, 1066, 1069, 1071, 1076, 1077, 1080, 1081, 1087, 1089, 1096, 1098, 1102, 1107, 1111, 1113, 1114, 1120, 1121, 1125, 1126, 1128, 1129, 1134, 1141, 1143, 1151, 1153, 1161, 1163, 1164, 1166, 1167, 1170, 1171, 1172, 1174, 1177, 1178, 1180, 1181, 1183, 1185, 1192, 1203, 1206, 1209, 1212, 1220, 1228, 1231, 1232, 1239, 1241, 1242, 1243, 1251, 1252, 1254, 1256, 1259, 1266, 1271, 1272, 1274, 1282, 1286, 1289, 1292, 1296, 1300, 1301, 1305, 1308, 1311, 1313, 1314, 1315, 1316, 1317, 1322, 1331, 1332, 1342, 1345, 1347, 1349, 1353, 1358, 1362, 1363, 1364, 1367, 1370, 1371, 1373, 1379, 1380, 1385, 1386, 1387, 1389, 1391, 1392, 1393, 1395, 1402, 1406, 1407, 1412, 1413, 1419, 1420, 1425, 1426, 1427, 1428, 1430, 1431, 1432, 1438, 1439, 1440, 1441, 1443, 1444, 1448, 1450, 1451, 1452, 1453, 1454, 1455, 1457, 1459, 1462, 1468, 1469, 1470, 1473, 1476, 1478, 1486, 1490, 1496, 1500, 1502, 1504, 1507, 1512, 1515, 1516, 1517, 1525, 1526, 1528, 1533, 1535, 1536, 1544, 1547, 1549, 1554, 1558, 1560, 1561, 1562, 1568, 1572, 1573, 1581, 1585, 1587, 1590, 1591, 1593, 1594, 1596, 1602, 1603, 1604, 1605, 1607, 1622, 1624, 1627, 1632, 1633, 1636, 1637, 1638, 1641, 1645, 1648, 1652, 1654, 1655, 1657, 1658, 1672, 1673, 1674, 1679, 1686, 1689, 1691, 1695, 1712, 1716, 1726, 1727, 1736, 1737, 1738, 1740, 1743, 1751, 1755, 1756, 1758, 1767, 1770, 1773, 1780, 1786, 1787, 1789, 1791, 1794, 1796, 1798, 1799, 1800, 1809, 1810, 1811, 1812, 1816, 1822, 1824, 1835, 1848, 1854, 1867, 1873, 1879, 1880, 1887, 1888, 1889, 1897, 1907, 1913, 1919, 1928, 1930, 1931, 1933, 1935, 1936, 1949, 1953, 1958, 1963, 1964, 1970, 1973, 1978, 1979, 1981, 1984, 1989, 1990, 1992, 1994, 1995, 2001, 2007, 2010, 2013, 2014, 2015, 2021, 2035, 2038, 2046, 2048, 2052, 2054, 2061, 2062, 2064, 2072, 2077, 2081, 2085, 2087, 2088, 2092, 2100, 2106, 2107, 2109, 2112, 2113, 2114, 2118, 2119, 2121, 2123, 2124, 2126, 2128, 2130, 2132, 2133, 2135, 2139, 2140, 2141, 2142, 2145, 2146, 2147, 2160, 2161, 2162, 2164, 2167, 2169, 2173, 2175, 2177, 2181, 2185, 2186, 2188, 2189, 2192, 2193, 2194, 2196, 2197, 2199, 2212, 2215, 2221, 2223, 2226, 2230, 2235, 2237, 2238, 2240, 2241, 2243, 2244, 2245, 2246, 2247, 2248, 2249, 2250, 2261, 2262, 2274, 2278, 2287, 2289, 2290, 2297, 2301, 2306, 2311, 2313, 2319, 2320, 2324, 2333, 2335, 2339, 2344, 2360, 2364, 2366, 2376, 2378, 2395, 2396, 2398, 2400, 2404, 2406, 2409, 2410, 2412, 2416, 2420, 2423, 2424, 2425, 2429, 2437, 2440, 2441, 2442, 2444, 2445, 2446, 2448, 2459, 2461, 2463, 2465, 2469, 2470, 2471, 2472, 2475, 2477, 2479, 2481, 2486, 2488, 2491, 2493, 2499, 2501, 2516, 2517, 2522, 2525, 2526, 2529, 2530, 2532, 2534, 2535, 2537, 2538, 2539, 2546, 2548, 2549, 2553, 2554, 2555, 2556, 2557, 2559, 2560, 2562, 2563, 2564, 2565, 2575, 2576, 2577, 2589, 2594, 2606, 2607, 2610, 2613, 2616, 2620, 2623, 2624, 2626, 2629, 2631, 2655, 2660, 2661, 2664, 2666, 2667, 2670, 2672, 2676, 2678, 2681, 2686, 2688, 2691, 2701, 2704, 2707, 2708, 2710, 2711, 2714, 2716, 2719, 2722, 2727, 2730, 2731, 2732, 2733, 2735, 2736, 2742, 2744, 2746, 2747, 2754, 2757, 2758, 2760, 2761, 2762, 2764, 2766, 2767, 2769, 2774, 2776, 2777, 2788, 2791, 2793, 2795, 2797, 2798, 2803, 2805, 2806, 2810, 2811, 2814, 2816, 2820, 2824, 2837, 2841, 2842, 2843, 2845, 2849, 2850, 2851, 2857, 2863, 2867, 2870, 2873, 2875, 2878, 2879, 2880, 2882, 2884, 2888, 2892, 2897, 2899, 2902, 2905, 2912, 2913, 2915, 2916, 2921, 2928, 2930, 2933, 2937, 2942, 2944, 2946, 2949, 2953, 2954, 2955, 2962, 2963, 2964, 2966, 2971, 2973, 2975, 2976, 2979, 2980, 2981, 2982, 2985, 2990, 2991, 2995, 2998, 2999]}
 
1
  loading env vars from: /common2/dh.huang.2023/code/logical-reasoning/.env
2
  Adding /common2/dh.huang.2023/code/logical-reasoning to sys.path
3
  loading /common2/dh.huang.2023/code/logical-reasoning/llm_toolkit/logical_reasoning_utils.py
4
+ shenzhi-wang/Llama3-8B-Chinese-Chat llama-factory/saves/llama3-8b/lora/sft_bf16_p2_full_r2/checkpoint-525 False datasets/mgtv results/llama3-8b_lora_sft_bf16-p2_r2.csv
5
  (1) GPU = NVIDIA L40. Max memory = 44.309 GB.
6
  0.0 GB of memory reserved.
7
+ loading model: shenzhi-wang/Llama3-8B-Chinese-Chat with adapter: llama-factory/saves/llama3-8b/lora/sft_bf16_p2_full_r2/checkpoint-525
8
+ 07/23/2024 05:34:29 - INFO - llamafactory.data.template - Replace eos token: <|eot_id|>
9
+ 07/23/2024 05:34:29 - INFO - llamafactory.model.patcher - Using KV cache for faster generation.
10
+ 07/23/2024 05:34:47 - INFO - llamafactory.model.model_utils.attention - Using torch SDPA for faster training and inference.
11
+ 07/23/2024 05:34:47 - INFO - llamafactory.model.adapter - Merged 1 adapter(s).
12
+ 07/23/2024 05:34:47 - INFO - llamafactory.model.adapter - Loaded adapter(s): llama-factory/saves/llama3-8b/lora/sft_bf16_p2_full_r2/checkpoint-525
13
+ 07/23/2024 05:34:47 - INFO - llamafactory.model.loader - all params: 8,030,261,248
14
  (2) GPU = NVIDIA L40. Max memory = 44.309 GB.
15
  15.502 GB of memory reserved.
16
  loading train/test data files
 
157
 
158
 
159
  Evaluating model: shenzhi-wang/Llama3-8B-Chinese-Chat
160
+ Batch output: ['不是']
 
 
 
 
 
 
 
 
 
161
  (3) GPU = NVIDIA L40. Max memory = 44.309 GB.
162
  21.307 GB of memory reserved.
163
+ text ... shenzhi-wang/Llama3-8B-Chinese-Chat/checkpoint-525_torch.bfloat16
164
+ 0 甄加索是自杀吗 ... 不是
165
 
166
+ [1 rows x 9 columns]
167
+ {'accuracy': 0.6883333333333334, 'incorrect_ids': [9, 17, 18, 24, 25, 28, 29, 31, 32, 34, 36, 37, 55, 58, 59, 65, 66, 67, 71, 78, 79, 83, 88, 93, 96, 99, 101, 102, 104, 106, 108, 109, 112, 115, 117, 121, 124, 127, 139, 143, 150, 153, 155, 156, 159, 160, 161, 162, 163, 164, 170, 173, 174, 175, 188, 190, 192, 193, 199, 200, 202, 214, 222, 224, 225, 227, 230, 233, 234, 236, 243, 245, 247, 248, 250, 251, 252, 253, 257, 259, 260, 261, 263, 265, 266, 268, 272, 276, 283, 284, 286, 289, 290, 293, 296, 299, 301, 302, 304, 305, 307, 308, 309, 314, 316, 317, 318, 320, 321, 323, 325, 330, 332, 334, 335, 339, 340, 343, 348, 349, 350, 351, 353, 354, 355, 356, 359, 360, 361, 362, 368, 370, 372, 373, 374, 377, 378, 384, 386, 389, 397, 398, 404, 409, 410, 411, 414, 416, 421, 423, 425, 428, 430, 431, 432, 438, 445, 446, 447, 450, 454, 455, 457, 458, 459, 461, 465, 468, 471, 472, 473, 476, 478, 479, 480, 490, 492, 493, 494, 495, 501, 502, 504, 506, 507, 508, 511, 512, 514, 516, 517, 518, 530, 531, 536, 553, 560, 568, 569, 570, 571, 578, 579, 581, 589, 591, 592, 593, 596, 597, 601, 612, 613, 614, 621, 625, 626, 628, 629, 632, 636, 643, 644, 647, 649, 650, 662, 663, 665, 666, 671, 673, 674, 676, 678, 682, 686, 691, 694, 695, 702, 703, 706, 721, 729, 730, 734, 735, 739, 740, 741, 752, 754, 770, 771, 774, 778, 779, 782, 785, 788, 791, 795, 798, 799, 801, 805, 809, 813, 817, 818, 819, 820, 821, 822, 823, 824, 826, 827, 828, 833, 837, 840, 841, 842, 843, 845, 847, 851, 856, 861, 863, 866, 869, 870, 873, 876, 884, 886, 888, 889, 890, 893, 897, 901, 904, 906, 913, 914, 916, 927, 928, 932, 937, 939, 945, 953, 958, 964, 966, 969, 974, 980, 986, 991, 993, 994, 998, 1001, 1003, 1006, 1007, 1011, 1012, 1014, 1015, 1022, 1026, 1028, 1036, 1038, 1043, 1044, 1051, 1053, 1054, 1058, 1061, 1063, 1066, 1069, 1071, 1077, 1080, 1081, 1086, 1087, 1089, 1096, 1098, 1102, 1107, 1111, 1113, 1114, 1120, 1121, 1125, 1126, 1128, 1129, 1133, 1134, 1141, 1143, 1161, 1163, 1166, 1167, 1171, 1172, 1174, 1177, 1178, 1180, 1181, 1183, 1185, 1192, 1203, 1206, 1209, 1212, 1220, 1228, 1231, 1232, 1235, 1238, 1239, 1241, 1242, 1245, 1251, 1252, 1254, 1256, 1259, 1266, 1271, 1272, 1274, 1282, 1286, 1289, 1292, 1296, 1300, 1301, 1305, 1308, 1311, 1313, 1317, 1322, 1329, 1331, 1332, 1342, 1348, 1349, 1353, 1354, 1358, 1364, 1365, 1367, 1370, 1371, 1373, 1378, 1379, 1380, 1386, 1387, 1389, 1391, 1392, 1393, 1395, 1402, 1406, 1407, 1409, 1412, 1419, 1420, 1422, 1426, 1427, 1428, 1430, 1431, 1432, 1438, 1439, 1440, 1443, 1444, 1448, 1450, 1451, 1452, 1453, 1455, 1457, 1459, 1462, 1469, 1473, 1476, 1478, 1481, 1485, 1490, 1492, 1495, 1496, 1500, 1502, 1504, 1507, 1512, 1515, 1516, 1517, 1518, 1525, 1526, 1528, 1533, 1535, 1536, 1544, 1545, 1547, 1549, 1554, 1558, 1560, 1561, 1562, 1568, 1573, 1581, 1585, 1587, 1590, 1591, 1593, 1594, 1602, 1603, 1604, 1605, 1607, 1611, 1622, 1624, 1625, 1627, 1632, 1633, 1636, 1637, 1638, 1641, 1648, 1650, 1652, 1654, 1655, 1656, 1657, 1658, 1660, 1668, 1672, 1673, 1674, 1677, 1679, 1684, 1686, 1689, 1691, 1694, 1695, 1697, 1712, 1716, 1726, 1727, 1731, 1736, 1737, 1740, 1743, 1745, 1751, 1753, 1754, 1755, 1756, 1758, 1765, 1767, 1769, 1770, 1780, 1786, 1791, 1796, 1798, 1799, 1800, 1810, 1811, 1812, 1816, 1820, 1824, 1827, 1834, 1835, 1848, 1854, 1867, 1879, 1882, 1887, 1888, 1889, 1890, 1892, 1897, 1913, 1919, 1930, 1931, 1935, 1936, 1940, 1943, 1948, 1949, 1953, 1958, 1963, 1964, 1973, 1978, 1979, 1981, 1984, 1989, 1990, 1992, 1995, 2000, 2001, 2013, 2014, 2015, 2017, 2021, 2028, 2029, 2035, 2038, 2043, 2046, 2048, 2052, 2054, 2062, 2064, 2072, 2076, 2077, 2078, 2081, 2085, 2087, 2088, 2092, 2100, 2106, 2107, 2109, 2112, 2114, 2118, 2119, 2121, 2124, 2126, 2128, 2132, 2133, 2135, 2139, 2142, 2145, 2146, 2147, 2155, 2160, 2161, 2162, 2164, 2169, 2172, 2173, 2177, 2185, 2186, 2187, 2192, 2193, 2194, 2196, 2199, 2212, 2213, 2215, 2226, 2230, 2237, 2238, 2240, 2241, 2243, 2245, 2246, 2247, 2249, 2250, 2262, 2263, 2272, 2274, 2278, 2287, 2289, 2297, 2301, 2306, 2311, 2312, 2313, 2320, 2324, 2333, 2335, 2337, 2339, 2348, 2349, 2360, 2364, 2366, 2370, 2372, 2378, 2379, 2395, 2396, 2398, 2400, 2404, 2406, 2408, 2409, 2410, 2412, 2420, 2423, 2425, 2429, 2437, 2440, 2441, 2442, 2444, 2445, 2446, 2448, 2453, 2459, 2461, 2463, 2464, 2465, 2469, 2470, 2471, 2472, 2473, 2475, 2477, 2486, 2488, 2491, 2493, 2499, 2501, 2503, 2511, 2515, 2517, 2522, 2525, 2526, 2529, 2530, 2532, 2535, 2537, 2538, 2539, 2546, 2547, 2548, 2549, 2553, 2554, 2555, 2556, 2557, 2559, 2560, 2562, 2570, 2575, 2576, 2577, 2589, 2594, 2600, 2605, 2606, 2607, 2610, 2616, 2623, 2626, 2629, 2631, 2633, 2644, 2660, 2664, 2666, 2667, 2672, 2676, 2678, 2686, 2688, 2701, 2707, 2710, 2711, 2714, 2716, 2717, 2719, 2721, 2722, 2726, 2727, 2730, 2731, 2732, 2736, 2742, 2744, 2746, 2747, 2752, 2754, 2757, 2760, 2761, 2762, 2764, 2765, 2766, 2767, 2769, 2774, 2776, 2777, 2782, 2788, 2791, 2793, 2798, 2800, 2801, 2803, 2805, 2806, 2810, 2811, 2814, 2816, 2820, 2824, 2837, 2841, 2843, 2845, 2850, 2851, 2854, 2857, 2863, 2867, 2870, 2873, 2875, 2877, 2878, 2879, 2880, 2881, 2882, 2884, 2892, 2897, 2899, 2902, 2905, 2912, 2915, 2916, 2921, 2930, 2933, 2937, 2942, 2944, 2946, 2949, 2953, 2954, 2955, 2960, 2963, 2964, 2971, 2973, 2975, 2976, 2979, 2980, 2981, 2982, 2985, 2994, 2995, 2998, 2999]}
logs/Llama3-8B-Chinese-Chat_epoch_4.txt CHANGED
@@ -1,16 +1,16 @@
1
  loading env vars from: /common2/dh.huang.2023/code/logical-reasoning/.env
2
  Adding /common2/dh.huang.2023/code/logical-reasoning to sys.path
3
  loading /common2/dh.huang.2023/code/logical-reasoning/llm_toolkit/logical_reasoning_utils.py
4
- shenzhi-wang/Llama3-8B-Chinese-Chat llama-factory/saves/llama3-8b/lora/sft_bf16_p2_full/checkpoint-700 False datasets/mgtv results/llama3-8b_lora_sft_bf16-p2.csv
5
  (1) GPU = NVIDIA L40. Max memory = 44.309 GB.
6
  0.0 GB of memory reserved.
7
- loading model: shenzhi-wang/Llama3-8B-Chinese-Chat with adapter: llama-factory/saves/llama3-8b/lora/sft_bf16_p2_full/checkpoint-700
8
- 07/22/2024 01:07:36 - INFO - llamafactory.data.template - Replace eos token: <|eot_id|>
9
- 07/22/2024 01:07:36 - INFO - llamafactory.model.patcher - Using KV cache for faster generation.
10
- 07/22/2024 01:07:45 - INFO - llamafactory.model.model_utils.attention - Using torch SDPA for faster training and inference.
11
- 07/22/2024 01:07:45 - INFO - llamafactory.model.adapter - Merged 1 adapter(s).
12
- 07/22/2024 01:07:45 - INFO - llamafactory.model.adapter - Loaded adapter(s): llama-factory/saves/llama3-8b/lora/sft_bf16_p2_full/checkpoint-700
13
- 07/22/2024 01:07:45 - INFO - llamafactory.model.loader - all params: 8,030,261,248
14
  (2) GPU = NVIDIA L40. Max memory = 44.309 GB.
15
  15.502 GB of memory reserved.
16
  loading train/test data files
@@ -157,20 +157,11 @@ You are an expert in logical reasoning.<|eot_id|><|start_header_id|>user<|end_he
157
 
158
 
159
  Evaluating model: shenzhi-wang/Llama3-8B-Chinese-Chat
160
- --------
161
- step 1: 不是
162
- --------
163
- step 2: 不是
164
- --------
165
- step 3: 不是
166
- --------
167
- step 4: 不是
168
- --------
169
- step 5: 不是
170
  (3) GPU = NVIDIA L40. Max memory = 44.309 GB.
171
  21.307 GB of memory reserved.
172
- text ... shenzhi-wang/Llama3-8B-Chinese-Chat_checkpoint-1750
173
- 0 甄加索是自杀吗 ... NaN
174
 
175
- [1 rows x 16 columns]
176
- {'accuracy': 0.7093333333333334, 'incorrect_ids': [6, 9, 16, 17, 18, 24, 25, 32, 33, 34, 35, 36, 38, 55, 58, 59, 60, 61, 65, 66, 67, 71, 78, 83, 88, 91, 99, 101, 104, 106, 108, 109, 110, 112, 115, 124, 127, 128, 135, 136, 139, 143, 150, 153, 155, 161, 163, 164, 170, 173, 174, 179, 180, 184, 188, 190, 193, 199, 200, 202, 216, 222, 224, 225, 228, 233, 234, 236, 243, 245, 248, 249, 250, 252, 253, 260, 261, 263, 268, 275, 279, 283, 284, 286, 289, 293, 294, 295, 304, 307, 308, 314, 316, 318, 320, 321, 323, 330, 332, 334, 335, 338, 339, 341, 343, 348, 349, 350, 351, 352, 353, 354, 355, 356, 359, 360, 365, 368, 370, 371, 372, 373, 374, 377, 386, 389, 395, 396, 397, 402, 404, 410, 416, 425, 428, 430, 431, 438, 445, 447, 450, 451, 452, 454, 455, 456, 458, 459, 461, 465, 470, 471, 472, 473, 476, 480, 488, 492, 493, 494, 495, 501, 502, 506, 507, 508, 510, 511, 512, 514, 517, 519, 520, 530, 531, 533, 536, 540, 560, 570, 571, 576, 579, 581, 589, 591, 592, 593, 596, 597, 601, 612, 613, 614, 621, 625, 626, 628, 632, 635, 636, 643, 644, 647, 649, 650, 663, 666, 671, 674, 678, 682, 686, 690, 691, 695, 701, 702, 709, 721, 722, 729, 730, 732, 734, 735, 739, 740, 754, 766, 770, 771, 772, 774, 778, 779, 788, 790, 791, 792, 795, 798, 799, 801, 802, 803, 805, 809, 812, 813, 817, 818, 819, 820, 821, 822, 823, 824, 826, 827, 828, 833, 837, 840, 843, 847, 849, 851, 856, 857, 861, 863, 866, 867, 869, 870, 871, 873, 876, 884, 886, 888, 889, 890, 895, 901, 904, 906, 908, 912, 913, 916, 917, 927, 928, 932, 936, 937, 945, 953, 962, 966, 969, 980, 982, 986, 989, 991, 993, 994, 998, 1001, 1003, 1006, 1007, 1011, 1012, 1014, 1015, 1022, 1025, 1028, 1036, 1038, 1043, 1051, 1053, 1054, 1066, 1069, 1071, 1074, 1080, 1086, 1087, 1089, 1096, 1107, 1113, 1120, 1121, 1125, 1126, 1129, 1138, 1141, 1143, 1148, 1158, 1161, 1163, 1164, 1167, 1172, 1174, 1177, 1178, 1180, 1181, 1183, 1185, 1198, 1203, 1212, 1220, 1228, 1232, 1239, 1241, 1242, 1245, 1251, 1252, 1254, 1256, 1257, 1259, 1266, 1282, 1289, 1292, 1299, 1301, 1305, 1308, 1311, 1313, 1314, 1316, 1317, 1322, 1324, 1326, 1331, 1332, 1342, 1343, 1345, 1347, 1349, 1353, 1358, 1363, 1364, 1367, 1370, 1372, 1373, 1379, 1380, 1385, 1386, 1387, 1389, 1391, 1392, 1393, 1395, 1402, 1406, 1407, 1412, 1413, 1420, 1424, 1425, 1426, 1427, 1428, 1430, 1431, 1432, 1439, 1440, 1443, 1444, 1448, 1449, 1451, 1452, 1453, 1454, 1455, 1459, 1468, 1469, 1473, 1476, 1478, 1481, 1490, 1496, 1500, 1504, 1512, 1516, 1517, 1518, 1525, 1526, 1528, 1533, 1536, 1544, 1545, 1547, 1554, 1558, 1560, 1561, 1562, 1568, 1573, 1581, 1585, 1587, 1590, 1591, 1593, 1594, 1596, 1598, 1602, 1603, 1604, 1605, 1608, 1613, 1622, 1624, 1627, 1632, 1633, 1637, 1638, 1641, 1648, 1650, 1652, 1654, 1655, 1658, 1668, 1672, 1673, 1674, 1682, 1684, 1686, 1689, 1691, 1695, 1698, 1700, 1716, 1718, 1726, 1727, 1731, 1735, 1736, 1737, 1738, 1740, 1743, 1751, 1753, 1754, 1756, 1769, 1770, 1773, 1780, 1786, 1789, 1794, 1796, 1798, 1799, 1809, 1810, 1811, 1812, 1816, 1824, 1835, 1848, 1852, 1854, 1858, 1879, 1880, 1882, 1887, 1888, 1890, 1897, 1913, 1919, 1930, 1933, 1934, 1935, 1936, 1940, 1949, 1953, 1958, 1963, 1964, 1970, 1973, 1978, 1979, 1981, 1984, 1986, 1989, 1990, 1992, 1994, 1995, 2001, 2007, 2011, 2013, 2014, 2015, 2017, 2021, 2035, 2038, 2046, 2048, 2052, 2054, 2062, 2063, 2064, 2072, 2077, 2080, 2081, 2088, 2089, 2092, 2097, 2100, 2105, 2106, 2107, 2109, 2112, 2113, 2114, 2118, 2119, 2121, 2123, 2124, 2126, 2133, 2135, 2139, 2140, 2145, 2147, 2160, 2161, 2162, 2164, 2169, 2173, 2177, 2181, 2185, 2186, 2188, 2189, 2192, 2194, 2196, 2199, 2201, 2204, 2212, 2221, 2226, 2229, 2230, 2237, 2238, 2240, 2243, 2244, 2245, 2246, 2247, 2250, 2261, 2262, 2274, 2278, 2287, 2290, 2297, 2301, 2304, 2311, 2313, 2315, 2319, 2320, 2324, 2333, 2334, 2335, 2339, 2344, 2348, 2349, 2360, 2361, 2364, 2366, 2378, 2395, 2396, 2400, 2404, 2405, 2407, 2409, 2410, 2412, 2416, 2420, 2423, 2424, 2425, 2429, 2437, 2440, 2441, 2442, 2445, 2448, 2453, 2457, 2459, 2461, 2463, 2464, 2465, 2469, 2471, 2472, 2475, 2477, 2481, 2486, 2488, 2491, 2493, 2499, 2501, 2511, 2517, 2522, 2525, 2526, 2529, 2530, 2532, 2535, 2537, 2538, 2539, 2546, 2547, 2548, 2549, 2553, 2554, 2555, 2556, 2557, 2559, 2560, 2562, 2575, 2577, 2589, 2594, 2600, 2602, 2607, 2616, 2620, 2623, 2629, 2633, 2640, 2660, 2661, 2663, 2664, 2666, 2667, 2672, 2676, 2686, 2691, 2701, 2704, 2707, 2708, 2710, 2711, 2714, 2716, 2718, 2721, 2730, 2731, 2732, 2733, 2735, 2736, 2742, 2744, 2746, 2747, 2754, 2757, 2760, 2761, 2762, 2764, 2765, 2766, 2767, 2769, 2772, 2776, 2777, 2782, 2788, 2791, 2793, 2795, 2798, 2800, 2801, 2803, 2806, 2807, 2810, 2811, 2815, 2816, 2820, 2824, 2837, 2842, 2843, 2845, 2849, 2850, 2851, 2854, 2857, 2867, 2870, 2875, 2878, 2880, 2882, 2884, 2888, 2899, 2902, 2905, 2910, 2912, 2913, 2915, 2916, 2919, 2920, 2921, 2928, 2933, 2937, 2942, 2944, 2949, 2953, 2955, 2960, 2963, 2966, 2975, 2976, 2979, 2980, 2981, 2985, 2990, 2991, 2995, 2998]}
 
1
  loading env vars from: /common2/dh.huang.2023/code/logical-reasoning/.env
2
  Adding /common2/dh.huang.2023/code/logical-reasoning to sys.path
3
  loading /common2/dh.huang.2023/code/logical-reasoning/llm_toolkit/logical_reasoning_utils.py
4
+ shenzhi-wang/Llama3-8B-Chinese-Chat llama-factory/saves/llama3-8b/lora/sft_bf16_p2_full_r2/checkpoint-700 False datasets/mgtv results/llama3-8b_lora_sft_bf16-p2_r2.csv
5
  (1) GPU = NVIDIA L40. Max memory = 44.309 GB.
6
  0.0 GB of memory reserved.
7
+ loading model: shenzhi-wang/Llama3-8B-Chinese-Chat with adapter: llama-factory/saves/llama3-8b/lora/sft_bf16_p2_full_r2/checkpoint-700
8
+ 07/23/2024 05:45:07 - INFO - llamafactory.data.template - Replace eos token: <|eot_id|>
9
+ 07/23/2024 05:45:07 - INFO - llamafactory.model.patcher - Using KV cache for faster generation.
10
+ 07/23/2024 05:45:24 - INFO - llamafactory.model.model_utils.attention - Using torch SDPA for faster training and inference.
11
+ 07/23/2024 05:45:24 - INFO - llamafactory.model.adapter - Merged 1 adapter(s).
12
+ 07/23/2024 05:45:24 - INFO - llamafactory.model.adapter - Loaded adapter(s): llama-factory/saves/llama3-8b/lora/sft_bf16_p2_full_r2/checkpoint-700
13
+ 07/23/2024 05:45:24 - INFO - llamafactory.model.loader - all params: 8,030,261,248
14
  (2) GPU = NVIDIA L40. Max memory = 44.309 GB.
15
  15.502 GB of memory reserved.
16
  loading train/test data files
 
157
 
158
 
159
  Evaluating model: shenzhi-wang/Llama3-8B-Chinese-Chat
160
+ Batch output: ['不是']
 
 
 
 
 
 
 
 
 
161
  (3) GPU = NVIDIA L40. Max memory = 44.309 GB.
162
  21.307 GB of memory reserved.
163
+ text ... shenzhi-wang/Llama3-8B-Chinese-Chat/checkpoint-700_torch.bfloat16
164
+ 0 甄加索是自杀吗 ... 不是
165
 
166
+ [1 rows x 10 columns]
167
+ {'accuracy': 0.6406666666666667, 'incorrect_ids': [5, 9, 13, 17, 18, 24, 25, 27, 28, 29, 31, 32, 33, 34, 36, 37, 38, 51, 55, 58, 59, 60, 65, 66, 67, 71, 78, 79, 83, 88, 93, 96, 99, 101, 102, 104, 106, 108, 109, 112, 115, 121, 124, 127, 128, 136, 139, 140, 143, 150, 153, 156, 159, 160, 161, 162, 163, 164, 170, 173, 174, 179, 180, 188, 190, 192, 193, 199, 200, 202, 209, 214, 222, 224, 225, 227, 228, 230, 233, 234, 236, 243, 245, 248, 249, 250, 251, 252, 253, 257, 259, 260, 261, 263, 265, 266, 268, 276, 279, 283, 284, 289, 290, 293, 294, 296, 299, 301, 302, 304, 305, 307, 308, 309, 311, 314, 316, 317, 318, 320, 321, 323, 325, 332, 334, 335, 338, 339, 341, 348, 349, 350, 351, 353, 354, 355, 356, 357, 359, 360, 361, 362, 368, 370, 371, 372, 373, 374, 377, 378, 386, 389, 391, 395, 397, 398, 403, 404, 409, 410, 411, 414, 416, 421, 423, 425, 428, 429, 430, 431, 432, 438, 442, 445, 446, 447, 450, 452, 454, 455, 457, 458, 461, 463, 465, 468, 471, 472, 473, 476, 478, 479, 480, 490, 492, 493, 494, 495, 501, 502, 504, 506, 507, 508, 509, 510, 511, 512, 513, 514, 516, 517, 518, 520, 530, 531, 534, 536, 553, 556, 560, 569, 570, 571, 579, 581, 585, 589, 591, 592, 593, 596, 597, 599, 601, 612, 613, 614, 618, 621, 625, 626, 628, 629, 632, 636, 643, 644, 647, 649, 650, 662, 663, 665, 666, 667, 671, 673, 674, 676, 678, 682, 683, 684, 686, 690, 691, 694, 695, 702, 703, 706, 709, 716, 721, 722, 729, 730, 734, 735, 739, 740, 741, 752, 754, 768, 770, 771, 772, 774, 778, 779, 782, 785, 786, 791, 795, 798, 799, 801, 802, 803, 805, 809, 813, 817, 818, 819, 820, 821, 822, 823, 824, 826, 827, 828, 829, 833, 834, 837, 840, 841, 842, 843, 845, 847, 848, 851, 856, 861, 863, 866, 867, 869, 870, 873, 876, 884, 886, 888, 889, 890, 893, 895, 897, 901, 904, 906, 907, 913, 914, 916, 920, 927, 928, 932, 935, 937, 939, 945, 953, 954, 962, 964, 966, 969, 971, 973, 974, 980, 981, 986, 990, 991, 993, 994, 998, 1001, 1003, 1006, 1007, 1011, 1012, 1014, 1015, 1022, 1026, 1028, 1036, 1038, 1040, 1043, 1044, 1045, 1051, 1053, 1054, 1058, 1061, 1063, 1066, 1069, 1070, 1071, 1073, 1075, 1077, 1080, 1081, 1086, 1087, 1089, 1096, 1098, 1102, 1107, 1111, 1113, 1114, 1116, 1120, 1121, 1125, 1126, 1128, 1129, 1133, 1134, 1141, 1143, 1151, 1153, 1161, 1163, 1166, 1167, 1171, 1172, 1174, 1177, 1178, 1180, 1181, 1183, 1185, 1192, 1203, 1206, 1209, 1212, 1219, 1220, 1228, 1231, 1232, 1235, 1239, 1241, 1242, 1243, 1245, 1246, 1249, 1251, 1252, 1254, 1256, 1258, 1259, 1266, 1267, 1271, 1272, 1274, 1282, 1286, 1289, 1292, 1294, 1296, 1299, 1300, 1301, 1305, 1308, 1311, 1313, 1317, 1322, 1329, 1331, 1332, 1336, 1340, 1342, 1347, 1348, 1349, 1353, 1354, 1358, 1364, 1365, 1367, 1370, 1371, 1373, 1378, 1379, 1380, 1386, 1387, 1389, 1391, 1392, 1393, 1395, 1402, 1406, 1407, 1412, 1413, 1419, 1420, 1422, 1424, 1426, 1428, 1430, 1431, 1432, 1438, 1440, 1441, 1443, 1444, 1448, 1449, 1450, 1451, 1452, 1453, 1455, 1457, 1459, 1462, 1469, 1473, 1476, 1478, 1481, 1485, 1490, 1495, 1496, 1500, 1502, 1504, 1507, 1512, 1515, 1516, 1517, 1518, 1525, 1526, 1528, 1533, 1535, 1536, 1542, 1544, 1545, 1546, 1547, 1549, 1551, 1554, 1558, 1560, 1561, 1562, 1568, 1573, 1581, 1585, 1587, 1590, 1591, 1593, 1594, 1598, 1602, 1603, 1604, 1605, 1607, 1611, 1612, 1622, 1624, 1625, 1627, 1630, 1632, 1633, 1636, 1637, 1638, 1641, 1648, 1650, 1652, 1654, 1655, 1656, 1657, 1658, 1659, 1660, 1668, 1669, 1672, 1673, 1674, 1677, 1678, 1679, 1684, 1686, 1691, 1694, 1695, 1697, 1712, 1713, 1716, 1718, 1726, 1727, 1731, 1734, 1736, 1737, 1740, 1743, 1745, 1751, 1753, 1754, 1755, 1756, 1758, 1765, 1767, 1769, 1770, 1780, 1786, 1791, 1796, 1798, 1799, 1800, 1810, 1811, 1812, 1816, 1820, 1823, 1824, 1827, 1834, 1835, 1841, 1848, 1852, 1854, 1867, 1869, 1879, 1880, 1882, 1887, 1888, 1889, 1890, 1897, 1904, 1910, 1913, 1914, 1919, 1930, 1931, 1935, 1936, 1938, 1940, 1943, 1944, 1946, 1948, 1949, 1951, 1953, 1958, 1961, 1963, 1964, 1970, 1973, 1978, 1979, 1981, 1984, 1988, 1989, 1990, 1992, 1994, 1995, 2000, 2001, 2002, 2007, 2013, 2014, 2015, 2021, 2025, 2028, 2035, 2038, 2042, 2043, 2046, 2048, 2052, 2054, 2062, 2063, 2064, 2072, 2076, 2077, 2078, 2081, 2085, 2087, 2088, 2089, 2092, 2100, 2106, 2107, 2109, 2110, 2112, 2114, 2118, 2119, 2121, 2122, 2123, 2124, 2126, 2128, 2132, 2133, 2135, 2139, 2142, 2144, 2145, 2146, 2147, 2155, 2160, 2161, 2162, 2164, 2169, 2172, 2173, 2177, 2180, 2184, 2185, 2186, 2187, 2192, 2193, 2194, 2196, 2198, 2199, 2204, 2212, 2213, 2215, 2219, 2223, 2226, 2230, 2238, 2240, 2241, 2243, 2245, 2246, 2247, 2248, 2249, 2250, 2261, 2262, 2263, 2267, 2274, 2278, 2279, 2285, 2287, 2289, 2297, 2298, 2301, 2306, 2311, 2312, 2313, 2319, 2320, 2322, 2324, 2333, 2334, 2335, 2336, 2337, 2348, 2349, 2352, 2360, 2361, 2364, 2366, 2372, 2376, 2378, 2379, 2395, 2396, 2400, 2404, 2406, 2408, 2409, 2410, 2412, 2420, 2423, 2424, 2425, 2429, 2437, 2440, 2441, 2442, 2444, 2445, 2446, 2448, 2453, 2459, 2461, 2463, 2464, 2465, 2469, 2470, 2471, 2472, 2475, 2477, 2481, 2484, 2486, 2488, 2491, 2493, 2496, 2499, 2501, 2511, 2516, 2517, 2522, 2525, 2526, 2529, 2530, 2532, 2535, 2537, 2538, 2539, 2540, 2546, 2547, 2548, 2549, 2550, 2553, 2554, 2555, 2556, 2557, 2558, 2559, 2560, 2562, 2563, 2570, 2574, 2575, 2576, 2577, 2586, 2589, 2594, 2605, 2606, 2607, 2610, 2616, 2623, 2626, 2628, 2629, 2631, 2633, 2644, 2655, 2660, 2664, 2666, 2667, 2672, 2676, 2678, 2681, 2686, 2688, 2691, 2694, 2701, 2704, 2707, 2708, 2710, 2711, 2714, 2716, 2717, 2718, 2719, 2721, 2722, 2726, 2727, 2730, 2731, 2732, 2733, 2736, 2738, 2742, 2744, 2746, 2747, 2754, 2757, 2760, 2761, 2762, 2764, 2765, 2766, 2767, 2769, 2772, 2774, 2776, 2777, 2782, 2788, 2791, 2793, 2795, 2798, 2800, 2801, 2803, 2805, 2806, 2810, 2811, 2812, 2816, 2820, 2821, 2824, 2837, 2841, 2843, 2845, 2850, 2851, 2854, 2857, 2863, 2867, 2870, 2873, 2875, 2877, 2878, 2879, 2880, 2881, 2882, 2884, 2888, 2892, 2897, 2899, 2902, 2905, 2909, 2912, 2915, 2916, 2919, 2921, 2930, 2933, 2937, 2938, 2942, 2944, 2946, 2949, 2953, 2954, 2955, 2960, 2963, 2964, 2966, 2971, 2973, 2974, 2975, 2976, 2978, 2979, 2980, 2981, 2982, 2983, 2985, 2991, 2994, 2995, 2998, 2999]}
results/llama3-8b_lora_sft_bf16-p1_r2.csv ADDED
The diff for this file is too large to render. See raw diff
 
results/llama3-8b_lora_sft_bf16-p2_r2.csv ADDED
The diff for this file is too large to render. See raw diff