CoolFace
Modelpublic

microsoft/wavecoder-ultra-6.7b

sourceHugging Facemitupdated 2y agoView on Hugging Face
81likes433downloads
Model Card

<h1 align="center"> ๐ŸŒŠ WaveCoder: Widespread And Versatile Enhanced Code LLM </h1>

<p align="center"> <a href="https://arxiv.org/abs/2312.14187"><b>[๐Ÿ“œ Paper]</b></a> โ€ข <!-- <a href=""><b>[๐Ÿค— HF Models]</b></a> โ€ข --> <a href="https://github.com/microsoft/WaveCoder"><b>[๐Ÿฑ GitHub]</b></a> <br> <a href="https://twitter.com/TeamCodeLLMAI"><b>[๐Ÿฆ Twitter]</b></a> โ€ข <a href="https://www.reddit.com/r/LocalLLaMA/comments/19a1scy/wavecoderultra67bclaimstobethe2ndbestmodel/"><b>[๐Ÿ’ฌ Reddit]</b></a> โ€ข <a href="https://www.analyticsvidhya.com/blog/2024/01/microsofts-wavecoder-and-codeocean-revolutionize-instruction-tuning/">[๐Ÿ€ Unofficial Blog]</a> <!-- <a href="#-quick-start">Quick Start</a> โ€ข --> <!-- <a href="#%EF%B8%8F-citation">Citation</a> --> </p>

<p align="center"> Repo for "<a href="https://arxiv.org/abs/2312.14187" target="_blank">WaveCoder: Widespread And Versatile Enhanced Instruction Tuning with Refined Data Generation</a>" </p>

๐Ÿ”ฅ News

  • โ€”[2024/04/10] ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ WaveCoder repo, models released at ๐Ÿค— HuggingFace!
  • โ€”[2023/12/26] WaveCoder paper released.

๐Ÿ’ก Introduction

WaveCoder ๐ŸŒŠ is a series of large language models (LLMs) for the coding domain, designed to solve relevant problems in the field of code through instruction-following learning. Its training dataset was generated from a subset of code-search-net data using a generator-discriminator framework based on LLMs that we proposed, covering four general code-related tasks: code generation, code summary, code translation, and code repair.

ModelHumanEvalMBPP(500)HumanEval<br>Fix(Avg.)HumanEval<br>Explain(Avg.)
GPT-485.4-47.852.1
๐ŸŒŠ WaveCoder-DS-6.7B65.863.049.540.8
๐ŸŒŠ WaveCoder-Pro-6.7B74.463.452.143.0
๐ŸŒŠ WaveCoder-Ultra-6.7B79.964.652.345.7

๐Ÿช Evaluation

Please refer to WaveCoder's GitHub repo for inference, evaluation, and training code.

python
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("microsoft/wavecoder-ultra-6.7b")
model = AutoModelForCausalLM.from_pretrained("microsoft/wavecoder-ultra-6.7b")

๐Ÿ“– License

This code repository is licensed under the MIT License. The use of DeepSeek Coder models is subject to the its License.

โ˜•๏ธ Citation

If you find this repository helpful, please consider citing our paper:

@article{yu2023wavecoder,
  title={Wavecoder: Widespread and versatile enhanced instruction tuning with refined data generation},
  author={Yu, Zhaojian and Zhang, Xin and Shang, Ning and Huang, Yangyu and Xu, Can and Zhao, Yishujie and Hu, Wenxiang and Yin, Qiufeng},
  journal={arXiv preprint arXiv:2312.14187},
  year={2023}
}

Note

WaveCoder models are trained on the synthetic data generated by OpenAI models. Please pay attention to OpenAI's terms of use when using the models and the datasets.