CoolFace
Modelpublic

WizardLMTeam/WizardCoder-Python-34B-V1.0

sourceHugging Facellama2updated 3y agoView on Hugging Face
773likes250downloads
README.md119 linesDownload Raw Back to root
1---2license: llama23metrics:4- code_eval5library_name: transformers6tags:7- code8model-index:9- name: WizardCoder-Python-34B-V1.010  results:11  - task:12      type: text-generation13    dataset:14      type: openai_humaneval15      name: HumanEval16    metrics:17    - name: pass@118      type: pass@119      value: 0.73220      verified: false21---22 23## WizardCoder: Empowering Code Large Language Models with Evol-Instruct24 25<p style="font-size:28px;" align="center">26๐Ÿ  <a href="https://wizardlm.github.io/" target="_blank">Home Page</a> </p>27<p align="center">28<p align="center">29๐Ÿค— <a href="https://huggingface.co/WizardLM" target="_blank">HF Repo</a>  โ€ข๐Ÿฑ <a href="https://github.com/nlpxucan/WizardLM" target="_blank">Github Repo</a> โ€ข ๐Ÿฆ <a href="https://twitter.com/WizardLM_AI" target="_blank">Twitter</a> </p>30<p align="center">31 ๐Ÿ“ƒ <a href="https://arxiv.org/abs/2304.12244" target="_blank">[WizardLM]</a>  โ€ข ๐Ÿ“ƒ <a href="https://arxiv.org/abs/2306.08568" target="_blank">[WizardCoder]</a>   โ€ข ๐Ÿ“ƒ <a href="https://arxiv.org/abs/2308.09583" target="_blank">[WizardMath]</a>  <br>32</p>33<p align="center">34    ๐Ÿ‘‹ Join our <a href="https://discord.gg/VZjjHtWrKs" target="_blank">Discord</a>35</p>36 37## News38 39[2024/01/04] ๐Ÿ”ฅ We released **WizardCoder-33B-V1.1**  trained from deepseek-coder-33b-base, the **SOTA OSS Code LLM** on [EvalPlus Leaderboard](https://evalplus.github.io/leaderboard.html), achieves **79.9 pass@1** on HumanEval, **73.2 pass@1** on HumanEval-Plus, **78.9 pass@1** on MBPP, and **66.9 pass@1** on MBPP-Plus.40 41[2024/01/04] ๐Ÿ”ฅ **WizardCoder-33B-V1.1** outperforms **ChatGPT 3.5**, **Gemini Pro**, and **DeepSeek-Coder-33B-instruct** on HumanEval and HumanEval-Plus pass@1.42 43[2024/01/04] ๐Ÿ”ฅ **WizardCoder-33B-V1.1** is comparable with **ChatGPT 3.5**, and surpasses **Gemini Pro** on MBPP and MBPP-Plus pass@1.44 45|  Model  |  Checkpoint  | Paper    | HumanEval  |   HumanEval+ | MBPP | MBPP+ | License |46| ----- |------| ---- |------|-------| ----- |  ----- |----- | 47|  GPT-4-Turbo (Nov 2023)  | - | - | 85.4  | 81.7 | 83.0 | 70.7 |-|48|  GPT-4 (May 2023)  | - | - | 88.4  | 76.8 | - | - |-|49|  GPT-3.5-Turbo (Nov 2023)  | - | - | 72.6  | 65.9 | 81.7 | 69.4 |-|50|  Gemini Pro  | - | - | 63.4  | 55.5 | 72.9 | 57.9 |-|51|  DeepSeek-Coder-33B-instruct | - | - |  78.7 | 72.6 | 78.7 | 66.7 |-|52|  **WizardCoder-33B-V1.1**  |   ๐Ÿค— <a href="https://huggingface.co/WizardLM/WizardCoder-33B-V1.1" target="_blank">HF Link</a>   |  ๐Ÿ“ƒ <a href="https://arxiv.org/abs/2306.08568" target="_blank">[WizardCoder]</a>  |  79.9  | 73.2 | 78.9 | 66.9 |  <a href="https://huggingface.co/WizardLM/WizardMath-7B-V1.1/resolve/main/LICENSE" target="_blank">MSFTResearch</a>  |53|  WizardCoder-Python-34B-V1.0  |   ๐Ÿค— <a href="https://huggingface.co/WizardLM/WizardCoder-Python-34B-V1.0" target="_blank">HF Link</a>   |  ๐Ÿ“ƒ <a href="https://arxiv.org/abs/2306.08568" target="_blank">[WizardCoder]</a>  |  73.2   | 64.6 | 73.2 | 59.9 |  <a href="https://ai.meta.com/resources/models-and-libraries/llama-downloads/" target="_blank">Llama2</a>  |54|  WizardCoder-15B-V1.0  |   ๐Ÿค— <a href="https://huggingface.co/WizardLM/WizardCoder-15B-V1.0" target="_blank">HF Link</a>   |  ๐Ÿ“ƒ <a href="https://arxiv.org/abs/2306.08568" target="_blank">[WizardCoder]</a>  |  59.8   | 52.4 | -- | -- |  <a href="https://huggingface.co/spaces/bigcode/bigcode-model-license-agreement" target="_blank">OpenRAIL-M</a>  |55|  WizardCoder-Python-13B-V1.0  |   ๐Ÿค— <a href="https://huggingface.co/WizardLM/WizardCoder-Python-13B-V1.0" target="_blank">HF Link</a>   |  ๐Ÿ“ƒ <a href="https://arxiv.org/abs/2306.08568" target="_blank">[WizardCoder]</a>  |  64.0   | -- | -- | -- |  <a href="https://ai.meta.com/resources/models-and-libraries/llama-downloads/" target="_blank">Llama2</a>  |56|  WizardCoder-Python-7B-V1.0  |   ๐Ÿค— <a href="https://huggingface.co/WizardLM/WizardCoder-Python-7B-V1.0" target="_blank">HF Link</a>   |  ๐Ÿ“ƒ <a href="https://arxiv.org/abs/2306.08568" target="_blank">[WizardCoder]</a>  |  55.5   | -- | -- | -- |  <a href="https://ai.meta.com/resources/models-and-libraries/llama-downloads/" target="_blank">Llama2</a>  |57|  WizardCoder-3B-V1.0  |   ๐Ÿค— <a href="https://huggingface.co/WizardLM/WizardCoder-3B-V1.0" target="_blank">HF Link</a>   |  ๐Ÿ“ƒ <a href="https://arxiv.org/abs/2306.08568" target="_blank">[WizardCoder]</a>  |  34.8   | -- | -- | -- |  <a href="https://huggingface.co/spaces/bigcode/bigcode-model-license-agreement" target="_blank">OpenRAIL-M</a>  |58|  WizardCoder-1B-V1.0  |   ๐Ÿค— <a href="https://huggingface.co/WizardLM/WizardCoder-1B-V1.0" target="_blank">HF Link</a>   |  ๐Ÿ“ƒ <a href="https://arxiv.org/abs/2306.08568" target="_blank">[WizardCoder]</a>  |  23.8   | -- | -- | -- |  <a href="https://huggingface.co/spaces/bigcode/bigcode-model-license-agreement" target="_blank">OpenRAIL-M</a>  |59 60 61 62-  Our **WizardMath-70B-V1.0** model slightly outperforms some closed-source LLMs on the GSM8K, including **ChatGPT 3.5**, **Claude Instant 1** and **PaLM 2 540B**.63-  Our **WizardMath-70B-V1.0** model achieves  **81.6 pass@1** on the [GSM8k Benchmarks](https://github.com/openai/grade-school-math), which is **24.8** points higher than the SOTA open-source LLM, and achieves  **22.7 pass@1** on the [MATH Benchmarks](https://github.com/hendrycks/math), which is **9.2** points higher than the SOTA open-source LLM.64 65<font size=4>66    67| Model | Checkpoint | Paper  | GSM8k | MATH  |Online Demo| License|68| ----- |------| ---- |------|-------| ----- | ----- |69| WizardMath-70B-V1.0 | ๐Ÿค— <a href="https://huggingface.co/WizardLM/WizardMath-70B-V1.0" target="_blank">HF Link</a> |  ๐Ÿ“ƒ <a href="https://arxiv.org/abs/2308.09583" target="_blank">[WizardMath]</a>| **81.6**  |  **22.7**	|[Demo](http://47.103.63.15:50083/)| <a href="https://ai.meta.com/resources/models-and-libraries/llama-downloads/" target="_blank">Llama 2  </a> |70| WizardMath-13B-V1.0 | ๐Ÿค— <a href="https://huggingface.co/WizardLM/WizardMath-13B-V1.0" target="_blank">HF Link</a> |  ๐Ÿ“ƒ <a href="https://arxiv.org/abs/2308.09583" target="_blank">[WizardMath]</a>| **63.9**  |  **14.0** |[Demo](http://47.103.63.15:50082/)| <a href="https://ai.meta.com/resources/models-and-libraries/llama-downloads/" target="_blank">Llama 2 </a> |71| WizardMath-7B-V1.0 | ๐Ÿค— <a href="https://huggingface.co/WizardLM/WizardMath-7B-V1.0" target="_blank">HF Link</a>  |  ๐Ÿ“ƒ <a href="https://arxiv.org/abs/2308.09583" target="_blank">[WizardMath]</a>| 	 **54.9**  |  **10.7** | [Demo ](http://47.103.63.15:50080/)|  <a href="https://ai.meta.com/resources/models-and-libraries/llama-downloads/" target="_blank">Llama 2  </a>|72</font>73 74 75- [08/09/2023] We released **WizardLM-70B-V1.0** model. Here is [Full Model Weight](https://huggingface.co/WizardLM/WizardLM-70B-V1.0). 76 77<font size=4>78    79   80| <sup>Model</sup> | <sup>Checkpoint</sup> | <sup>Paper</sup> |<sup>MT-Bench</sup> | <sup>AlpacaEval</sup>  | <sup>GSM8k</sup> | <sup>HumanEval</sup>  | <sup>License</sup>|81| ----- |------| ---- |------|-------| ----- | ----- | ----- | 82| <sup>**WizardLM-70B-V1.0**</sup> | <sup>๐Ÿค— <a href="https://huggingface.co/WizardLM/WizardLM-70B-V1.0" target="_blank">HF Link</a> </sup>|<sup>๐Ÿ“ƒ**Coming Soon**</sup>| <sup>**7.78**</sup> | <sup>**92.91%**</sup>	 |<sup>**77.6%**</sup>	 | <sup>   **50.6**</sup>|<sup> <a href="https://ai.meta.com/resources/models-and-libraries/llama-downloads/" target="_blank">Llama 2 License </a></sup> |83| <sup>WizardLM-13B-V1.2</sup> | <sup>๐Ÿค— <a href="https://huggingface.co/WizardLM/WizardLM-13B-V1.2" target="_blank">HF Link</a> </sup>|  | <sup>7.06</sup> | <sup>89.17%</sup>	 |<sup>55.3%</sup>	 | <sup>36.6   </sup>|<sup> <a href="https://ai.meta.com/resources/models-and-libraries/llama-downloads/" target="_blank">Llama 2 License </a></sup> |84| <sup>WizardLM-13B-V1.1</sup> |<sup> ๐Ÿค— <a href="https://huggingface.co/WizardLM/WizardLM-13B-V1.1" target="_blank">HF Link</a> </sup> |  | <sup>6.76</sup>  |<sup>86.32%</sup>	 | 	 | <sup>25.0   </sup>| <sup>Non-commercial</sup>|85| <sup>WizardLM-30B-V1.0</sup> | <sup>๐Ÿค— <a href="https://huggingface.co/WizardLM/WizardLM-30B-V1.0" target="_blank">HF Link</a></sup>  | | <sup>7.01</sup> |                    | |  <sup>37.8  </sup>| <sup>Non-commercial</sup> |86| <sup>WizardLM-13B-V1.0</sup> | <sup>๐Ÿค— <a href="https://huggingface.co/WizardLM/WizardLM-13B-V1.0" target="_blank">HF Link</a> </sup> |  | <sup>6.35</sup> | <sup>75.31%</sup> |  | <sup> 24.0   </sup> | <sup>Non-commercial</sup>|87| <sup>WizardLM-7B-V1.0 </sup>|  <sup>๐Ÿค— <a href="https://huggingface.co/WizardLM/WizardLM-7B-V1.0" target="_blank">HF Link</a> </sup> |<sup> ๐Ÿ“ƒ <a href="https://arxiv.org/abs/2304.12244" target="_blank">[WizardLM]</a> </sup>|  |  |  |<sup>19.1 </sup>|<sup> Non-commercial</sup>|88</font>89 90 91## Comparing WizardCoder-Python-34B-V1.0 with Other LLMs.92 93๐Ÿ”ฅ The following figure shows that our **WizardCoder-Python-34B-V1.0 attains the second position in this benchmark**, surpassing GPT4 (2023/03/15, 73.2 vs. 67.0), ChatGPT-3.5 (73.2 vs. 72.5) and Claude2 (73.2 vs. 71.2).94 95<p align="center" width="100%">96<a ><img src="https://raw.githubusercontent.com/nlpxucan/WizardLM/main/WizardCoder/imgs/compare_sota.png" alt="WizardCoder" style="width: 96%; min-width: 300px; display: block; margin: auto;"></a>97</p>98 99## Prompt Format100```101"Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\n### Instruction:\n{instruction}\n\n### Response:"102```103 104## Inference Demo Script105 106We provide the inference demo code [here](https://github.com/nlpxucan/WizardLM/tree/main/demo).107 108## Citation109 110Please cite the repo if you use the data, method or code in this repo.111 112```113@article{luo2023wizardcoder,114  title={WizardCoder: Empowering Code Large Language Models with Evol-Instruct},115  author={Luo, Ziyang and Xu, Can and Zhao, Pu and Sun, Qingfeng and Geng, Xiubo and Hu, Wenxiang and Tao, Chongyang and Ma, Jing and Lin, Qingwei and Jiang, Daxin},116  journal={arXiv preprint arXiv:2306.08568},117  year={2023}118}119```