Overview

OpenAI 发布的 164 道 Python 编程任务,每题包含函数签名、文档字符串、函数体与单元测试,评估模型的代码生成能力(pass@1)。

Metrics

MetricUnitDirection
pass@1pass@1↑ Higher is better

Sources

Model Score Ranking

#ModelVendorScore
1Claude 3.5 Sonnetanthropic92
2Mistral Large 2mistral92
3Gemini 2.0 Flashgoogle90.7
4Gemini 1.5 Pro 002google90.3
5GPT-4oopenai90.2
6o1 Previewopenai90.1
7Hermes 3 Llama 3.1 405Bother89
8Llama 3.1 405Bmeta89
9DeepSeek Coder V2deepseek88.9
10Grok-2xai88.4
11Phi-1other88.1
12Gemini 2.0 Flash Thinkinggoogle87.2
13Llama 3.3 70Bmeta87
14Qwen2.5 72Balibaba86.6
15Codestral Mambamistral86.2
16Claude 3.5 Sonnet (2024-10-22)anthropic86.1
17o1openai85.3
18GPT-4o (2024-08-06)openai85.1
19Grok-2 Visionxai84.2
20GPT-4 1106 Previewopenai83.7
21Claude 3 Opusanthropic83.3
22GPT-4o (2024-05-13)openai83.2
23DeepSeek V3deepseek82.6
24StarCoder2 3Bother82.1
25Gemini 1.0 Ultragoogle81.7
26Sonar Reasoningother81.1
27GPT-4 Turboopenai80.5
28Sonar Largeother80.4
29GPT-4 0125 Previewopenai80.3
30Claude 3 Sonnet (2024-02-29)anthropic80.1
31Llama 3.1 Nemotron 70Bmeta79.8
32Microsoft WizardCoder Python 34Bother79.8
33Claude 3 Opus (2024-02-29)anthropic79.7
34Gemini 1.5 Flash-8B 002google79.7
35Llama 3.1 70Bmeta79.7
36Mixtral 8x7Bmistral79
37Nous Hermes 2 Mixtral 8x7Bother78.7
38GPT-4o miniopenai78
39Mistral Mediummistral78
40o1 miniopenai78
41Grok-2 Minixai77.9
42Microsoft WizardLM 2 8x22Bother77.9
43Qwen1.5 32Balibaba77.9
44GPT-4openai77.6
45StableCode 3Bother77
46GPT-4 32Kopenai76.8
47Qwen1.5 110Balibaba76.5
48Qwen2 72Balibaba76.5
49Code Llama 7Bmeta76.4
50Gemini 1.0 Progoogle76.4
51StableLM 2 12Bother76.4
52Code Bisongoogle76.2
53Yi Visionother76.1
54DeepSeek Coder 7Bdeepseek75.9
55Jamba 1.5other75.9
56Command Rcohere75.8
57GPT-4 Visionopenai75.8
58Hermes 3 Llama 3.1 70Bother75.8
59Sonar Hugeother75.8
60DeepSeek V2deepseek75.7
61Command R+ (08-2024)cohere75
62Claude 3 Haiku (2024-03-07)anthropic74.8
63Command Nightlycohere74.7
64Zephyr ORPO 141B Alphaother74.7
65StarCoder2 7Bother74.6
66Claude 3 Sonnetanthropic74.5
67Yi 1.5 34Bother74.5
68Mistral Small 3mistral74.4
69Orca 2 13Bother74.3
70Mistral Smallmistral74
71Claude 3.5 Haikuanthropic73.8
72Jamba 1.5 Largeother73.7
73Command R (08-2024)cohere73.6
74StarCoder2 15Bother73.5
75Mistral Largemistral73.4
76Nous Hermes 2 Yi 34Bother73.2
77Llama 3.2 90B Visionmeta73.1
78Llama 3 70Bmeta73
79DBRX Instructother72.8
80Sonar Smallother72.8
81GLM-4 Plusother72.7
82Gemma 2 27Bgoogle72.4
83Yi Large Turboother72.4
84Yi Largeother72.2
85DBRX Baseother72.1
86Qwen2.5 14Balibaba72
87Gemini 1.5 Progoogle71.9
88DeepSeek Coder 33Bdeepseek71.8
89Code Llama 34Bmeta71.7
90Command R+cohere70.7
91Gemini 1.5 Flash-8Bgoogle70.7
92GPT-4 Vision Previewopenai70.6
93WizardLM Team WizardLM 2 8x22Bother70.2
94Code Llama 13Bmeta69.5
95Phi-3.5 MoEother69.5
96Claude 3 Haikuanthropic69.4
97Mistral Nemomistral69.4
98Codestralmistral69.2
99StarChat2 15B v0.1other69
100Falcon 180Bother68.9
101Mistral 7B v0.3mistral68.8
102Microsoft WizardLM 2 7Bother68.6
103DeepSeek LLM 67Bdeepseek68.3
104GLM-4 Airother68.3
105Phi-3 Smallother68.3
106Qwen2.5 32Balibaba68
107GLM-4 Flashother67.6
108Qwen2 57Balibaba67.6
109Gemini 1.5 Flashgoogle67.5
110Hermes 3 Llama 3.1 8Bother67.1
111DeepSeek V2 Chatdeepseek67
112Jamba 1.5 Miniother67
113OLMo 1.7 7Bother67
114Qwen2 7Balibaba67
115Qwen2.5 7Balibaba66.5
116NVIDIA Llama 3.1 Nemotron 70Bother66.4
117Gemini 1.5 Flash 002google66.2
118GLM-4V 9Bother66
119Jamba Instructother66
120Qwen1.5 14Balibaba65.8
121Gemini 1.0 Flashgoogle65.7
122Code Llama 70Bmeta65.6
123Qwen1.5 72Balibaba65.2
124Llama 3 8Bmeta65
125Llemma 7Bother64.2
126Llama 3.1 8Bmeta63.4
127Ministral 8Bmistral63.3
128Yi 1.5 6Bother63.1
129GLM-4 9B Chatother62.9
130Phi-4other62.8
131OLMo 7Bother62.2
132OpenChat 3.6 8Bother61.5
133Microsoft WizardMath 7B v1other61.1
134Gemma 7Bgoogle61
135Gemma 2 9Bgoogle60.9
136Mistral 7B v0.2mistral59.7
137Nous Hermes 2 Solar 10.7Bother59.2
138Yi 1.5 9Bother57.3
139Mistral 7B v0.1mistral56.4
140DeepSeek Math 7Bdeepseek54
141OLMo 7B SFTother53.9
142Phi-3 Mediumother53.9
143OLMo 2 1124 7Bother53.2
144GPT-3.5 Turboopenai51.3
145Command Lightcohere51.2
146ChatGLM3 6Bother51
147Jurassic-2 Ultraother50.9
148Llama 2 70Bmeta50.6
149OLMo 7B Instructother50.5
150Command R7Bcohere50.1
151Llama 3.2 11B Visionmeta50.1
152Nous Capybara 34Bother50.1
153Mathstral 7Bmistral49.9
154MPT 30Bother49.7
155Baichuan2 13B Chatother49.6
156Baichuan2 7B Chatother49.2
157Qwen2.5 3Balibaba49
158Open-Platypusother48.2
159Phi-3 Visionother48.2
160Qwen2 1.5Balibaba47.2
161StableLM Zephyr 3Bother47.1
162Flan-UL2other46.8
163Mistral Tinymistral45.8
164Mixtral 8x22Bmistral45.2
165Text Bisongoogle45.1
166PaLM 2google44.8
167Grok Vision Betaxai44
168Phi-3.5 Miniother44
169Gemma 2Bgoogle43.2
170Llama 2 7Bmeta42.6
171Llama 3.2 3Bmeta42.5
172Yi 6Bother42.3
173OpenChat 3.5 1210other41.9
174Llama 2 13Bmeta40.7
175Falcon 40Bother39.7
176Jurassic-2 Midother39.7
177Phi-2other39.7
178Phi-1.5other39.2
179Nous Capybara 7Bother38.8
180Zephyr 7B Betaother38.4
181MPT 7Bother38.1
182StableLM 2 1.6Bother37.3
183Ministral 3Bmistral37.2
184Argilla Notus 7B v1other36.8
185GPT-3.5 Turbo 16Kopenai36.8
186Chat Bisongoogle36
187TigerBot 70B Chatother36
188Zephyr 7B Alphaother35.9
189Yi 34Bother35.8
190Flan-T5 XXLother35.4
191Qwen2.5 1.5Balibaba35.2
192Flan-T5 XLother34
193StableLM 3 4Bother32.6
194Claude 2anthropic31.7
195Grok Betaxai31
196Qwen2.5 0.5Balibaba31
197Capybara 1.5Bother30.1
198Llama 3.2 1Bmeta29.9
199Claude Instant 1anthropic28.5
200GPT-3.5openai28.2
201Claude 2.1anthropic28.1
202Llama Guard 3 8Bmeta28
203Phi-3 Miniother26.9
204Llama Guard 2 8Bmeta26.6
205Embed English v3cohere0

HumanEval

Beschrijving

OpenAI 发布的 164 道 Python 编程任务,每题包含函数签名、文档字符串、函数体与单元测试,评估模型的代码生成能力(pass@1)。

Kernspecificaties

CategorieLicentieLaatst bijgewerkt
codingMIT2022-01-01

Benchmark

Eenheid
pass@1

Bronnen

Officiële URL