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
|
|
@@ -126,37 +126,38 @@ Furthermore, the following cleaning steps specific to this dataset were applied:
|
|
| 126 |
```
|
| 127 |
{
|
| 128 |
"original_samples": 128880,
|
| 129 |
-
"processed_samples":
|
| 130 |
"filter_stats": {
|
| 131 |
-
"success":
|
| 132 |
-
"non_english":
|
| 133 |
-
"docstring_too_long":
|
| 134 |
-
"input_too_long":
|
| 135 |
"docstring_too_short": 74013,
|
| 136 |
"error": 0,
|
| 137 |
"error: unhashable type: 'list'": 6914
|
| 138 |
},
|
| 139 |
"split_sizes": {
|
| 140 |
-
"train":
|
| 141 |
-
"val":
|
| 142 |
-
"test":
|
| 143 |
},
|
| 144 |
"input_token_stats": {
|
| 145 |
"min": 16,
|
| 146 |
-
"max":
|
| 147 |
-
"avg":
|
| 148 |
},
|
| 149 |
"target_token_stats": {
|
| 150 |
"min": 4,
|
| 151 |
-
"max":
|
| 152 |
-
"avg":
|
| 153 |
},
|
| 154 |
"type_distribution": {
|
| 155 |
-
"
|
| 156 |
-
"
|
| 157 |
-
"class":
|
| 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
|