Conceptos Básicos
This research paper introduces a novel framework for enhancing code generation using Programming Knowledge Graphs (PKG) and a re-ranking mechanism to improve the accuracy and relevance of generated code.
Estadísticas
The PKG approach improves pass@1 accuracy by up to 20% on HumanEval and MBPP benchmarks.
The method outperforms state-of-the-art models by up to 34% on MBPP.
The PKG consists of 425,058 nodes and 434,518 relations, constructed from the PythonAlpaca dataset.