File size: 529 Bytes
a80f6e6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import os
import json

root_dir = "/home/tianqiu/learn/benchmark/result/2025-04-08_08-42-28_GSM8K"
threhold = 100
src_data=[]
for i in range(threhold):
    file_name = os.path.join(root_dir, f"result_{i}.json")
    with open(file_name, "r") as f:
        data = json.load(f)
        src_data.append(data)

for i in range(threhold, 200):
    file_name = os.path.join(root_dir, f"result_{i}.json")
    with open(file_name, "r") as f:
        data = json.load(f)
        src_data.append(data)
        
def transform():
    pass