Datasets:
Fix dataset card split metadata keys
Browse filesReplaces dataset_info split metadata key num_rows with num_examples, matching the datasets SplitInfo schema used by the Hub dataset viewer.
Constraint: Hugging Face config-name resolution rejects unknown SplitInfo keys.
Rejected: Editing data files | the failure is in README card YAML before data loading begins.
Confidence: high
Scope-risk: narrow
Directive: Use num_examples, not num_rows, in dataset card split metadata.
Tested: Parsed README YAML and verified all dataset_info splits contain num_examples and no num_rows.
Not-tested: Hub dataset viewer refresh after merge.
README.md
CHANGED
|
@@ -97,7 +97,7 @@ dataset_info:
|
|
| 97 |
dtype: float64
|
| 98 |
splits:
|
| 99 |
- name: summary
|
| 100 |
-
|
| 101 |
num_bytes: 694254
|
| 102 |
- config_name: distributional
|
| 103 |
features:
|
|
@@ -167,7 +167,7 @@ dataset_info:
|
|
| 167 |
dtype: float64
|
| 168 |
splits:
|
| 169 |
- name: summary
|
| 170 |
-
|
| 171 |
num_bytes: 70836
|
| 172 |
- config_name: mse_validation
|
| 173 |
features:
|
|
@@ -273,7 +273,7 @@ dataset_info:
|
|
| 273 |
dtype: float64
|
| 274 |
splits:
|
| 275 |
- name: summary
|
| 276 |
-
|
| 277 |
num_bytes: 40940
|
| 278 |
---
|
| 279 |
|
|
|
|
| 97 |
dtype: float64
|
| 98 |
splits:
|
| 99 |
- name: summary
|
| 100 |
+
num_examples: 3147
|
| 101 |
num_bytes: 694254
|
| 102 |
- config_name: distributional
|
| 103 |
features:
|
|
|
|
| 167 |
dtype: float64
|
| 168 |
splits:
|
| 169 |
- name: summary
|
| 170 |
+
num_examples: 245
|
| 171 |
num_bytes: 70836
|
| 172 |
- config_name: mse_validation
|
| 173 |
features:
|
|
|
|
| 273 |
dtype: float64
|
| 274 |
splits:
|
| 275 |
- name: summary
|
| 276 |
+
num_examples: 28
|
| 277 |
num_bytes: 40940
|
| 278 |
---
|
| 279 |
|