FangSen9000 Claude Sonnet 4.6 commited on
Commit
e479720
·
1 Parent(s): 7ab8c60

Fix Croissant metadata: resolve all 8 validation errors

Browse files

- Add hf-dataset-repo FileObject so FileSet containedIn resolves
- Add sha256 to metadata-csv FileObject
- Change sc:Number to sc:Float for fps field
- Add source to all caption-record fields

mlcroissant validate now passes with 0 errors.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Files changed (1) hide show
  1. metadata.json +48 -47
metadata.json CHANGED
@@ -7,19 +7,10 @@
7
  "conformsTo": "dct:conformsTo",
8
  "cr": "http://mlcommons.org/croissant/",
9
  "rai": "http://mlcommons.org/croissant/RAI/",
10
- "data": {
11
- "@id": "cr:data",
12
- "@type": "@json"
13
- },
14
- "dataType": {
15
- "@id": "cr:dataType",
16
- "@type": "@vocab"
17
- },
18
  "dct": "http://purl.org/dc/terms/",
19
- "examples": {
20
- "@id": "cr:examples",
21
- "@type": "@json"
22
- },
23
  "extract": "cr:extract",
24
  "field": "cr:field",
25
  "fileProperty": "cr:fileProperty",
@@ -53,48 +44,30 @@
53
  "url": "https://huggingface.co/datasets/SignerX/SignVerse-2M",
54
  "version": "1.0.0",
55
  "keywords": [
56
- "sign language",
57
- "pose estimation",
58
- "DWPose",
59
- "multilingual",
60
- "keypoint",
61
- "sign language generation",
62
- "sign language recognition",
63
- "pose-native",
64
- "video understanding"
65
  ],
66
  "creator": [
67
  {
68
  "@type": "Person",
69
  "name": "Sen Fang",
70
- "affiliation": {
71
- "@type": "Organization",
72
- "name": "Rutgers University"
73
- }
74
  },
75
  {
76
  "@type": "Person",
77
  "name": "Hongbin Zhong",
78
- "affiliation": {
79
- "@type": "Organization",
80
- "name": "Georgia Institute of Technology"
81
- }
82
  },
83
  {
84
  "@type": "Person",
85
  "name": "Yanxin Zhang",
86
- "affiliation": {
87
- "@type": "Organization",
88
- "name": "NVIDIA"
89
- }
90
  },
91
  {
92
  "@type": "Person",
93
  "name": "Dimitris N. Metaxas",
94
- "affiliation": {
95
- "@type": "Organization",
96
- "name": "Rutgers University"
97
- }
98
  }
99
  ],
100
  "isLiveDataset": false,
@@ -105,14 +78,21 @@
105
  "rsl", "swl", "dsl", "fse", "nsl", "lsc", "aed", "tsm", "fsl"
106
  ],
107
  "distribution": [
 
 
 
 
 
 
 
 
 
108
  {
109
  "@type": "cr:FileSet",
110
  "@id": "pose-shards",
111
  "name": "DWPose keypoint shards",
112
  "description": "Numbered .tar archives each containing per-video directories with poses.npz (DWPose keypoints) and caption.json (structured subtitles).",
113
- "containedIn": {
114
- "@id": "https://huggingface.co/datasets/SignerX/SignVerse-2M/resolve/main/dataset/"
115
- },
116
  "encodingFormat": "application/x-tar",
117
  "includes": "dataset/Sign_DWPose_NPZ_*.tar"
118
  },
@@ -122,7 +102,8 @@
122
  "name": "Sign-DWPose-2M-metadata_ori.csv",
123
  "description": "Master manifest of video IDs and sign language labels driving the processing pipeline.",
124
  "contentUrl": "https://huggingface.co/datasets/SignerX/SignVerse-2M/resolve/main/Sign-DWPose-2M-metadata_ori.csv",
125
- "encodingFormat": "text/csv"
 
126
  }
