loubnabnl HF staff commited on
Commit
396917e
1 Parent(s): e2f9adb

add data structure

Browse files
Files changed (1) hide show
  1. README.md +11 -1
README.md CHANGED
@@ -23,4 +23,14 @@ The original dataset contains a lot of duplicated and noisy data. Therefore, the
23
  For more details see the preprocessing script in the transformers repository [here](https://github.com/huggingface/transformers/tree/master/examples/research_projects/codeparrot).
24
 
25
  ## Splits
26
- The dataset is split in a [train](https://huggingface.co/datasets/codeparrot/codeparrot-clean-train) and [validation](https://huggingface.co/datasets/codeparrot/codeparrot-clean-valid) split used for training and evaluation.
 
 
 
 
 
 
 
 
 
 
 
23
  For more details see the preprocessing script in the transformers repository [here](https://github.com/huggingface/transformers/tree/master/examples/research_projects/codeparrot).
24
 
25
  ## Splits
26
+ The dataset is split in a [train](https://huggingface.co/datasets/codeparrot/codeparrot-clean-train) and [validation](https://huggingface.co/datasets/codeparrot/codeparrot-clean-valid) split used for training and evaluation.
27
+
28
+ ## Structure
29
+ ```python
30
+ DatasetDict({
31
+ train: Dataset({
32
+ features: ['repo_name', 'path', 'copies', 'size', 'content', 'license', 'hash', 'line_mean', 'line_max', 'alpha_frac', 'autogenerated'],
33
+ num_rows: 5361373
34
+ })
35
+ })
36
+ ```