Category-2-final / README.md
DaniilOr's picture
Update README.md
a2cd07c verified
|
raw
history blame
1.26 kB
metadata
dataset_info:
  features:
    - name: code
      dtype: string
    - name: language
      dtype: string
    - name: AST_depth
      dtype: int64
    - name: alphanumeric_fraction
      dtype: float64
    - name: max_line_length
      dtype: int64
    - name: avg_line_length
      dtype: float64
    - name: num_lines
      dtype: int64
    - name: original_docstring
      dtype: string
    - name: source
      dtype: string
  splits:
    - name: train
      num_bytes: 37302736699.417076
      num_examples: 18415513
  download_size: 12721194306
  dataset_size: 37302736699.417076
configs:
  - config_name: default
    data_files:
      - split: train
        path: data/train-*

This dataset contains deduplicated data from The-Vault-function and The-Vault-class. We filtered the data by:

  • AST parsability: we extracted only the AST parsable codes
  • AST Depth: only samples with depth from 2.0 to 31.0
  • Maximum Line Length: only samples with maximum of 12.0 to 400.0 characters
  • Average Line Length: only samples with 5.0 to 140.0 characters on average
  • Alphanumeric Fraction of samples is greater than 0.2
  • Number of Lines: from 6.0 to 300.0