127
  ],
128
  "recordSet": [
@@ -148,7 +129,7 @@
148
  "@id": "pose-frame-record/fps",
149
  "name": "fps",
150
  "description": "Sampling frame rate (24.0)",
151
- "dataType": "sc:Number",
152
  "source": {
153
  "fileSet": {"@id": "pose-shards"},
154
  "extract": {"jsonPath": "$.fps"}
@@ -222,14 +203,22 @@
222
  "@id": "caption-record/video_id",
223
  "name": "video_id",
224
  "description": "YouTube video identifier",
225
- "dataType": "sc:Text"
 
 
 
 
226
  },
227
  {
228
  "@type": "cr:Field",
229
  "@id": "caption-record/sign_language",
230
  "name": "sign_language",
231
  "description": "ISO 639-3 sign language code (e.g. ase, bfi, gsg)",
232
- "dataType": "sc:Text"
 
 
 
 
233
  },
234
  {
235
  "@type": "cr:Field",
@@ -237,21 +226,33 @@
237
  "name": "segments",
238
  "description": "List of {start, end, text} subtitle segments with second-level timestamps",
239
  "dataType": "sc:Text",
240
- "repeated": true
 
 
 
 
241
  },
242
  {
243
  "@type": "cr:Field",
244
  "@id": "caption-record/document_text",
245
  "name": "document_text",
246
  "description": "Concatenated document-level transcript for training-time consumption",
247
- "dataType": "sc:Text"
 
 
 
 
248
  },
249
  {
250
  "@type": "cr:Field",
251
  "@id": "caption-record/english_source",
252
  "name": "english_source",
253
  "description": "Provenance of English supervision: 'native' or 'translated_from:<lang>'",
254
- "dataType": "sc:Text"
 
 
 
 
255
  }
256
  ]
257
  }
 
7
  "conformsTo": "dct:conformsTo",
8
  "cr": "http://mlcommons.org/croissant/",
9
  "rai": "http://mlcommons.org/croissant/RAI/",
10
+ "data": {"@id": "cr:data", "@type": "@json"},
11
+ "dataType": {"@id": "cr:dataType", "@type": "@vocab"},
 
 
 
 
 
 
12
  "dct": "http://purl.org/dc/terms/",
13
+ "examples": {"@id": "cr:examples", "@type": "@json"},
 
 
 
14
  "extract": "cr:extract",
15
  "field": "cr:field",
16
  "fileProperty": "cr:fileProperty",
 
44
  "url": "https://huggingface.co/datasets/SignerX/SignVerse-2M",
45
  "version": "1.0.0",
46
  "keywords": [
47
+ "sign language", "pose estimation", "DWPose", "multilingual",
48
+ "keypoint", "sign language generation", "sign language recognition",
49
+ "pose-native", "video understanding"
 
 
 
 
 
 
50
  ],
51
  "creator": [
52
  {
53
  "@type": "Person",
54
  "name": "Sen Fang",
55
+ "affiliation": {"@type": "Organization", "name": "Rutgers University"}
 
 
 
56
  },
57
  {
58
  "@type": "Person",
59
  "name": "Hongbin Zhong",
60
+ "affiliation": {"@type": "Organization", "name": "Georgia Institute of Technology"}
 
 
 
61
  },
62
  {
63
  "@type": "Person",
64
  "name": "Yanxin Zhang",
65
+ "affiliation": {"@type": "Organization", "name": "NVIDIA"}
 
 
 
66
  },
67
  {
68
  "@type": "Person",
69
  "name": "Dimitris N. Metaxas",
70
+ "affiliation": {"@type": "Organization", "name": "Rutgers University"}
 
 
 
71
  }
72
  ],
73
  "isLiveDataset": false,
 
78
  "rsl", "swl", "dsl", "fse", "nsl", "lsc", "aed", "tsm", "fsl"
79
  ],
