Update README.md
Browse files
README.md
CHANGED
|
@@ -12,7 +12,7 @@ size_categories:
|
|
| 12 |
|
| 13 |
# Overview
|
| 14 |
|
| 15 |
-
This dataset contains
|
| 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":
|
| 131 |
-
"processed_samples":
|
| 132 |
"filter_stats": {
|
| 133 |
-
"success":
|
| 134 |
-
"non_english":
|
| 135 |
-
"
|
| 136 |
-
"input_too_long":
|
| 137 |
-
"
|
| 138 |
-
"
|
| 139 |
-
"error":
|
| 140 |
},
|
| 141 |
"split_sizes": {
|
| 142 |
-
"train":
|
| 143 |
-
"val":
|
| 144 |
-
"test":
|
| 145 |
},
|
| 146 |
"input_token_stats": {
|
| 147 |
-
"min":
|
| 148 |
"max": 511,
|
| 149 |
-
"avg":
|
| 150 |
},
|
| 151 |
"target_token_stats": {
|
| 152 |
-
"min":
|
| 153 |
-
"max":
|
| 154 |
-
"avg":
|
| 155 |
},
|
| 156 |
"type_distribution": {
|
| 157 |
-
"
|
| 158 |
-
"
|
| 159 |
-
"
|
| 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
|