Renaissance Labs · Code
Paper · 2023-05

LIMA: Less Is More for Alignment

About 1,000 curated examples can align a model, arguing for quality over quantity in SFT.

How to use it

Basis for small high-quality SFT sets; code transfer is an inference, not shown in the paper.

Caveats

Not a code paper; verify on code 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...