Mir-2002 commited on
Commit
17ab3f0
·
verified ·
1 Parent(s): 8bf1972

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +21 -22
README.md CHANGED
@@ -12,7 +12,7 @@ size_categories:
12
 
13
  # Overview
14
 
15
- This dataset contains 22,000+ rows of code-docstring-ast data along with additional metadata. Data was gathered from various Python libraries and frameworks and their
16
  publicly available GitHub repos. This dataset was created for the purpose of training the [CodeT5+](https://arxiv.org/abs/2305.07922) transformer on AST-enhanced code-to-doc tasks.
17
 
18
  # Sources
@@ -127,39 +127,38 @@ Furthermore, the following cleaning steps specific to this dataset were applied:
127
 
128
  ```
129
  {
130
- "original_samples": 25481,
131
- "processed_samples": 22099,
132
  "filter_stats": {
133
- "success": 22099,
134
- "non_english": 44,
135
- "input_too_short": 0,
136
- "input_too_long": 3309,
137
- "target_too_short": 0,
138
- "target_too_long": 29,
139
- "error": 0
140
  },
141
  "split_sizes": {
142
- "train": 15469,
143
- "val": 3314,
144
- "test": 3316
145
  },
146
  "input_token_stats": {
147
- "min": 18,
148
  "max": 511,
149
- "avg": 155.931
150
  },
151
  "target_token_stats": {
152
- "min": 6,
153
- "max": 426,
154
- "avg": 67.264
155
  },
156
  "type_distribution": {
157
- "method": 8625,
158
- "class": 1434,
159
- "function": 5410
160
  }
161
  }
162
-
163
  ```
164
 
165
  # NOTE
 
12
 
13
  # Overview
14
 
15
+ This dataset contains 36,000+ rows of code-docstring-ast data along with additional metadata. Data was gathered from various Python libraries and frameworks and their
16
  publicly available GitHub repos. This dataset was created for the purpose of training the [CodeT5+](https://arxiv.org/abs/2305.07922) transformer on AST-enhanced code-to-doc tasks.
17
 
18
  # Sources
 
127
 
128
  ```
129
  {
130
+ "original_samples": 128880,
131
+ "processed_samples": 36536,
132
  "filter_stats": {
133
+ "success": 36536,
134
+ "non_english": 1185,
135
+ "docstring_too_long": 1047,
136
+ "input_too_long": 9185,
137
+ "docstring_too_short": 74013,
138
+ "error": 0,
139
+ "error: unhashable type: 'list'": 6914
140
  },
141
  "split_sizes": {
142
+ "train": 25575,
143
+ "val": 5480,
144
+ "test": 5481
145
  },
146
  "input_token_stats": {
147
+ "min": 16,
148
  "max": 511,
149
+ "avg": 161.956
150
  },
151
  "target_token_stats": {
152
+ "min": 4,
153
+ "max": 506,
154
+ "avg": 72.421
155
  },
156
  "type_distribution": {
157
+ "function": 9556,
158
+ "method": 13019,
159
+ "class": 3000
160
  }
161
  }
 
162
  ```
163
 
164
  # NOTE