/selfcodealign

[NeurIPS'24] SelfCodeAlign: Self-Alignment for Code Generation

Primary LanguagePythonApache License 2.0Apache-2.0

SelfCodeAlign: Self-Alignment for Code Generation

Paper

🧐 About | ⭐️ StarCoder2-Instruct | 📝 Citation

Note

The documentation is still WIP. We are working on it and will update it soon.

About

SelfCodeAlign is the first fully open and transparent pipeline that enhances a code language model without relying on human annotations or distilled data from large, proprietary models. This approach led to the creation of StarCoder2-Instruct, a fully transparent, permissively licensed, self-aligned code model that achieves state-of-the-art performance in coding tasks.

Authors: Yuxiang Wei, Federico Cassano, Jiawei Liu, Yifeng Ding, Naman Jain, Zachary Mueller, Harm de Vries, Leandro von Werra, Arjun Guha, Lingming Zhang.

self-alignment pipeline

StarCoder2-Instruct

Banner

StarCoder2-Instruct is created with an earlier version of SelfCodeAlign. It is the very first entirely self-aligned code Large Language Model (LLM) trained with a fully permissive and transparent pipeline. Our open-source pipeline uses StarCoder2-15B to generate thousands of instruction-response pairs, which are then used to fine-tune StarCoder-15B itself without any human annotations or distilled data from huge and proprietary LLMs.

For more details, check README-SC2INST.md.

Citation

@article{wei2024selfcodealign,
  title={SelfCodeAlign: Self-Alignment for Code Generation}, 
  author={Yuxiang Wei and Federico Cassano and Jiawei Liu and Yifeng Ding and Naman Jain and Zachary Mueller and Harm de Vries and Leandro von Werra and Arjun Guha and Lingming Zhang},
  year={2024},
  journal={arXiv preprint arXiv:2410.24198}
}