--- license: mit pretty_name: HumanEvalPack language_creators: - expert-generated multilinguality: - multilingual language: - code tags: - code dataset_info: - config_name: cpp features: - name: task_id dtype: string - name: prompt dtype: string - name: declaration dtype: string - name: canonical_solution dtype: string - name: buggy_solution dtype: string - name: bug_type dtype: string - name: failure_symptoms dtype: string - name: entry_point dtype: string - name: import dtype: string - name: test_setup dtype: string - name: test dtype: string - name: example_test dtype: string - name: signature dtype: string - name: docstring dtype: string - name: instruction dtype: string splits: - name: test num_bytes: 469111 num_examples: 164 download_size: 193981 dataset_size: 469111 - config_name: go features: - name: task_id dtype: string - name: prompt dtype: string - name: declaration dtype: string - name: canonical_solution dtype: string - name: buggy_solution dtype: string - name: bug_type dtype: string - name: failure_symptoms dtype: string - name: entry_point dtype: string - name: import dtype: string - name: test_setup dtype: string - name: test dtype: string - name: example_test dtype: string - name: signature dtype: string - name: docstring dtype: string - name: instruction dtype: string splits: - name: test num_bytes: 463234 num_examples: 164 download_size: 198394 dataset_size: 463234 - config_name: java features: - name: task_id dtype: string - name: prompt dtype: string - name: declaration dtype: string - name: canonical_solution dtype: string - name: buggy_solution dtype: string - name: bug_type dtype: string - name: failure_symptoms dtype: string - name: entry_point dtype: string - name: import dtype: string - name: test_setup dtype: string - name: test dtype: string - name: example_test dtype: string - name: signature dtype: string - name: docstring dtype: string - name: instruction dtype: string splits: - name: test num_bytes: 589440 num_examples: 164 download_size: 210440 dataset_size: 589440 - config_name: js features: - name: task_id dtype: string - name: prompt dtype: string - name: declaration dtype: string - name: canonical_solution dtype: string - name: buggy_solution dtype: string - name: bug_type dtype: string - name: failure_symptoms dtype: string - name: entry_point dtype: string - name: import dtype: string - name: test_setup dtype: string - name: test dtype: string - name: example_test dtype: string - name: signature dtype: string - name: docstring dtype: string - name: instruction dtype: string splits: - name: test num_bytes: 435189 num_examples: 164 download_size: 194044 dataset_size: 435189 - config_name: python features: - name: task_id dtype: string - name: prompt dtype: string - name: declaration dtype: string - name: canonical_solution dtype: string - name: buggy_solution dtype: string - name: bug_type dtype: string - name: failure_symptoms dtype: string - name: entry_point dtype: string - name: import dtype: string - name: test_setup dtype: string - name: test dtype: string - name: example_test dtype: string - name: signature dtype: string - name: docstring dtype: string - name: instruction dtype: string splits: - name: test num_bytes: 423013 num_examples: 164 download_size: 191279 dataset_size: 423013 - config_name: rust features: - name: task_id dtype: string - name: prompt dtype: string - name: declaration dtype: string - name: canonical_solution dtype: string - name: buggy_solution dtype: string - name: bug_type dtype: string - name: failure_symptoms dtype: string - name: entry_point dtype: string - name: import dtype: string - name: test_setup dtype: string - name: test dtype: string - name: example_test dtype: string - name: signature dtype: string - name: docstring dtype: string - name: instruction dtype: string splits: - name: test num_bytes: 450539 num_examples: 164 download_size: 168464 dataset_size: 450539 configs: - config_name: cpp data_files: - split: test path: cpp/test-* - config_name: go data_files: - split: test path: go/test-* - config_name: java data_files: - split: test path: java/test-* - config_name: js data_files: - split: test path: js/test-* - config_name: python data_files: - split: test path: python/test-* default: true - config_name: rust data_files: - split: test path: rust/test-* ---  # Dataset Card for HumanEvalPack ## Table of Contents - [Table of Contents](#table-of-contents) - [Dataset Description](#dataset-description) - [Dataset Summary](#dataset-summary) - [Languages](#languages) - [Dataset Structure](#dataset-structure) - [Data Instances](#data-instances) - [Data Fields](#data-fields) - [Data Splits](#data-splits) - [Dataset Creation](#dataset-creation) - [Curation Rationale](#curation-rationale) - [Source Data](#source-data) - [Annotations](#annotations) - [Additional Information](#additional-information) - [Licensing Information](#licensing-information) - [Citation Information](#citation-information) - [Contributions](#contributions) ## Dataset Description - **Repository:** https://github.com/bigcode-project/octopack - **Paper:** [OctoPack: Instruction Tuning Code Large Language Models](https://arxiv.org/abs/2308.07124) - **Point of Contact:** [Niklas Muennighoff](mailto:n.muennighoff@gmail.com) ### Dataset Summary > HumanEvalPack is an extension of OpenAI's HumanEval to cover 6 total languages across 3 tasks. The Python split is exactly the same as OpenAI's Python HumanEval. The other splits are translated by humans (similar to HumanEval-X but with additional cleaning, see [here](https://github.com/bigcode-project/octopack/tree/main/evaluation/create/humaneval-x#modifications-muennighoff)). Refer to the [OctoPack paper](https://arxiv.org/abs/2308.07124) for more details. > - **Languages:** Python, JavaScript, Java, Go, C++, Rust - **OctoPack🐙🎒:**
| Data | CommitPack | 4TB of GitHub commits across 350 programming languages | 
|---|---|---|
| CommitPackFT | Filtered version of CommitPack for high-quality commit messages that resemble instructions | |
| Model | OctoCoder | StarCoder (16B parameters) instruction tuned on CommitPackFT + OASST | 
| OctoGeeX | CodeGeeX2 (6B parameters) instruction tuned on CommitPackFT + OASST | |
| Evaluation | HumanEvalPack | Extension of OpenAI's HumanEval to cover 3 scenarios across 6 languages |