Indian Flag
Government Of India
A-
A
A+
PythonSaga

PythonSaga

PythonSaga: Redefining the Benchmark to Evaluate Code Generating LLM

About Dataset

Driven by the surge in code generation using large language models (LLMs), numerous benchmarks have emerged to evaluate these LLMs' capabilities. We conducted a large-scale human evaluation of HumanEval and MBPP, two popular benchmarks for Python code generation, analyzing their diversity and difficulty. Our findings unveil a critical bias towards a limited set of programming concepts, neglecting most of the other concepts entirely. Furthermore, we uncover a worrying prevalence of easy tasks that can inflate model performance estimations. To address these limitations, we propose a novel benchmark, PythonSaga, featuring 185 hand-crafted prompts in a balanced representation of 38 programming concepts across diverse difficulty levels. The robustness of our benchmark is demonstrated by the poor performance of existing Code-LLMs. The code and dataset are openly available to the NLP community at https://github.com/PythonSaga/PythonSaga.


Citation:

If you use this dataset, please cite the following work:
@inproceedings{yadav-etal-2024-pythonsaga,
    title = "{P}ython{S}aga: Redefining the Benchmark to Evaluate Code Generating {LLM}s",
    author = "Yadav, Ankit  and
      Beniwal, Himanshu  and
      Singh, Mayank",
    editor = "Al-Onaizan, Yaser  and
      Bansal, Mohit  and
      Chen, Yun-Nung",
    booktitle = "Findings of the Association for Computational Linguistics: EMNLP 2024",
    month = nov,
    year = "2024",
    address = "Miami, Florida, USA",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2024.findings-emnlp.996/",
    doi = "10.18653/v1/2024.findings-emnlp.996",
    pages = "17113--17126"
}

Activity Overview Activity Overview

  • Downloads0
  • Downloads 4
  • Views 85
  • File Size 346.61 KB

Tags Tags

  • benchmark dataset
  • Code-LLMs

License Control License Control

Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)

Pythonsaga.json ( 346.61 KB )


To preview this file, you need to be a registered user. Please complete the registration process to gain access and continue viewing the content.

Data Quality Score BetaData Quality Score Beta

Version Control Version Control

FolderVersion 2(346.61 KB)
  • admin·6 month(s) ago
    • application/json
      Pythonsaga.json