-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
3172 lines (3061 loc) · 123 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
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
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
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
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html>
<head>
<title>OpenCodeInterpreter</title>
<style>
.hidden {
display: none;
}
</style>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<script src="https://kit.fontawesome.com/f8ddf9854a.js" crossorigin="anonymous"></script>
<meta charset="utf-8">
<meta name="description"
content="OpenCodeInterpreter: Integrating Code Generation with Execution and Refinement">
<meta name="keywords" content="OpenCodeInterpreter, Code Generation, Large Language Model, artificial intelligence, AI, AGI, artificial general intelligence">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title> OpenCodeInterpreter: Integrating Code Generation with Execution and Refinement</title>
<link rel="icon" href="./static/images/icon.png">
<link href="https://fonts.googleapis.com/css?family=Google+Sans|Noto+Sans|Castoro" rel="stylesheet">
<link rel="stylesheet" href="./static/css/bulma.min.css">
<link rel="stylesheet" href="./static/css/bulma-carousel.min.css">
<link rel="stylesheet" href="./static/css/bulma-slider.min.css">
<link rel="stylesheet" href="./static/css/fontawesome.all.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/jpswalsh/academicons@1/css/academicons.min.css">
<link rel="stylesheet" href="./static/css/index.css">
<link rel="stylesheet" href="./static/css/leaderboard.css">
<script type="text/javascript" src="static/js/sort-table.js" defer></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script defer src="./static/js/fontawesome.all.min.js"></script>
<script src="./static/js/bulma-carousel.min.js"></script>
<script src="./static/js/bulma-slider.min.js"></script>
<script src="./static/js/index.js"></script>
<script src="./static/js/question_card.js"></script>
<script src="./data/results/data_setting.js" defer></script>
<script src="./data/results/model_scores.js" defer></script>
<script src="./visualizer/data/data_public.js" defer></script>
</head>
<body>
<nav class="navbar" role="navigation" aria-label="main navigation">
<div class="navbar-brand">
<a role="button" class="navbar-burger" aria-label="menu" aria-expanded="false">
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
</a>
</div>
<div class="navbar-menu">
<div class="navbar-start" style="flex-grow: 1; justify-content: center;">
<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link">
More Research
</a>
<div class="navbar-dropdown">
<a class="navbar-item" href="https://mmmu-benchmark.github.io/">
<b>MMMU</b> <p style="font-size:18px; display: inline; margin-left: 5px;">🔥</p>
</a>
<a class="navbar-item" href="https://tiger-ai-lab.github.io/MAmmoTH/">
<b>MAmmoTH</b> <p style="font-size:18px; display: inline; margin-left: 5px;">🔥</p>
</a>
<a class="navbar-item" href="https://osu-nlp-group.github.io/TableLlama/">
TableLlama
<a class="navbar-item" href="https://osu-nlp-group.github.io/MagicBrush/">
MagicBrush
</a>
<a class="navbar-item" href="https://osu-nlp-group.github.io/Mind2Web/">
Mind2Web
</a>
</a>
</a>
</div>
</div>
</div>
</div>
</nav>
<section class="hero">
<div class="hero-body">
<div class="container is-max-desktop">
<div class="columns is-centered">
<div class="column has-text-centered">
<h1 class="title is-1 publication-title is-bold">
<img src="static/images/icon.png" style="width:1em;vertical-align: middle" alt="Logo"/>
<span class="opencodeinterpreter" style="vertical-align: middle">OpenCodeInterpreter</span>
</h1>
<h2 class="subtitle is-3 publication-subtitle">
Integrating Code Generation with Execution and Refinement
</h2>
<div class="is-size-5 publication-authors">
<span class="author-block">Tianyu Zheng*<sup style="color:#6fbf73;">1</sup>,
<span class="author-block">Ge Zhang*<sup style="color:#6fbf73;">1</sup><sup>,</sup><sup style="color: #ffac33;">2</sup>,</span>
<span class="author-block">Tianhao Shen*<sup style="color:#6fbf73;">1</sup>,</span>
<span class="author-block">Xueling Liu*<sup style="color:#6fbf73;">1</sup>,</span><br>
<span class="author-block">
<a href="https://yuchenlin.xyz/" style="text-decoration: none; color: inherit;">Bill Yuchen Lin<sup style="color:#ed4b82;">3</sup></a>,
</span>
<span class="author-block">
<a href="https://bigaidream.github.io/" style="text-decoration: none; color: inherit;">Jie Fu</sup><sup style="color: #6fbf73;">1</sup><sup>,</sup><sup style="color: #007bff;">4</sup></a>,
</span>
<span class="author-block">
<a href="https://wenhuchen.github.io/" style="text-decoration: none; color: inherit;">Wenhu Chen</sup><sup style="color: #6fbf73;">1</sup><sup>,</sup><sup style="color:#ffac33;">2</sup></a>,
</span>
<span class="author-block">
<a href="https://xiangyue9607.github.io/" style="text-decoration: none; color: inherit;">Xiang Yue*<sup>†</sup><sup>,</sup><sup style="color: #6fbf73;">1</sup><sup>,</sup><sup style="color: #ff0000;">5</sup></a>,
</span>
</div>
<br>
<div class="is-size-5 publication-authors">
<span class="author-block"><sup style="color:#6fbf73;">1</sup>Multimodal Art Projection Research Community,</span>
<span class="author-block"><sup style="color:#ffac33;">2</sup>University of Waterloo,</span>
<span class="author-block"><sup style="color:#ed4b82;">3</sup>Allen Institute for Artificial Intelligence,</span>
<span class="author-block"><sup style="color:#007bff;">4</sup>HKUST,</span>
<span class="author-block"><sup style="color:#ff0000;">5</sup>IN.AI Research</span>
</div>
<br>
<div class="is-size-5 publication-authors">
<span class="author-block">*Core Contributors</span><br>
<span class="author-block">†Corresponding to:</span>
<span class="author-block"><a href="mailto:[email protected]">[email protected]</a>,</span>
<span class="author-block"><a href="mailto:[email protected]">[email protected]</a>,</span>
<span class="author-block"><a href="mailto:[email protected]">[email protected]</a>,</span>
</div>
<!-- <div class="column has-text-centered" style="overflow-x: auto;"> -->
<div class="column has-text-centered">
<div class="publication-links">
<!-- PDF Link. -->
<span class="link-block">
<!-- @PAN TODO: change links -->
<a href="https://arxiv.org/abs/2402.14658"
class="external-link button is-normal is-rounded is-dark">
<span class="icon">
<i class="fas fa-file-pdf"></i>
</span>
<span>arXiv</span>
</a>
</span>
<span class="link-block">
<a href="https://huggingface.co/papers/2402.14658"
class="external-link button is-normal is-rounded is-dark">
<span class="icon">
<p style="font-size:18px">🤗</p>
</span>
<span>HF Paper</span>
</a>
</span>
<span class="link-block">
<a href="https://huggingface.co/datasets/m-a-p/Code-Feedback/"
class="external-link button is-normal is-rounded is-dark">
<span class="icon">
<p style="font-size:18px">🤗</p>
</span>
<span>Datasets</span>
</a>
</span>
<span class="link-block">
<a href="https://huggingface.co/collections/m-a-p/opencodeinterpreter-65d312f6f88da990a64da456"
class="external-link button is-normal is-rounded is-dark">
<span class="icon">
<!-- <i class="far fa-images"></i> -->
<p style="font-size:18px">🤗</p>
<!-- 🔗 -->
</span>
<span>Models</span>
</a>
</span>
<span class="link-block">
<a href="https://github.com/OpenCodeInterpreter/OpenCodeInterpreter"
class="external-link button is-normal is-rounded is-dark">
<span class="icon">
<i class="fab fa-github"></i>
</span>
<span>Code</span>
</a>
</span>
<!-- Dataset Link. -->
<span class="link-block">
<a href="https://huggingface.co/spaces/m-a-p/OpenCodeInterpreter_demo"
class="external-link button is-normal is-rounded is-dark">
<span class="icon">
<!-- <i class="far fa-images"></i> -->
<p style="font-size:18px">🚀</p>
<!-- 🔗 -->
</span>
<span>Demo</span>
</a>
</span>
<!-- Twitter Link. -->
<span class="link-block">
<a href="https://twitter.com/GeZhang86038849/status/1760848526592901426"
class="external-link button is-normal is-rounded is-dark">
<span class="icon has-text-white">
<i class="fa-brands fa-x-twitter"></i>
<!-- <p style="font-size:18px">🌐</p> -->
</span>
<span>Twitter</span>
</a>
</span>
</div>
<!-- Second Line -->
<div class="links-row">
<!-- Leaderboard Link. -->
<span class="link-block">
<a href="https://huggingface.co/spaces/bigcode/bigcode-models-leaderboard"
class="external-link button is-normal is-rounded is-dark">
<span class="icon">
<!-- <i class="far fa-images"></i> -->
<p style="font-size:18px">🏆</p>
<!-- 🔗 -->
</span>
<span>BigCode Leaderboard</span>
</a>
</span>
<span class="link-block">
<a href="https://evalplus.github.io/leaderboard.html"
class="external-link button is-normal is-rounded is-dark">
<span class="icon">
<!-- <i class="far fa-images"></i> -->
<p style="font-size:18px">🏆</p>
<!-- 🔗 -->
</span>
<span>EvalPlus Leaderboard</span>
</a>
</span>
<span class="link-block">
<a href="#mainresults"
class="external-link button is-normal is-rounded is-dark">
<span class="icon has-text-white">
<i class="fa-solid fa-trophy"></i>
<!-- <p style="font-size:18px">🏆</p> -->
</span>
<span>Main Results</span>
</a>
</span>
<!-- EvalAI Link. -->
<span class="link-block">
<a href="#example"
class="external-link button is-normal is-rounded is-dark">
<span class="icon has-text-white">
<i class="fa-solid fa-book"></i>
</span>
<span>Example</span>
</a>
</span>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<style>
.center {
display: block;
margin-left: auto;
margin-right: auto;
width: 80%;
}
</style>
<section class="hero teaser">
<div class="container is-max-desktop">
<div class="content has-text-centered">
<img src="static/images/figure1.png" alt="geometric reasoning" width="100%"/>
<p> Overview of the OpenCodeInterpreter and its pass@1 accuracy on the HumanEval. With appropriate feedback, OpenCodeInterpreter-DS-33B achieves performance comparable to that of the GPT-4 Code Interpreter. </p>
</div>
<!-- </div> -->
</div>
</div>
</section>
<section class="section">
<div class="container" style="margin-bottom: 2vh;">
<!-- Abstract. -->
<div class="columns is-centered has-text-centered">
<div class="column is-four-fifths">
<h2 class="title is-3">🔔News</h2>
<div class="content has-text-justified">
<p>
<b>🏆[2024-03-13]: Our 33B model has claimed the top spot on the <a href="https://huggingface.co/spaces/bigcode/bigcode-models-leaderboard">BigCode leaderboard</a>!</b>
</p>
<p>
<b>💡[2024-03-01]: We have open-sourced OpenCodeInterpreter-SC2 series Model (based on StarCoder2 base)!</b>
</p>
<p>
<b>🛠️[2024-02-29]: Our official online demo is deployed on HuggingFace Spaces! Take a look at <a href="https://huggingface.co/spaces/m-a-p/OpenCodeInterpreter_demo">Demo Page</a>!</b>
</p>
<p>
<b>🛠️[2024-02-28]: We have open-sourced the <a href="https://github.com/OpenCodeInterpreter/OpenCodeInterpreter/tree/main/demo">Demo Local Deployment Code</a> with a Setup Guide.</b>
</p>
<p>
<b>✨[2024-02-26]: We have open-sourced the <a href="https://huggingface.co/m-a-p/OpenCodeInterpreter-DS-1.3B">OpenCodeInterpreter-DS-1.3b</a> Model.</b>
</p>
<p>
<b>📘[2024-02-26]: We have open-sourced the <a href="https://huggingface.co/datasets/m-a-p/CodeFeedback-Filtered-Instruction">CodeFeedback-Filtered-Instruction</a> Dataset.</b>
</p>
<p>
<b>🚀[2024-02-23]: We have open-sourced the datasets used in our project named <a href="https://huggingface.co/datasets/m-a-p/Code-Feedback">Code-Feedback</a>.</b>
</p>
<p>
<b>🔥[2024-02-19]: We have open-sourced all models in the <a href="https://huggingface.co/collections/m-a-p/opencodeinterpreter-65d312f6f88da990a64da456">OpenCodeInterpreter series</a> ! We welcome everyone to try out our models and look forward to your participation! 😆</b>
</p>
</div>
<h2 class="title is-3">Introduction</h2>
<div class="content has-text-justified">
<p>
The introduction of large language models has significantly advanced code generation. However, open-source models often lack the execution capabilities and iterative refinement of advanced systems like the GPT-4 Code Interpreter. To address this, we introduce OpenCodeInterpreter, a family of open-source code systems designed for generating, executing, and iteratively refining code. Supported by Code-Feedback, a dataset featuring 68K multi-turn interactions, OpenCodeInterpreter integrates execution and human feedback for dynamic code refinement. Our comprehensive evaluation of OpenCodeInterpreter across key benchmarks such as HumanEval, MBPP, and their enhanced versions from EvalPlus reveals its exceptional performance. Notably, OpenCodeInterpreter-33B achieves an accuracy of 83.2 (76.4) on the average (and plus versions) of HumanEval and MBPP, closely rivaling GPT-4's 84.2 (76.2) and further elevates to 91.6 (84.6) with synthesized human feedback from GPT-4. OpenCodeInterpreter brings the gap between open-source code generation models and proprietary systems like GPT-4 Code Interpreter.
</p>
</div>
</div>
</div>
<!--/ Abstract. -->
</div>
</section>
<!-- DATASET SECTION -->
<section class="hero is-light is-small">
<div class="hero-body has-text-centered">
<h1 class="title is-1 mmmu">
<img src="static/images/icon.png" style="width:1em;vertical-align: middle" alt="Logo"/>
<span class="mmmu" style="vertical-align: middle">OpenCodeInterpreter</span>
</h1>
</div>
</section>
<section class="section">
<div class="container">
<div class="columns is-centered has-text-centered">
<!-- <div class="column is-full-width has-text-centered"> -->
<div class="column is-four-fifths">
<h2 class="title is-3">Overview</h2>
<div class="content has-text-justified">
<p>
Code generation has long been a cornerstone challenge in computer science, evolving significantly over the years from its initial reliance on symbolic methods to the recent revolutionary impact of large language models (LLMs). These LLMs, pre-trained on vast code corpora, have dramatically advanced the field by generating code that closely aligns with user intents, thereby offering substantial support for software development. As these models continue to evolve, they have become integral tools in automating and enhancing the coding process, exemplified by innovations such as GitHub Copilot.
</p>
<p>
To further enhance the capabilities of pre-trained code models, instruction-tuning methods have been introduced. Among these, OpenCodeInterpreter stands out as a pioneering approach, leveraging a unique dataset named Code-Feedback. This dataset comprises 68K multi-turn interactions that include both user instructions and compiler feedback, enabling the model to not only generate but also refine code based on execution outputs and human guidance. Such advancements allow OpenCodeInterpreter to produce solutions that are not only technically sound but also closely aligned with user expectations, setting a new standard in code generation.
</p>
<p>
OpenCodeInterpreter's innovative integration of execution and human feedback marks a significant leap forward in the domain. By harnessing compiler diagnostics to correct errors and incorporating human insights for code refinement, OpenCodeInterpreter achieves an unparalleled balance of accuracy and user alignment. Its performance on widely recognized benchmarks, including HumanEval and MBPP, demonstrates its superior ability to iteratively refine code, achieving results that narrow the performance gap with proprietary systems like GPT-4's Code Interpreter. OpenCodeInterpreter thus heralds a new era in code generation, offering open-source systems that rival the sophistication and efficacy of their proprietary counterparts.
</p>
</div>
</div>
</div>
<div class="columns is-centered has-text-centered">
<!-- <div class="column is-full-width has-text-centered"> -->
<div class="column is-four-fifths">
<h2 class="title is-3">Code-Feedback</h2>
<div class="content has-text-justified">
<p>
In the development of Code-Feedback, we meticulously crafted our dataset, known as Code-Feedback, to train the OpenCodeInterpreter, with a focus on specific criteria that ensure the dataset's effectiveness and relevance to real-world coding challenges. Code-Feedback is distinguished by its inclusion of diverse and challenging queries derived from actual coding tasks. This diversity is crucial, as it ensures that the dataset covers a broad spectrum of problems, providing both variety and complexity. Moreover, the dataset adopts a multi-turn dialogue structure, enhancing its utility by incorporating execution feedback, such as outputs and diagnostics from compilers, alongside human feedback, which includes additional guidance or instructions from users. This structure is pivotal in simulating real-world coding scenarios where iterative feedback and adjustments are common.
</p>
<p>
The creation of Code-Feedback involved a comprehensive approach, employing five distinct methods to gather and curate data. This multifaceted approach was designed to fulfill the dataset's three key criteria: the incorporation of diverse real-world queries, a structured multi-turn dialogue format, and the interleaving of text and code responses to offer a comprehensive solution to coding queries. The sources of our queries were twofold, comprising a variety of open-source datasets and coding challenges from platforms like LeetCode. This combination ensures a rich and varied dataset that accurately reflects the nature of coding tasks encountered by developers. In subsequent sections, we delve into the specific methods employed in constructing the dataset, illustrating our commitment to creating a robust and effective tool for coding instruction and feedback.
</p>
<div class="content has-text-centered">
<img src="static/images/figure3.jpg" alt="algebraic reasoning" class="center">
<p> Summary of our proposed dataset OpenCodeInterpreter construction and comparison with existing code instruction tuning datasets. M.T: Multi Turn, E.F: Execute Feedback, H.F: Human Feedback.</p>
</div>
</div>
</div>
</div>
<!-- <div class="columns is-centered m-6">
<div class="column is-max-desktop has-text-centered">
<h2 class="title is-3" id="visualization">Visualization</h2>
<iframe src="visualizer/explore.html" style="width: 100%;min-height: 100vh; border-radius: 20px;"></iframe>
</div>
</div> -->
</div>
</section>
<!-- RESULTS SECTION -->
<section class="hero is-light is-small">
<div class="hero-body has-text-centered">
<h1 class="title is-1 mmmu" id="mainresults">Main Results</h1>
</div>
</section>
<section class="section">
<div class="container">
<!-------------------------------------------------------------------- RESULTS SECTION -------------------------------------------------------------------->
<div class="columns is-centered m-6">
<div class="column is-full has-text-centered content">
<!-- <h2 class="title is-3" id="leaderboard"></h2> -->
<div class="content">
<div class="content has-text-justified">
<p>
This section outlines the experimental framework for evaluating the performance of OpenCodeInterpreter and its comparison with leading models in both single-turn and multi-turn code generation settings. The study leverages data from the EvalPlus leaderboard, examining OpenCodeInterpreter's performance against benchmarks such as GPT-3.5/4-Turbo, CodeLlama-Python, WizardCoder, Deepseek-Coder, and CodeT5+ across various scales on the HumanEval and MBPP benchmarks and their advanced versions. For multi-turn code generation, the focus shifts to assessing OpenCodeInterpreter's capability in iterative refinement through a two-round limit, considering execution feedback and human feedback scenarios. The experimental setup aims to highlight OpenCodeInterpreter's adaptability and proficiency in code generation, underscored by its achievements in setting new standards in software development tools through iterative feedback and refinement.
</p>
</div>
<!-- <button id="toggleButton" onclick="changeButtonText()"><b style='font-size: larger;'>Validation Set Leaderboard</b> (Click to Switch)</button> -->
<b style='font-size: larger;'>
Pass rate of different code models on HumanEval (+), MBPP (+) and their average (+).
</b>
<div class="content has-text-justified">
<p style="text-align: center;">`CL': based on CodeLlama; `DS': based on DeepseekCoder.
Baseline results are copied from the EvalPlus Leaderboard or replicated by running the official checkpoints.
</p>
</div>
<div class="model-labels-container">
<span class="leaderboard-label" style="background-color: #ffffcc;">Strong Baselines</span>
<span class="leaderboard-label" style="background-color: #a0c4ff;">Our Methods</span>
</div>
<div style="overflow-x: auto;">
<table id="table1" class="js-sort-table" style="min-width: 100%;">
<thead>
<tr>
<th style="text-align: center; vertical-align: middle;" rowspan="2">Model</th>
<th style="text-align: center; vertical-align: middle;" rowspan="2">Size</th>
<th style="text-align: center; vertical-align: middle;" rowspan="2">Type</th>
<th colspan="2">Open-source</th>
<th style="text-align: center; vertical-align: middle;" rowspan="2">HumanEval (+)</th>
<th style="text-align: center; vertical-align: middle;" rowspan="2">MBPP (+)</th>
<th style="text-align: center; vertical-align: middle;" rowspan="2">Average (+)</th>
</tr>
<tr>
<th>Model</th>
<th>Data</th>
</tr>
</thead>
<tbody>
<tr style="background-color: #ffffcc;">
<td style="text-align: left;">GPT-4 Turbo</td>
<td style="text-align: center; vertical-align: middle;" rowspan="2">-</td>
<td style="text-align: center; vertical-align: middle;" rowspan="2">-</td>
<td style="text-align: center; vertical-align: middle;" rowspan="2">○</td>
<td style="text-align: center; vertical-align: middle;" rowspan="2">○</td>
<td>85.4 (81.7)</td>
<td>83.0 (70.7)</td>
<td>84.2 (76.2)</td>
</tr>
<tr style="background-color: #ffffcc;">
<td style="text-align: left;">
+ Execution Feedback
</td>
<td><strong>88.0 (84.2)</strong></td>
<td><strong>92.0 (78.2)</strong></td>
<td><strong>90.0 (81.2)</strong></td>
</tr>
<tr style="background-color: #ffffcc;">
<td style="text-align: left;">GPT-3.5 Turbo</td>
<td style="text-align: center; vertical-align: middle;" rowspan="2">-</td>
<td style="text-align: center; vertical-align: middle;" rowspan="2">-</td>
<td style="text-align: center; vertical-align: middle;" rowspan="2">○</td>
<td style="text-align: center; vertical-align: middle;" rowspan="2">○</td>
<td>72.6 (65.9)</td>
<td>81.7 (69.4)</td>
<td>77.2 (67.7)</td>
</tr>
<tr style="background-color: #ffffcc;">
<td style="text-align: left;"> + Execution Feedback</td>
<td>76.8 (70.7)</td>
<td>87.0 (73.9)</td>
<td>81.9 (72.3)</td>
</tr>
<tr style="height: 20px" class="dashed-border">
<td class="s0" dir="ltr" style="text-align: left;">
Gemini Pro
</td>
<td class="s0" dir="ltr">
-
</td>
<td class="s0" dir="ltr">
-
</td>
<td class="s1" dir="ltr">
○
</td>
<td class="s1" dir="ltr">
○
</td>
<td class="s1" dir="ltr">
63.4 (55.5)
</td>
<td class="s1" dir="ltr">
72.9 (57.9)
</td>
<td class="s1" dir="ltr">
68.2 (56.7)
</td>
</tr>
<tr style="height: 20px">
<td class="s1" style="text-align: center;" colspan="8" dir="ltr">
~7B Scale
</td>
</tr>
<tr style="height: 20px">
<td style="text-align: left;" class="s0" dir="ltr">
StarCoder
</td>
<td class="s0" dir="ltr">
7B
</td>
<td class="s0" dir="ltr">
Base
</td>
<td class="s1" dir="ltr">
●
</td>
<td class="s1" dir="ltr">
●
</td>
<td class="s1" dir="ltr">
24.4 (20.7)
</td>
<td class="s1" dir="ltr">
33.1 (28.8)
</td>
<td class="s1" dir="ltr">
28.8 (24.8)
</td>
</tr>
<tr style="height: 20px">
<td class="s0" dir="ltr" style="text-align: left;">
CodeT5+
</td>
<td class="s0" dir="ltr">
6B
</td>
<td class="s0" dir="ltr">
Base
</td>
<td class="s1" dir="ltr">
●
</td>
<td class="s1" dir="ltr">
●
</td>
<td class="s1" dir="ltr">
29.3 (23.8)
</td>
<td class="s1" dir="ltr">
51.9 (40.9)
</td>
<td class="s1" dir="ltr">
40.6 (32.4)
</td>
</tr>
<tr style="height: 20px">
<td class="s0" dir="ltr" style="text-align: left;">
CodeGen-Mono
</td>
<td class="s0" dir="ltr">
6B
</td>
<td class="s0" dir="ltr">
Base
</td>
<td class="s1" dir="ltr">
●
</td>
<td class="s1" dir="ltr">
●
</td>
<td class="s1" dir="ltr">
29.3 (25.6)
</td>
<td class="s1" dir="ltr">
49.9 (42.1)
</td>
<td class="s1" dir="ltr">
39.6 (33.9)
</td>
</tr>
<tr style="height: 20px">
<td class="s0" dir="ltr" style="text-align: left;">
Mistral
</td>
<td class="s0" dir="ltr">
7B
</td>
<td class="s0" dir="ltr">
Base
</td>
<td class="s1" dir="ltr">
●
</td>
<td class="s1" dir="ltr">
○
</td>
<td class="s1" dir="ltr">
28.7 (23.2)
</td>
<td class="s1" dir="ltr">
50.1 (40.9)
</td>
<td class="s1" dir="ltr">
39.4 (32.1)
</td>
</tr>
<tr style="height: 20px">
<td class="s0" dir="ltr" style="text-align: left;">
OpenChat
</td>
<td class="s0" dir="ltr">
7B
</td>
<td class="s0" dir="ltr">
Instruct
</td>
<td class="s1" dir="ltr">
●
</td>
<td class="s1" dir="ltr">
●
</td>
<td class="s1" dir="ltr">
72.0 (67.1)
</td>
<td class="s1" dir="ltr">
62.7 (52.9)
</td>
<td class="s1" dir="ltr">
67.4 (60.0)
</td>
</tr>
<tr style="height: 20px;" class="dashed-border">
<td class="s0" dir="ltr" style="text-align: left;">
CodeLlama-Python
</td>
<td class="s0" dir="ltr">
7B
</td>
<td class="s0" dir="ltr">
Base
</td>
<td class="s1" dir="ltr">
●
</td>
<td class="s1" dir="ltr">
○
</td>
<td class="s1" dir="ltr">
37.8 (34.1)
</td>
<td class="s1" dir="ltr">
57.6 (45.4)
</td>
<td class="s1" dir="ltr">
47.7 (39.8)
</td>
</tr>
<tr style="height: 20px;">
<td class="s0" dir="ltr" style="text-align: left;">
WizardCoder-CL
</td>
<td class="s0" dir="ltr">
7B
</td>
<td class="s0" dir="ltr">
Instruct
</td>
<td class="s1" dir="ltr">
○
</td>
<td class="s1" dir="ltr">
○
</td>
<td class="s1" dir="ltr">
48.2 (40.9)
</td>
<td class="s1" dir="ltr">
56.6 (47.1)
</td>
<td class="s1" dir="ltr">
52.4 (44.0)
</td>
</tr>
<tr style="height: 20px">
<td class="s0" dir="ltr" style="text-align: left;">
Magicoder-CL
</td>
<td class="s0" dir="ltr">
7B
</td>
<td class="s0" dir="ltr">
Instruct
</td>
<td class="s1" dir="ltr">
●
</td>
<td class="s1" dir="ltr">
●
</td>
<td class="s1" dir="ltr">
60.4 (55.5)
</td>
<td class="s1" dir="ltr">
64.2 (52.6)
</td>
<td class="s1" dir="ltr">
62.3 (54.1)
</td>
</tr>
<tr style="height: 20px">
<td class="s0" dir="ltr" style="text-align: left;">
Magicoders-S-CL
</td>
<td class="s0" dir="ltr">
7B
</td>
<td class="s0" dir="ltr">
Instruct
</td>
<td class="s1" dir="ltr">
●
</td>
<td class="s1" dir="ltr">
●
</td>
<td class="s1" dir="ltr">
70.7 (66.5)
</td>
<td class="s2" dir="ltr">
68.4 (56.6)
</td>
<td class="s1" dir="ltr">
69.6 (61.6)
</td>
</tr>
<tr style="height: 20px; background-color: #a0c4ff">
<td class="s3" dir="ltr" style="text-align: left;">
<strong>OpenCodeInterpreter-CL</strong>
</td>
<td class="s3" dir="ltr" style="text-align: center; vertical-align: middle;" rowspan="2">
7B
</td>
<td class="s3" dir="ltr" style="text-align: center; vertical-align: middle;" rowspan="2">
Instruct
</td>
<td class="s2" dir="ltr" style="text-align: center; vertical-align: middle;" rowspan="2">
●
</td>
<td class="s2" dir="ltr" style="text-align: center; vertical-align: middle;" rowspan="2">
●
</td>
<td class="s2" dir="ltr">
72.6 (67.7)
</td>
<td class="s1" dir="ltr">
66.4 (55.4)
</td>
<td class="s2" dir="ltr">
69.5 (61.6)
</td>
</tr>
<tr style="height: 20px; background-color: #a0c4ff">
<td class="s3" dir="ltr" style="text-align: left;">
+ Execution Feedback
</td>
<td class="s2" dir="ltr">
75.6 (70.1)
</td>
<td class="s2" dir="ltr">
69.9 (60.7)
</td>
<td class="s2" dir="ltr">
72.8 (65.4)
</td>
</tr>
<tr style="height: 20px" class="dashed-border">
<td class="s0" dir="ltr" style="text-align: left;">
DeepseekCoder
</td>
<td class="s0" dir="ltr">
6.7B
</td>
<td class="s0" dir="ltr">
Base
</td>
<td class="s1" dir="ltr">
●
</td>
<td class="s1" dir="ltr">
○
</td>
<td class="s1" dir="ltr">
47.6 (39.6)
</td>
<td class="s1" dir="ltr">
70.2 (56.6)
</td>
<td class="s1" dir="ltr">
58.9 (48.1)
</td>
</tr>
<tr style="height: 20px; background-color: #ffffcc;">
<td class="s0" dir="ltr" style="text-align: left;">
DeepseekCoder-Instruct
</td>
<td class="s0" dir="ltr" style="text-align: center; vertical-align: middle;" rowspan="2">
6.7B
</td>
<td class="s0" dir="ltr" style="text-align: center; vertical-align: middle;" rowspan="2">
Instruct
</td>
<td class="s1" dir="ltr" style="text-align: center; vertical-align: middle;" rowspan="2">
●
</td>
<td class="s1" dir="ltr" style="text-align: center; vertical-align: middle;" rowspan="2">
○
</td>
<td class="s1" dir="ltr">
73.8 (70.1)
</td>
<td class="s1" dir="ltr">
73.2 (63.4)
</td>
<td class="s1" dir="ltr">
73.5 (66.8)
</td>
</tr>
<tr style="height: 20px; background-color: #ffffcc">
<td class="s3" dir="ltr" style="text-align: left;">
+ Execution Feedback
</td>
<td class="s2" dir="ltr">
80.5 (75.6)
</td>
<td class="s2" dir="ltr">
79.9 (70.4)
</td>
<td class="s2" dir="ltr">
80.2 (73.0)
</td>
</tr>
<tr style="height: 20px">
<td class="s0" dir="ltr" style="text-align: left;">
Magicoder-DS
</td>
<td class="s0" dir="ltr">
6.7B
</td>
<td class="s0" dir="ltr">
Instruct
</td>
<td class="s1" dir="ltr">
●
</td>
<td class="s1" dir="ltr">
●
</td>
<td class="s1" dir="ltr">
66.5 (60.4)
</td>
<td class="s1" dir="ltr">
75.4 (61.9)
</td>
<td class="s1" dir="ltr">
71.0 (61.2)
</td>
</tr>
<tr style="height: 20px; background-color: #ffffcc" >
<td class="s0" dir="ltr" style="text-align: left;">
Magicoder-S-DS
</td>
<td class="s0" dir="ltr" style="text-align: center; vertical-align: middle;" rowspan="2">
6.7B
</td>
<td class="s0" dir="ltr" style="text-align: center; vertical-align: middle;" rowspan="2">
Instruct
</td>
<td class="s1" dir="ltr" style="text-align: center; vertical-align: middle;" rowspan="2">
●
</td>
<td class="s1" dir="ltr" style="text-align: center; vertical-align: middle;" rowspan="2">
●
</td>
<td class="s1" dir="ltr">
<span style="font-weight:bold;">
76.8
</span>
(70.7)
</td>
<td class="s2" dir="ltr">
75.7 (64.4)
</td>
<td class="s1" dir="ltr">
76.3 (67.6)
</td>
</tr>
<tr style="height: 20px; background-color: #ffffcc">
<td class="s3" dir="ltr" style="text-align: left;">
+ Execution Feedback
</td>
<td class="s2" dir="ltr">
77.4 (72.0)
</td>
<td class="s2" dir="ltr">
73.2 (62.4)
</td>
<td class="s2" dir="ltr">
75.3 (67.2)
</td>
</tr>
<tr style="height: 20px; background-color: #a0c4ff">
<td class="s3" dir="ltr" style="text-align: left;">
<strong>OpenCodeInterpreter-DS</strong>
</td>
<td class="s3" dir="ltr" style="text-align: center; vertical-align: middle;" rowspan="4">
6.7B
</td>
<td class="s3" dir="ltr" style="text-align: center; vertical-align: middle;" rowspan="4">
Instruct
</td>
<td class="s2" dir="ltr" style="text-align: center; vertical-align: middle;" rowspan="4">
●
</td>
<td class="s2" dir="ltr" style="text-align: center; vertical-align: middle;" rowspan="4">
●
</td>
<td class="s2" dir="ltr">
<span style="font-weight:normal;">
76.2
</span>
(72.0)
</td>
<td class="s1" dir="ltr">
73.9 (63.7)
</td>
<td class="s2" dir="ltr">
75.1 (67.9)
</td>
</tr>
<tr style="height: 20px; background-color: #a0c4ff">
<td class="s3 softmerge" dir="ltr" style="text-align: left;">
+ Execution Feedback
</td>
<td class="s2" dir="ltr">
81.1 (78.7)
</td>
<td class="s2" dir="ltr">
82.7 (72.4)
</td>
<td class="s2" dir="ltr">
81.9 (75.6)
</td>
</tr>
<tr style="height: 20px; background-color: #a0c4ff">
<td class="s3 softmerge" dir="ltr" style="text-align: left;">
+ Synth. Human Feedback
</td>
<td class="s2" dir="ltr">
87.2 (<strong>86.6</strong>)
</td>
<td class="s2" dir="ltr">
86.2 (74.2)
</td>
<td class="s2" dir="ltr">
86.7 (80.4)
</td>
</tr>
<tr style="height: 20px; background-color: #a0c4ff">
<td class="s3 softmerge" dir="ltr" style="text-align: left;">
+ Synth. Human Feedback (Oracle)
</td>
<td class="s2" dir="ltr">
<strong>89.7</strong> (<strong>86.6</strong>)
</td>
<td class="s2" dir="ltr">
<strong>87.2</strong> (<strong>75.2</strong>)
</td>
<td class="s2" dir="ltr">
<strong>88.5</strong> (<strong>80.9</strong>)