task_categories:question-answering task_categories:text2text-generation task_categories:text-generation size_categories:1K<n<10K code region:us
---
dataset_info:
  features:
  - name: id
    dtype: string
  - name: description
    dtype: string
  - name: code
    dtype: string
  - name: test_samples
    sequence:
    - name: input
      dtype: string
    - name: output
      dtype: string
  - name: source
    dtype:
      class_label:
        names:
          '0': UNKNOWN_SOURCE
          '1': CODECHEF
          '2': CODEFORCES
          '3': HACKEREARTH
          '4': CODEJAM
          '5': ATCODER
          '6': AIZU
  - name: prompt
    dtype: string
  splits:
  - name: train
    num_bytes: 624564538
    num_examples: 8139
  - name: valid
    num_bytes: 32348022
    num_examples: 95
  - name: test
    num_bytes: 20764786
    num_examples: 122
  download_size: 192319894
  dataset_size: 677677346
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
  - split: valid
    path: data/valid-*
  - split: test
    path: data/test-*
task_categories:
- question-answering
- text2text-generation
- text-generation
tags:
- code
size_categories:
- 1K<n<10K
---
# Dataset Card for Code Contest Processed

## Dataset Summary
This dataset contains coding contest questions and their solution written in Python3.
This dataset is created by processing [code_contest dataset from Deepmind](https://huggingface.co/datasets/deepmind/code_contests). It is a competitive programming dataset for machine-learning. Read more about dataset at [original source](https://huggingface.co/datasets/deepmind/code_contests).

## Columns Description
- `id` : unique string associated with a problem
- `description` : problem description
- `code` : one correct code for the problem
- `test_samples` : contains inputs and their corresponding outputs for the problem
- `source` : source of problem
- `prompt` : alpaca style generated prompt for text generation