Past as a Guide: Leveraging Retrospective Learning for Python Code Completion
원문 초록
This work presents Past as a Guide (PaG), a simple approach for Large Language Models (LLMs) to improve the coding capabilities by integrating the past history with interactive and iterative code refinements. To be specific, inspired by human cognitive processes, the proposed method enables LLMs to utilize previous programming and debugging experiences to enhance the Python code completion tasks. The framework facilitates LLMs to iteratively refine the Python code based on previous execution and debugging results and optimize learning and reasoning capabilities. The proposed methodology achieved a 92\% pass@1 on HumanEval, demonstrating the potential to advance the field by leveraging retrospection from past experiences and interactive and iterative refinement processes without external correctness indicators.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
Can Language Models Replace Programmers for Coding? REPOCOD Says 'Not Yet'
KV Prediction for Improved Time to First Token
SemCoder: Training Code Language Models with Comprehensive Semantics Reasoning
Investigating the Performance of Language Models for Completing Code in Functional Programming Languages: a Haskell Case Study
Plan for Speed -- Dilated Scheduling for Masked Diffusion Language Models
CodeMixBench: Evaluating Large Language Models on Code Generation with Code-Mixed Prompts
토론
이 논문과 연결된 포럼 글이 아직 없습니다.