Renaissance Labs · Code
Paper · 2023-12

Magicoder: OSS-Instruct

Seeds an LLM with real open-source snippets to generate 75K diverse, realistic instruction pairs; 7B models beat larger ones at release.

How to use it

Use OSS-Instruct style seeding for synthetic SFT data; combine with Evol-Instruct.

Caveats

Teacher was an OpenAI model, so terms-of-use apply. Dec 2023; evaluated on HumanEval/MBPP-era benchmarks.

Related

  • Alignment Handbook: Hugging Face recipes for SFT and preference...
  • Code Alpaca 20K: Self-Instruct-style code instruction set that started the open code-instruction line; seed of...
  • Code-Feedback (OpenCodeInterpreter): Multi-turn code data with execution feedback and human-feedback-style follow-ups for iterative refinement...
  • CodeContests (DeepMind): Competitive problems from Codeforces, CodeChef, AtCoder and others with generated tests and correct/incorrect...
  • CodeFeedback-Filtered-Instruction: 287K queries from Magicoder-OSS, Python ShareGPT, Magicoder-Evol and Evol-Instruct, filtered to complexity...
  • CommitPack: Raw commit corpus (code before/after plus message) from which CommitPackFT was...