language:en license:mit size_categories:10K<n<100K format:parquet modality:text library:datasets library:dask library:mlcroissant library:polars region:us
---
language:
- en
license: mit
dataset_info:
  features:
  - name: code
    dtype: string
  - name: repo_name
    dtype: string
  - name: path
    dtype: string
  - name: language
    dtype: string
  - name: license
    dtype: string
  - name: size
    dtype: int64
  splits:
  - name: train
    num_bytes: 521560386
    num_examples: 22306
  download_size: 192410979
  dataset_size: 521560386
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
---

Dataset containing lots of C code. Scraped from the codeparrot/github-code dataset and filtered for only C code where the code length is between 1024 characters and 250000. Additional conditions include files required to end with .c rather than .h to ensure greater quality. 