mlsanityData to 7 Oct 2026

AlchemistCoder: Harmonizing and Eliciting Code Capability by Hindsight Tuning on Multi-source Data

arXiv 2405.19265 ↗First posted 29 May 2024cs.CLcited by 6

Not on the map. Why?

Abstract (arXiv)

Open-source Large Language Models (LLMs) and their specialized variants, particularly Code LLMs, have recently delivered impressive performance. However, previous Code LLMs are typically fine-tuned on single-source data with limited quality and diversity, which may insufficiently elicit the potential of pre-trained Code LLMs. In this paper, we present AlchemistCoder, a series of Code LLMs with enhanced code generation and generalization capabilities fine-tuned on multi-source data. To achieve this, we pioneer to unveil inherent conflicts among the various styles and qualities in multi-source code corpora and introduce data-specific prompts with hindsight relabeling, termed AlchemistPrompts, to harmonize different data sources and instruction-response pairs. Additionally, we propose incorporating the data construction process into the fine-tuning data as code comprehension tasks, including instruction evolution, data filtering, and code review. Extensive experiments demonstrate that AlchemistCoder holds a clear lead among all models of the same size (6.7B/7B) and rivals or even surpasses larger models (15B/33B/70B), showcasing the efficacy of our method in refining instruction-following capabilities and advancing the boundaries of code intelligence.

Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 37 of its 47 references that are in the map. First posted on arXiv 29 May 2024.

Builds on

37 of 47 references.

References · 37

  1. 2023GPT-4 Technical Reportcited by 18,132
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  3. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  4. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  5. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  6. 2021Program Synthesis with Large Language Modelscited by 3,509
  7. 2018UMAP: Uniform Manifold Approximation and Projection for Dimension Reductioncited by 2,841
  8. 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,674
  9. 2023Code Llama: Open Foundation Models for Codecited by 2,105
  10. 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,767
  11. 2022Competition-Level Code Generation with AlphaCodecited by 1,427
  12. 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
25 more
  1. 2022Code as Policies: Language Model Programs for Embodied Controlcited by 1,172
  2. 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,154
  3. 2023WizardLM: Empowering large pre-trained language models to follow complex instructionscited by 1,116
  4. 2017Hindsight Experience Replaycited by 1,096
  5. 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,057
  6. 2023Teaching Large Language Models to Self-Debugcited by 963
  7. 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 876
  8. 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 728
  9. 2022Red Teaming Language Models to Reduce Harms: Methods, Scaling Behaviors, and Lessons Learnedcited by 702
  10. 2023An Empirical Study of Catastrophic Forgetting in Large Language Models During Continual Fine-tuningcited by 622
  11. 2023Textbooks Are All You Needcited by 561
  12. 2022DS-1000: A Natural and Reliable Benchmark for Data Science Code Generationcited by 442
  13. 2023How Far Can Camels Go? Exploring the State of Instruction Tuning on Open Resourcescited by 405
  14. 2024InternLM2 Technical Reportcited by 391
  15. 2022The Stack: 3 TB of permissively licensed source codecited by 354
  16. 2023OpenChat: Advancing Open-source Language Models with Mixed-Quality Datacited by 250
  17. 2023Pretraining Language Models with Human Preferencescited by 245
  18. 2023Camels in a Changing Climate: Enhancing LM Adaptation with Tulu 2cited by 227
  19. 2023How Abilities in Large Language Models are Affected by Supervised Fine-tuning Data Compositioncited by 222
  20. 2023Chain of Hindsight Aligns Language Models with Feedbackcited by 147
  21. 2023Understanding Catastrophic Forgetting in Language Models via Implicit Inferencecited by 138
  22. 2024If LLM Is the Wizard, Then Code Is the Wand: A Survey on How Code Empowers Large Language Models to Serve as Intelligent Agentscited by 77
  23. 2023The Wisdom of Hindsight Makes Language Models Better Instruction Followerscited by 59
  24. 2024Code Needs Comments: Enhancing Code LLMs with Comment Augmentationcited by 16
  25. 2023SemiReward: A General Reward Model for Semi-supervised Learningcited by 14

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 4; 2026: 1.

6 papers.