mlsanityData to 7 Oct 2026

CodingTeachLLM: Empowering LLM's Coding Ability via AST Prior Knowledge

arXiv 2403.15426 ↗First posted 13 Mar 2024cs.LG cs.AI cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

In this paper, we introduce CodingTeachLLM, a large language model (LLM) designed for coding teaching. Specially, we aim to enhance the coding ability of LLM and lead it to better teaching mode in education context. Thus, we propose an end-to-end prior-based three-phases supervised fine-tuned model, which is proved more competitive than traditional fine-tuning method. More specifically, our model realizes the structural disassembly and incremental guided output of educational knowledge. To this end, we robustify data classification of three types via a sampler and overlap estimation neural network, and inject the preprocessing datasets into pre-trained model in three batches for LORA fine-tuning. Then, we design a prior module couples system prompt, vector databases, and abstract syntax tree task segmentation. Finally, the compression method and regularization constraint are applied to the prior-based fine-tuned model, followed by text filter at the output end to obtain incremental guided results. Our model represents the first research effort to truly embody the tutor role with the features of abundant educational knowledge, step-by-step incremental guided outputs and non-disclosure of answers. Extensive experiments report that our model also achieves state-of-the-art in code abilities compared to open-source models, reaching an impressive 75.10% on the HumanEval (@pass 1) benchmark. Additionally, our model maintains strong conversational capabilities, with the 13B quantized version achieving scores of 56.34, 50.60, and 45.27 respectively on the MMLU, C-Eval, and AGIEval (5 shot) dialogue evaluation benchmarks.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 29 of its 44 references that are in the map. First posted on arXiv 13 Mar 2024.

Builds on

29 of 44 references.

References · 29

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2022Training language models to follow instructions with human feedbackcited by 15,712
  5. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  6. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  7. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  8. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  9. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  10. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  11. 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,674
  12. 2023Code Llama: Open Foundation Models for Codecited by 2,105
17 more
  1. 2022LaMDA: Language Models for Dialog Applicationscited by 1,218
  2. 2023LIMA: Less Is More for Alignmentcited by 1,080
  3. 2022GLM-130B: An Open Bilingual Pre-trained Modelcited by 837
  4. 2023StarCoder: may the source be with you!cited by 790
  5. 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 728
  6. 2023AGIEval: A Human-Centric Benchmark for Evaluating Foundation Modelscited by 701
  7. 2023C-Eval: A Multi-Level Multi-Discipline Chinese Evaluation Suite for Foundation Modelscited by 694
  8. 2023Baichuan 2: Open Large-scale Language Modelscited by 664
  9. 2023ChatDoctor: A Medical Chat Model Fine-Tuned on a Large Language Model Meta-AI (LLaMA) Using Medical Domain Knowledgecited by 324
  10. 2023FinGPT: Open-Source Financial Large Language Modelscited by 244
  11. 2023OctoPack: Instruction Tuning Code Large Language Modelscited by 178
  12. 2023Exploring the Impact of Instruction Data Scaling on Large Language Models: An Empirical Study on Real-World Use Casescited by 85
  13. 2023EduChat: A Large-Scale Language Model-based Chatbot System for Intelligent Educationcited by 80
  14. 2022PanGu-Coder: Program Synthesis with Function-Level Language Modelingcited by 47
  15. 2023Chinese Open Instruction Generalist: A Preliminary Releasecited by 35
  16. 2023MFTCoder: Boosting Code LLMs with Multitask Fine-Tuningcited by 34
  17. 2023The BEA 2023 Shared Task on Generating AI Teacher Responses in Educational Dialoguescited by 27

Built on by

Not cited yet.