UPDF AI

CodeHalu: Code Hallucinations in LLMs Driven by Execution-based Verification

Yuchen Tian,Weixiang Yan,4 Autori,Lei Ma

2024 · DOI: 10.48550/arXiv.2405.00253
arXiv.org · 20 citazioni

TLDR

The concept of code hallucinations is introduced and a classification method for code hallucination based on execution verification based on execution verification is proposed, which is proposed to address the unique challenges faced by LLMs in code generation with finer granularity.