80
  "distribution": [
81
+ {
82
+ "@type": "cr:FileObject",
83
+ "@id": "hf-dataset-repo",
84
+ "name": "HuggingFace dataset repository",
85
+ "description": "Root of the SignVerse-2M HuggingFace dataset repository",
86
+ "contentUrl": "https://huggingface.co/datasets/SignerX/SignVerse-2M",
87
+ "encodingFormat": "git+https",
88
+ "sha256": "main"
89
+ },
90
  {
91
  "@type": "cr:FileSet",
92
  "@id": "pose-shards",
93
  "name": "DWPose keypoint shards",
94
  "description": "Numbered .tar archives each containing per-video directories with poses.npz (DWPose keypoints) and caption.json (structured subtitles).",
95
+ "containedIn": {"@id": "hf-dataset-repo"},
 
 
96
  "encodingFormat": "application/x-tar",
97
  "includes": "dataset/Sign_DWPose_NPZ_*.tar"
98
  },
 
102
  "name": "Sign-DWPose-2M-metadata_ori.csv",
103
  "description": "Master manifest of video IDs and sign language labels driving the processing pipeline.",
104
  "contentUrl": "https://huggingface.co/datasets/SignerX/SignVerse-2M/resolve/main/Sign-DWPose-2M-metadata_ori.csv",
105
+ "encodingFormat": "text/csv",
106
+ "sha256": "79e8d2c35b0d3ed31b7e3c32348a1ce64513ca0ef217d7c1cbbd6b14410e7f08"
107
  }
108
  ],
109
  "recordSet": [
 
129
  "@id": "pose-frame-record/fps",
130
  "name": "fps",
131
  "description": "Sampling frame rate (24.0)",
132
+ "dataType": "sc:Float",
133
  "source": {
134
  "fileSet": {"@id": "pose-shards"},
135
  "extract": {"jsonPath": "$.fps"}
 
203
  "@id": "caption-record/video_id",
204
  "name": "video_id",
205
  "description": "YouTube video identifier",
206
+ "dataType": "sc:Text",
207
+ "source": {
208
+ "fileSet": {"@id": "pose-shards"},
209
+ "extract": {"jsonPath": "$.video_id"}
210
+ }
211
  },
212
  {
213
  "@type": "cr:Field",
214
  "@id": "caption-record/sign_language",
215
  "name": "sign_language",
216
  "description": "ISO 639-3 sign language code (e.g. ase, bfi, gsg)",
217
+ "dataType": "sc:Text",
218
+ "source": {
219
+ "fileSet": {"@id": "pose-shards"},
220
+ "extract": {"jsonPath": "$.sign_language"}
221
+ }
222
  },
223
  {
224
  "@type": "cr:Field",
 
226
  "name": "segments",
227
  "description": "List of {start, end, text} subtitle segments with second-level timestamps",
228
  "dataType": "sc:Text",
229
+ "repeated": true,
230
+ "source": {
231
+ "fileSet": {"@id": "pose-shards"},
232
+ "extract": {"jsonPath": "$.segments[*]"}
233
+ }
234
  },
235
  {
236
  "@type": "cr:Field",
237
  "@id": "caption-record/document_text",
238
  "name": "document_text",
239
  "description": "Concatenated document-level transcript for training-time consumption",
240
+ "dataType": "sc:Text",
241
+ "source": {
242
+ "fileSet": {"@id": "pose-shards"},
243
+ "extract": {"jsonPath": "$.document_text"}
244
+ }
245
  },
246
  {
247
  "@type": "cr:Field",
248
  "@id": "caption-record/english_source",
249
  "name": "english_source",
250
  "description": "Provenance of English supervision: 'native' or 'translated_from:<lang>'",
251
+ "dataType": "sc:Text",
252
+ "source": {
253
+ "fileSet": {"@id": "pose-shards"},
254
+ "extract": {"jsonPath": "$.english_source"}
255
+ }
256
  }
257
  ]
258
  }