commit-chronicle / README.md
iNeil77's picture
Update README.md
cdcb087 verified
metadata
dataset_info:
  - config_name: C
    features:
      - name: message
        dtype: string
      - name: diff
        dtype: string
    splits:
      - name: train
        num_bytes: 116010891
        num_examples: 138903
      - name: validation
        num_bytes: 23655147
        num_examples: 28739
      - name: test
        num_bytes: 15089573
        num_examples: 18108
    download_size: 84218245
    dataset_size: 154755611
  - config_name: C++
    features:
      - name: message
        dtype: string
      - name: diff
        dtype: string
    splits:
      - name: train
        num_bytes: 283988203
        num_examples: 318858
      - name: validation
        num_bytes: 71347480
        num_examples: 81875
      - name: test
        num_bytes: 40434527
        num_examples: 45965
    download_size: 210054789
    dataset_size: 395770210
  - config_name: Go
    features:
      - name: message
        dtype: string
      - name: diff
        dtype: string
    splits:
      - name: train
        num_bytes: 233348778
        num_examples: 266236
      - name: validation
        num_bytes: 50916905
        num_examples: 55959
      - name: test
        num_bytes: 49018314
        num_examples: 55278
    download_size: 177300040
    dataset_size: 333283997
  - config_name: Java
    features:
      - name: message
        dtype: string
      - name: diff
        dtype: string
    splits:
      - name: train
        num_bytes: 341095989
        num_examples: 352118
      - name: validation
        num_bytes: 70142853
        num_examples: 75173
      - name: test
        num_bytes: 73746462
        num_examples: 75789
    download_size: 237710158
    dataset_size: 484985304
  - config_name: Python
    features:
      - name: message
        dtype: string
      - name: diff
        dtype: string
    splits:
      - name: train
        num_bytes: 540249752
        num_examples: 627007
      - name: validation
        num_bytes: 83521636
        num_examples: 98147
      - name: test
        num_bytes: 92836805
        num_examples: 113517
    download_size: 390614385
    dataset_size: 716608193
  - config_name: Rust
    features:
      - name: message
        dtype: string
      - name: diff
        dtype: string
    splits:
      - name: train
        num_bytes: 78635879
        num_examples: 88593
      - name: validation
        num_bytes: 20637229
        num_examples: 23356
      - name: test
        num_bytes: 15019809
        num_examples: 16851
    download_size: 61646506
    dataset_size: 114292917
  - config_name: TypeScript
    features:
      - name: message
        dtype: string
      - name: diff
        dtype: string
    splits:
      - name: train
        num_bytes: 306561530
        num_examples: 378871
      - name: validation
        num_bytes: 56861379
        num_examples: 72008
      - name: test
        num_bytes: 62396070
        num_examples: 77097
    download_size: 224008717
    dataset_size: 425818979
configs:
  - config_name: C
    data_files:
      - split: train
        path: C/train-*
      - split: validation
        path: C/validation-*
      - split: test
        path: C/test-*
  - config_name: C++
    data_files:
      - split: train
        path: C++/train-*
      - split: validation
        path: C++/validation-*
      - split: test
        path: C++/test-*
  - config_name: Go
    data_files:
      - split: train
        path: Go/train-*
      - split: validation
        path: Go/validation-*
      - split: test
        path: Go/test-*
  - config_name: Java
    data_files:
      - split: train
        path: Java/train-*
      - split: validation
        path: Java/validation-*
      - split: test
        path: Java/test-*
  - config_name: Python
    data_files:
      - split: train
        path: Python/train-*
      - split: validation
        path: Python/validation-*
      - split: test
        path: Python/test-*
  - config_name: Rust
    data_files:
      - split: train
        path: Rust/train-*
      - split: validation
        path: Rust/validation-*
      - split: test
        path: Rust/test-*
  - config_name: TypeScript
    data_files:
      - split: train
        path: TypeScript/train-*
      - split: validation
        path: TypeScript/validation-*
      - split: test
        path: TypeScript/test-*
tags:
  - code
size_categories:
  - 100K<n<1M

This is a filtered version of the JetBrains-Research/commit-chronicle dataset. It has been subsetted for the following languages:

[
  "C", "C++", "Go", "Java", "Python", "Rust", "TypeScript"
]

Further filtering steps undertaken are:

  1. Useless features have been removed and only the message and diff retained.
  2. Only commits that modify a single file have been chosen.
  3. Samples containing diffs longer than 1024 tokens (by the ObscuraCoder/Tokenizer tokenizer estimate) have been discarded.