JarvisKi commited on
Commit
9c65f43
1 Parent(s): e44375e

Upload 2 files

Browse files
Files changed (2) hide show
  1. app.py +249 -0
  2. leaderboard_data.json +366 -0
app.py ADDED
@@ -0,0 +1,249 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import json
2
+ import gradio as gr
3
+ import webbrowser
4
+
5
+ # 已有数据的路径
6
+ data_file_path = '//leaderboard_data.json'
7
+
8
+ # 加载已有的数据
9
+ def load_data():
10
+ with open(data_file_path, 'r') as file:
11
+ return json.load(file)
12
+
13
+ existing_data = load_data()
14
+
15
+ # 根据排名生成表格数据
16
+ def generate_table(data):
17
+ if not data:
18
+ return [], [] # No data, return empty headers and rows
19
+
20
+ # Make sure all entries have a 'Scores' dictionary
21
+ valid_data = [entry for entry in data if 'Scores' in entry and isinstance(entry['Scores'], dict)]
22
+
23
+ # Sort the data based on the 'Average' score in descending order
24
+ sorted_data = sorted(valid_data, key=lambda x: x['Scores'].get('Average', 0), reverse=True)
25
+
26
+ # Now, build the table rows with the sorted data
27
+ headers = ["Method"] + list(sorted_data[0]['Scores'].keys()) if sorted_data else ["Method"]
28
+ rows = []
29
+ for entry in sorted_data:
30
+ row = [entry['Method']] + [entry['Scores'].get(key, "N/A") for key in headers[1:]]
31
+ rows.append(row)
32
+
33
+ return headers, rows
34
+
35
+ # 原始数据
36
+ protected_methods = ["GPT-4-Turbo-Preview (DFS)", "GPT-3.5-Turbo-1106 (DFS)", "GPT-4-0613 (DFS)", "GPT-3.5-Turbo-0613 (DFS)", "GPT-4-Turbo-Preview (CoT)", "ToolLLaMA v2 (DFS)", "GPT-4-0613 (CoT)", "GPT-3.5-Turbo-1106 (CoT)", "GPT-3.5-Turbo-0613 (CoT)", "ToolLLaMA v2 (CoT)"]
37
+
38
+ # 合并上传的数据到已有的数据中
39
+ def merge_data(uploaded_data_json):
40
+ # No need to call json.loads here because uploaded_data is already a Python dict
41
+ new_data = uploaded_data_json
42
+
43
+ # Define a helper function to merge scores for an entry
44
+ def merge_scores(existing_scores, new_scores):
45
+ for key, value in new_scores.items():
46
+ existing_scores[key] = value
47
+
48
+ # Merge 'SolvablePassRateScores'
49
+ # 更新 'SolvablePassRateScores'
50
+ for new_entry in new_data["SolvablePassRateScores"]:
51
+ if new_entry["Method"] not in protected_methods:
52
+ existing_entry = next(
53
+ (item for item in existing_data["SolvablePassRateScores"] if item["Method"] == new_entry["Method"]),
54
+ None)
55
+ if existing_entry:
56
+ # 这是一个非保护的方法,更新它
57
+ merge_scores(existing_entry["Scores"], new_entry["Scores"])
58
+ else:
59
+ # 这是一个新的方法,添加到列表中
60
+ existing_data["SolvablePassRateScores"].append(new_entry)
61
+
62
+ # Merge 'SolvableWinRateScores'
63
+ for new_entry in new_data["SolvableWinRateScores"]:
64
+ if new_entry["Method"] not in protected_methods:
65
+ existing_entry = next(
66
+ (item for item in existing_data["SolvableWinRateScores"] if item["Method"] == new_entry["Method"]),
67
+ None)
68
+ if existing_entry:
69
+ merge_scores(existing_entry["Scores"], new_entry["Scores"])
70
+ else:
71
+ existing_data["SolvableWinRateScores"].append(new_entry)
72
+
73
+ # After merging the data, write the updated data back to the file
74
+ with open(data_file_path, 'w') as file:
75
+ json.dump(existing_data, file, indent=4)
76
+
77
+ # No need to sort here since we're doing it in the generate_table function
78
+ return existing_data
79
+
80
+ def process_file(file_info):
81
+ if file_info is not None:
82
+ # 如果 file_info 是文件的路径字符串,需要使用 'open' 来读取文件
83
+ with open(file_info, "r") as uploaded_file:
84
+ data_content = uploaded_file.read()
85
+ uploaded_data_json = json.loads(data_content)
86
+ # Merge the uploaded data
87
+ merge_data(uploaded_data_json)
88
+ # No need to call generate_table here since we are not returning it
89
+ # If we don't return anything here, gradio will not update the table
90
+ # We need to return the new data for the table if it's interactive
91
+ pass_rate_table = generate_table(existing_data["SolvablePassRateScores"])[1]
92
+ win_rate_table = generate_table(existing_data["SolvableWinRateScores"])[1]
93
+ return pass_rate_table, win_rate_table
94
+
95
+ def refresh_table_data():
96
+ # 重新加载数据
97
+ new_data = existing_data
98
+ # 重新生成表格数据
99
+ new_pass_rate_data = generate_table(new_data["SolvablePassRateScores"])[1]
100
+ new_win_rate_data = generate_table(new_data["SolvableWinRateScores"])[1]
101
+ # 返回新的表格数据
102
+ return new_pass_rate_data, new_win_rate_data
103
+
104
+ # 创建界面
105
+ with gr.Blocks() as app:
106
+ # The large title
107
+ gr.Markdown("# StableToolBench Leaderboard")
108
+
109
+ # The introductory content
110
+ gr.Markdown("""
111
+ **Large Language Models (LLMs)** have witnessed remarkable advancements in recent years, prompting the exploration of tool learning, which integrates LLMs with external tools to address diverse real-world challenges. Assessing the capability of LLMs to utilise tools necessitates large-scale and stable benchmarks. However, previous works relied on either hand-crafted online tools with limited scale, or large-scale real online APIs suffering from instability of API status. To address this problem, we introduce StableToolBench, a benchmark evolving from ToolBench, proposing a virtual API server and stable evaluation system. The virtual API server contains a caching system and API simulators which are complementary to alleviate the change in API status. Meanwhile, the stable evaluation system designs solvable pass and win rates using GPT-4 as the automatic evaluator to eliminate the randomness during evaluation. Experimental results demonstrate the stability of StableToolBench, and further discuss the effectiveness of API simulators, the caching system, and the evaluation system.
112
+ """)
113
+ gr.Markdown(""" ### For further information, please refer to: """)
114
+ buttons_html = """
115
+ <style>
116
+ .custom-link-button {
117
+ font-size: 18px !important; /* Adjust the font size as needed */
118
+ padding: 10px 15px !important; /* Add some padding */
119
+ margin: 5px !important;
120
+ color: white !important; /* Text color */
121
+ background-color: #106BA3 !important; /* Background color */
122
+ text-decoration: none !important; /* Remove underline from links */
123
+ display: inline-block !important;
124
+ border-radius: 5px !important; /* Rounded corners */
125
+ border: none !important; /* Remove borders */
126
+ cursor: pointer !important; /* Mouse pointer on hover */
127
+ text-align: center !important;
128
+ }
129
+ .custom-link-button:hover {
130
+ background-color: #0D5B8F !important;
131
+ }
132
+ </style>
133
+ <a href="https://arxiv.org/pdf/2403.07714.pdf" target="_blank" class="custom-link-button">Paper</a>
134
+ <a href="https://arxiv.org/abs/2403.07714" target="_blank" class="custom-link-button">arXiv</a>
135
+ <a href="https://github.com/zhichengg/StableToolBench" target="_blank" class="custom-link-button">Code</a>
136
+ <a href="https://drive.google.com/file/d/1XUiCMA5NV359UGR-eknF0TcXORuR7RXj/view?pli=1" target="_blank" class="custom-link-button">Cache Data</a>
137
+ """
138
+
139
+ gr.HTML(buttons_html)
140
+
141
+ # Markdown 标题
142
+ gr.Markdown("## Solvable Pass Rate Scores")
143
+ # 初始生成表格数据
144
+ headers1, rows1 = generate_table(existing_data["SolvablePassRateScores"])
145
+ table1 = gr.Dataframe(headers=headers1, value=rows1, interactive=True)
146
+
147
+ gr.Markdown("## Solvable Win Rate Scores")
148
+ # 初始生成表格数据
149
+ headers2, rows2 = generate_table(existing_data["SolvableWinRateScores"])
150
+ table2 = gr.Dataframe(headers=headers2, value=rows2, interactive=True)
151
+
152
+ refresh_button = gr.Button("Refresh Leaderboards")
153
+ # 当刷新按钮被点击时,调用 refresh_table_data 函数来更新表格
154
+ refresh_button.click(
155
+ fn=refresh_table_data,
156
+ outputs=[table1, table2]
157
+ )
158
+
159
+ gr.Markdown("## The Stable Evaluation System")
160
+ gr.Markdown("**Solvable Tasks Filtration**. Since the solvablility of tasks in original ToolBench induces siginificant instability, we filter out the unsolvable tasks in advance. This process is executed using GPT-4, Gemini Pro, and Claude 2. Each task from the dataset is evaluated by these models to determine its solvability through majority voting. A task is classified as solvable if it provides all the necessary and valid information required for completion and can be resolved with the available tools. Human evaluation shows that these models can effectively filter out unsolvable tasks, ensuring the stability of the benchmark.")
161
+ gr.Markdown("**Metrics (SoPR and SoWR)**. Due to the limitation of gpt-3.5-turbo-16k in tool learning, we uniformly adopt gpt-4-turbo-preview as the automatic evaluator. SoPR is in essence PR with all tasks solvable and only assesses the answers using the same prompt in ToolBench. The evaluator assigns outcomes of answers categorised as Solved, Unsolved, or Unsure, which respectively contribute scores of 1, 0.5, and 0 to the overall SoPR calculation. As for SoWR, when one is solved and the other is unsolved, the solved one wins. Under other circumstances, gpt-4-turbo-preview will be used to make a win-lose decision.")
162
+
163
+
164
+ headers_ex = ["", "I1 Instruction", "I1 Category", "I1 Tool", "I2 Instruction", "I2 Category", "I3 Instruction",
165
+ "Total"]
166
+ data_ex = [
167
+ ["Full", 200, 200, 200, 200, 200, 100, 1100],
168
+ ["Solvable", 163, 153, 158, 106, 124, 61, 765]
169
+ ]
170
+ gr.Markdown("#### Table: Summary of Task Statistics before and after filtration")
171
+ gr.Dataframe(headers=headers_ex, value=data_ex, interactive=False)
172
+
173
+ gr.Markdown("## Upload Your Own Results")
174
+ gr.Markdown("""
175
+ If you would like to contribute to the leaderboard, please follow the JSON structure below for your method's scores.
176
+
177
+ **Solvable Pass Rate Scores Template:**
178
+ ```json
179
+ {
180
+ "SolvablePassRateScores": [
181
+ {
182
+ "Method": "Your Method Name",
183
+ "Scores": {
184
+ "I1 Instruction": 85.5,
185
+ "I1 Instruction SE": 1.2,
186
+ "I1 Category": 80.0,
187
+ "I1 Category SE": 1.0,
188
+ "I1 Tool": 88.5,
189
+ "I1 Tool SE": 0.8,
190
+ "I2 Category": 82.5,
191
+ "I2 Category SE": 1.3,
192
+ "I2 Instruction": 86.0,
193
+ "I2 Instruction SE": 0.5,
194
+ "I3 Instruction": 90.0,
195
+ "I3 Instruction SE": 0.7,
196
+ "Average": 87.5,
197
+ "Average SE": 1.1
198
+ }
199
+ }
200
+ // Add more methods here...
201
+ ],
202
+ "SolvableWinRateScores": [
203
+ {
204
+ "Method": "Your Method Name",
205
+ "Scores": {
206
+ "I1 Instruction": 65.0,
207
+ "I1 Category": 68.5,
208
+ "I1 Tool": 66.8,
209
+ "I2 Category": 70.0,
210
+ "I2 Instruction": 69.2,
211
+ "I3 Instruction": 71.5,
212
+ "Average": 68.5
213
+ }
214
+ }
215
+ // Add more methods here...
216
+ ]
217
+ }
218
+ ```
219
+
220
+ Make sure your uploaded JSON file follows this structure.
221
+ """)
222
+ # 文件上传组件和提交按钮
223
+ upload_component = gr.File(label="Upload JSON File")
224
+ submit_button = gr.Button("Submit")
225
+
226
+ submit_button.click(
227
+ fn=process_file,
228
+ inputs=upload_component,
229
+ outputs=[table1, table2]
230
+ )
231
+
232
+ # 引用部分
233
+ gr.Markdown(" ## If you like our project, please consider cite our work as follows: ")
234
+ citation_text = """
235
+ ```
236
+ @misc{guo2024stabletoolbench,
237
+ title={StableToolBench: Towards Stable Large-Scale Benchmarking on Tool Learning of Large Language Models},
238
+ author={Zhicheng Guo and Sijie Cheng and Hao Wang and Shihao Liang and Yujia Qin and Peng Li and Zhiyuan Liu and Maosong Sun and Yang Liu},
239
+ year={2024},
240
+ eprint={2403.07714},
241
+ archivePrefix={arXiv},
242
+ primaryClass={cs.CL}
243
+ }
244
+ ```
245
+ """
246
+ gr.Markdown(citation_text)
247
+
248
+ if __name__ == "__main__":
249
+ app.launch()
leaderboard_data.json ADDED
@@ -0,0 +1,366 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "SolvablePassRateScores": [
3
+ {
4
+ "Method": "ToolLLaMA v2 (DFS)",
5
+ "Scores": {
6
+ "I1 Instruction": 59.8,
7
+ "I1 Instruction SE": 1.5,
8
+ "I1 Category": 59.5,
9
+ "I1 Category SE": 1.4,
10
+ "I1 Tool": 65.7,
11
+ "I1 Tool SE": 1.1,
12
+ "I2 Category": 56.5,
13
+ "I2 Category SE": 0.3,
14
+ "I2 Instruction": 47.6,
15
+ "I2 Instruction SE": 0.4,
16
+ "I3 Instruction": 62.8,
17
+ "I3 Instruction SE": 1.9,
18
+ "Average": 58.7,
19
+ "Average SE": 1.1
20
+ }
21
+ },
22
+ {
23
+ "Method": "ToolLLaMA v2 (CoT)",
24
+ "Scores": {
25
+ "I1 Instruction": 37.2,
26
+ "I1 Instruction SE": 0.1,
27
+ "I1 Category": 42.3,
28
+ "I1 Category SE": 0.4,
29
+ "I1 Tool": 43.0,
30
+ "I1 Tool SE": 0.5,
31
+ "I2 Category": 37.4,
32
+ "I2 Category SE": 0.4,
33
+ "I2 Instruction": 33.6,
34
+ "I2 Instruction SE": 1.2,
35
+ "I3 Instruction": 39.6,
36
+ "I3 Instruction SE": 1.0,
37
+ "Average": 38.9,
38
+ "Average SE": 0.6
39
+ }
40
+ },
41
+ {
42
+ "Method": "GPT-4-Turbo-Preview (DFS)",
43
+ "Scores": {
44
+ "I1 Instruction": 70.8,
45
+ "I1 Instruction SE": 1.0,
46
+ "I1 Category": 71.1,
47
+ "I1 Category SE": 0.7,
48
+ "I1 Tool": 70.4,
49
+ "I1 Tool SE": 1.2,
50
+ "I2 Category": 70.4,
51
+ "I2 Category SE": 1.3,
52
+ "I2 Instruction": 71.7,
53
+ "I2 Instruction SE": 0.4,
54
+ "I3 Instruction": 84.7,
55
+ "I3 Instruction SE": 1.7,
56
+ "Average": 73.2,
57
+ "Average SE": 1.1
58
+ }
59
+ },
60
+ {
61
+ "Method": "GPT-4-Turbo-Preview (CoT)",
62
+ "Scores": {
63
+ "I1 Instruction": 63.1,
64
+ "I1 Instruction SE": 1.0,
65
+ "I1 Category": 64.5,
66
+ "I1 Category SE": 0.5,
67
+ "I1 Tool": 55.3,
68
+ "I1 Tool SE": 0.3,
69
+ "I2 Category": 63.0,
70
+ "I2 Category SE": 0.8,
71
+ "I2 Instruction": 57.3,
72
+ "I2 Instruction SE": 0.8,
73
+ "I3 Instruction": 61.7,
74
+ "I3 Instruction SE": 0.8,
75
+ "Average": 60.8,
76
+ "Average SE": 0.7
77
+ }
78
+ },
79
+ {
80
+ "Method": "GPT-4-0613 (DFS)",
81
+ "Scores": {
82
+ "I1 Instruction": 65.5,
83
+ "I1 Instruction SE": 1.1,
84
+ "I1 Category": 62.0,
85
+ "I1 Category SE": 1.7,
86
+ "I1 Tool": 72.1,
87
+ "I1 Tool SE": 1.6,
88
+ "I2 Category": 70.8,
89
+ "I2 Category SE": 1.3,
90
+ "I2 Instruction": 73.1,
91
+ "I2 Instruction SE": 1.4,
92
+ "I3 Instruction": 74.9,
93
+ "I3 Instruction SE": 1.5,
94
+ "Average": 69.7,
95
+ "Average SE": 1.4
96
+ }
97
+ },
98
+ {
99
+ "Method": "GPT-4-0613 (CoT)",
100
+ "Scores": {
101
+ "I1 Instruction": 50.7,
102
+ "I1 Instruction SE": 0.4,
103
+ "I1 Category": 57.1,
104
+ "I1 Category SE": 0.3,
105
+ "I1 Tool": 51.9,
106
+ "I1 Tool SE": 0.3,
107
+ "I2 Category": 55.0,
108
+ "I2 Category SE": 1.1,
109
+ "I2 Instruction": 61.6,
110
+ "I2 Instruction SE": 0.8,
111
+ "I3 Instruction": 56.3,
112
+ "I3 Instruction SE": 0.8,
113
+ "Average": 55.4,
114
+ "Average SE": 0.6
115
+ }
116
+ },
117
+ {
118
+ "Method": "GPT-3.5-Turbo-1106 (DFS)",
119
+ "Scores": {
120
+ "I1 Instruction": 67.8,
121
+ "I1 Instruction SE": 0.9,
122
+ "I1 Category": 67.2,
123
+ "I1 Category SE": 0.3,
124
+ "I1 Tool": 72.9,
125
+ "I1 Tool SE": 0.7,
126
+ "I2 Category": 63.2,
127
+ "I2 Category SE": 1.0,
128
+ "I2 Instruction": 70.9,
129
+ "I2 Instruction SE": 0.4,
130
+ "I3 Instruction": 77.6,
131
+ "I3 Instruction SE": 0.8,
132
+ "Average": 69.9,
133
+ "Average SE": 0.7
134
+ }
135
+ },
136
+ {
137
+ "Method": "GPT-3.5-Turbo-1106 (CoT)",
138
+ "Scores": {
139
+ "I1 Instruction": 51.3,
140
+ "I1 Instruction SE": 0.6,
141
+ "I1 Category": 48.8,
142
+ "I1 Category SE": 0.3,
143
+ "I1 Tool": 59.9,
144
+ "I1 Tool SE": 0.8,
145
+ "I2 Category": 50.8,
146
+ "I2 Category SE": 0.7,
147
+ "I2 Instruction": 43.2,
148
+ "I2 Instruction SE": 0.8,
149
+ "I3 Instruction": 58.5,
150
+ "I3 Instruction SE": 0.8,
151
+ "Average": 52.1,
152
+ "Average SE": 0.7
153
+ }
154
+ },
155
+ {
156
+ "Method": "GPT-3.5-Turbo-0613 (DFS)",
157
+ "Scores": {
158
+ "I1 Instruction": 66.4,
159
+ "I1 Instruction SE": 1.5,
160
+ "I1 Category": 64.3,
161
+ "I1 Category SE": 1.0,
162
+ "I1 Tool": 67.2,
163
+ "I1 Tool SE": 2.4,
164
+ "I2 Category": 67.7,
165
+ "I2 Category SE": 0.8,
166
+ "I2 Instruction": 61.5,
167
+ "I2 Instruction SE": 1.0,
168
+ "I3 Instruction": 81.4,
169
+ "I3 Instruction SE": 1.5,
170
+ "Average": 68.1,
171
+ "Average SE": 1.4
172
+ }
173
+ },
174
+ {
175
+ "Method": "GPT-3.5-Turbo-0613 (CoT)",
176
+ "Scores": {
177
+ "I1 Instruction": 55.9,
178
+ "I1 Instruction SE": 1.0,
179
+ "I1 Category": 50.8,
180
+ "I1 Category SE": 0.8,
181
+ "I1 Tool": 55.9,
182
+ "I1 Tool SE": 1.0,
183
+ "I2 Category": 44.1,
184
+ "I2 Category SE": 0.8,
185
+ "I2 Instruction": 36.2,
186
+ "I2 Instruction SE": 0.4,
187
+ "I3 Instruction": 51.4,
188
+ "I3 Instruction SE": 1.5,
189
+ "Average": 49.1,
190
+ "Average SE": 1.0
191
+ }
192
+ },
193
+ {
194
+ "Method": "Method Name 1",
195
+ "Scores": {
196
+ "I1 Instruction": 85.5,
197
+ "I1 Instruction SE": 1.2,
198
+ "I1 Category": 80.0,
199
+ "I1 Category SE": 1.0,
200
+ "I1 Tool": 88.5,
201
+ "I1 Tool SE": 0.8,
202
+ "I2 Category": 82.5,
203
+ "I2 Category SE": 1.3,
204
+ "I2 Instruction": 86.0,
205
+ "I2 Instruction SE": 0.5,
206
+ "I3 Instruction": 90.0,
207
+ "I3 Instruction SE": 0.7,
208
+ "Average": 87.5,
209
+ "Average SE": 1.1
210
+ }
211
+ },
212
+ {
213
+ "Method": "Method Name 2",
214
+ "Scores": {
215
+ "I1 Instruction": 75.3,
216
+ "I1 Instruction SE": 2.1,
217
+ "I1 Category": 70.2,
218
+ "I1 Category SE": 1.5,
219
+ "I1 Tool": 78.4,
220
+ "I1 Tool SE": 1.3,
221
+ "I2 Category": 72.9,
222
+ "I2 Category SE": 1.4,
223
+ "I2 Instruction": 80.1,
224
+ "I2 Instruction SE": 0.9,
225
+ "I3 Instruction": 85.0,
226
+ "I3 Instruction SE": 1.0,
227
+ "Average": 77.2,
228
+ "Average SE": 1.2
229
+ }
230
+ }
231
+ ],
232
+ "SolvableWinRateScores": [
233
+ {
234
+ "Method": "GPT-3.5-Turbo-0613 (DFS)",
235
+ "Scores": {
236
+ "I1 Instruction": 57.7,
237
+ "I1 Category": 60.8,
238
+ "I1 Tool": 61.4,
239
+ "I2 Category": 66.1,
240
+ "I2 Instruction": 63.2,
241
+ "I3 Instruction": 70.5,
242
+ "Average": 63.3
243
+ }
244
+ },
245
+ {
246
+ "Method": "GPT-4-0613 (CoT)",
247
+ "Scores": {
248
+ "I1 Instruction": 50.3,
249
+ "I1 Category": 54.2,
250
+ "I1 Tool": 50.6,
251
+ "I2 Category": 50.0,
252
+ "I2 Instruction": 64.2,
253
+ "I3 Instruction": 55.7,
254
+ "Average": 54.2
255
+ }
256
+ },
257
+ {
258
+ "Method": "GPT-4-0613 (DFS)",
259
+ "Scores": {
260
+ "I1 Instruction": 57.1,
261
+ "I1 Category": 60.1,
262
+ "I1 Tool": 57.0,
263
+ "I2 Category": 64.5,
264
+ "I2 Instruction": 74.5,
265
+ "I3 Instruction": 72.1,
266
+ "Average": 64.2
267
+ }
268
+ },
269
+ {
270
+ "Method": "ToolLLaMA v2 (CoT)",
271
+ "Scores": {
272
+ "I1 Instruction": 35.0,
273
+ "I1 Category": 30.7,
274
+ "I1 Tool": 37.3,
275
+ "I2 Category": 31.5,
276
+ "I2 Instruction": 36.8,
277
+ "I3 Instruction": 23.0,
278
+ "Average": 32.4
279
+ }
280
+ },
281
+ {
282
+ "Method": "ToolLLaMA v2 (DFS)",
283
+ "SCores": {
284
+ "I1 Instruction": 43.6,
285
+ "I1 Category": 45.1,
286
+ "I1 Tool": 38.6,
287
+ "I2 Category": 42.7,
288
+ "I2 Instruction": 53.8,
289
+ "I3 Instruction": 45.9,
290
+ "Average": 44.9
291
+ }
292
+ },
293
+ {
294
+ "Method": "GPT-3.5-Turbo-1106 (CoT)",
295
+ "Scores": {
296
+ "I1 Instruction": 46.6,
297
+ "I1 Category": 45.1,
298
+ "I1 Tool": 48.1,
299
+ "I2 Category": 44.4,
300
+ "I2 Instruction": 37.7,
301
+ "I3 Instruction": 52.5,
302
+ "Average": 45.7
303
+ }
304
+ },
305
+ {
306
+ "Method": "GPT-3.5-Turbo-1106 (DFS)",
307
+ "Scores": {
308
+ "I1 Instruction": 56.4,
309
+ "I1 Category": 54.2,
310
+ "I1 Tool": 51.9,
311
+ "I2 Category": 54.0,
312
+ "I2 Instruction": 62.3,
313
+ "I3 Instruction": 72.1,
314
+ "Average": 58.5
315
+ }
316
+ },
317
+ {
318
+ "Method": "GPT-4-Turbo-Preview (CoT)",
319
+ "Scores": {
320
+ "I1 Instruction": 68.7,
321
+ "I1 Category": 71.9,
322
+ "I1 Tool": 58.2,
323
+ "I2 Category": 71.0,
324
+ "I2 Instruction": 76.4,
325
+ "I3 Instruction": 73.8,
326
+ "Average": 70.0
327
+ }
328
+ },
329
+ {
330
+ "Method": "GPT-4-Turbo-Preview (DFS)",
331
+ "Scores": {
332
+ "I1 Instruction": 66.9,
333
+ "I1 Category": 73.9,
334
+ "I1 Tool": 68.4,
335
+ "I2 Category": 72.6,
336
+ "I2 Instruction": 78.3,
337
+ "I3 Instruction": 77.0,
338
+ "Average": 72.9
339
+ }
340
+ },
341
+ {
342
+ "Method": "Method Name 3",
343
+ "Scores": {
344
+ "I1 Instruction": 65.0,
345
+ "I1 Category": 68.5,
346
+ "I1 Tool": 66.8,
347
+ "I2 Category": 70.0,
348
+ "I2 Instruction": 69.2,
349
+ "I3 Instruction": 71.5,
350
+ "Average": 68.5
351
+ }
352
+ },
353
+ {
354
+ "Method": "Method Name 4",
355
+ "Scores": {
356
+ "I1 Instruction": 85.0,
357
+ "I1 Category": 82.5,
358
+ "I1 Tool": 88.0,
359
+ "I2 Category": 84.0,
360
+ "I2 Instruction": 87.2,
361
+ "I3 Instruction": 90.5,
362
+ "Average": 86.2
363
+ }
364
+ }
365
+ ]
366
+ }