Mir-2002 commited on
Commit
d53ce63
·
verified ·
1 Parent(s): 9c8bb74

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +17 -16
README.md CHANGED
@@ -12,7 +12,7 @@ size_categories:
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
@@ -126,37 +126,38 @@ Furthermore, the following cleaning steps specific to this dataset were applied:
126
  ```
127
  {
128
  "original_samples": 128880,
129
- "processed_samples": 36536,
130
  "filter_stats": {
131
- "success": 36536,
132
- "non_english": 1185,
133
- "docstring_too_long": 1047,
134
- "input_too_long": 9185,
135
  "docstring_too_short": 74013,
136
  "error": 0,
137
  "error: unhashable type: 'list'": 6914
138
  },
139
  "split_sizes": {
140
- "train": 25575,
141
- "val": 5480,
142
- "test": 5481
143
  },
144
  "input_token_stats": {
145
  "min": 16,
146
- "max": 511,
147
- "avg": 161.956
148
  },
149
  "target_token_stats": {
150
  "min": 4,
151
- "max": 506,
152
- "avg": 72.421
153
  },
154
  "type_distribution": {
155
- "function": 9556,
156
- "method": 13019,
157
- "class": 3000
158
  }
159
  }
 
160
  ```
161
 
162
  # NOTE
 
12
 
13
  # Overview
14
 
15
+ This dataset contains 34,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
 
126
  ```
127
  {
128
  "original_samples": 128880,
129
+ "processed_samples": 34537,
130
  "filter_stats": {
131
+ "success": 34537,
132
+ "non_english": 1202,
133
+ "docstring_too_long": 3848,
134
+ "input_too_long": 8366,
135
  "docstring_too_short": 74013,
136
  "error": 0,
137
  "error: unhashable type: 'list'": 6914
138
  },
139
  "split_sizes": {
140
+ "train": 24175,
141
+ "val": 5180,
142
+ "test": 5182
143
  },
144
  "input_token_stats": {
145
  "min": 16,
146
+ "max": 505,
147
+ "avg": 164.071
148
  },
149
  "target_token_stats": {
150
  "min": 4,
151
+ "max": 254,
152
+ "avg": 52.758
153
  },
154
  "type_distribution": {
155
+ "method": 12682,
156
+ "function": 8733,
157
+ "class": 2760
158
  }
159
  }
160
+
161
  ```
162
 
163
  # NOTE