| { |
| "@context": { |
| "@language": "en", |
| "@vocab": "https://schema.org/", |
| "arrayShape": "cr:arrayShape", |
| "citeAs": "cr:citeAs", |
| "column": "cr:column", |
| "conformsTo": "dct:conformsTo", |
| "cr": "http://mlcommons.org/croissant/", |
| "data": { |
| "@id": "cr:data", |
| "@type": "@json" |
| }, |
| "dataBiases": "cr:dataBiases", |
| "dataCollection": "cr:dataCollection", |
| "dataType": { |
| "@id": "cr:dataType", |
| "@type": "@vocab" |
| }, |
| "dct": "http://purl.org/dc/terms/", |
| "extract": "cr:extract", |
| "field": "cr:field", |
| "fileProperty": "cr:fileProperty", |
| "fileObject": "cr:fileObject", |
| "fileSet": "cr:fileSet", |
| "format": "cr:format", |
| "includes": "cr:includes", |
| "isArray": "cr:isArray", |
| "isLiveDataset": "cr:isLiveDataset", |
| "jsonPath": "cr:jsonPath", |
| "key": "cr:key", |
| "md5": "cr:md5", |
| "parentField": "cr:parentField", |
| "path": "cr:path", |
| "personalSensitiveInformation": "cr:personalSensitiveInformation", |
| "recordSet": "cr:recordSet", |
| "references": "cr:references", |
| "regex": "cr:regex", |
| "repeated": "cr:repeated", |
| "replace": "cr:replace", |
| "sc": "https://schema.org/", |
| "separator": "cr:separator", |
| "source": "cr:source", |
| "subField": "cr:subField", |
| "transform": "cr:transform" |
| }, |
| "@type": "sc:Dataset", |
| "distribution": [ |
| { |
| "@type": "cr:FileObject", |
| "@id": "repo", |
| "name": "repo", |
| "description": "The Hugging Face git repository.", |
| "contentUrl": "https://huggingface.co/datasets/butlerj/toy_data/tree/refs%2Fconvert%2Fparquet", |
| "encodingFormat": "git+https", |
| "sha256": "https://github.com/mlcommons/croissant/issues/80" |
| }, |
| { |
| "@type": "cr:FileSet", |
| "@id": "parquet-files-for-config-default", |
| "containedIn": { |
| "@id": "repo" |
| }, |
| "encodingFormat": "application/x-parquet", |
| "includes": "default/*/*.parquet" |
| } |
| ], |
| "recordSet": [ |
| { |
| "@type": "cr:RecordSet", |
| "dataType": "cr:Split", |
| "key": { |
| "@id": "default_splits/split_name" |
| }, |
| "@id": "default_splits", |
| "name": "default_splits", |
| "description": "Splits for the default config.", |
| "field": [ |
| { |
| "@type": "cr:Field", |
| "@id": "default_splits/split_name", |
| "dataType": "sc:Text" |
| } |
| ], |
| "data": [ |
| { |
| "default_splits/split_name": "train" |
| } |
| ] |
| }, |
| { |
| "@type": "cr:RecordSet", |
| "@id": "default", |
| "description": "butlerj/toy_data - 'default' subset", |
| "field": [ |
| { |
| "@type": "cr:Field", |
| "@id": "default/split", |
| "dataType": "sc:Text", |
| "source": { |
| "fileSet": { |
| "@id": "parquet-files-for-config-default" |
| }, |
| "extract": { |
| "fileProperty": "fullpath" |
| }, |
| "transform": { |
| "regex": "default/(?:partial-)?(train)/.+parquet$" |
| } |
| }, |
| "references": { |
| "field": { |
| "@id": "default_splits/split_name" |
| } |
| } |
| }, |
| { |
| "@type": "cr:Field", |
| "@id": "default/Unnamed__0", |
| "dataType": "cr:Int64", |
| "source": { |
| "fileSet": { |
| "@id": "parquet-files-for-config-default" |
| }, |
| "extract": { |
| "column": "Unnamed: 0" |
| } |
| } |
| }, |
| { |
| "@type": "cr:Field", |
| "@id": "default/col1", |
| "dataType": "cr:Float64", |
| "source": { |
| "fileSet": { |
| "@id": "parquet-files-for-config-default" |
| }, |
| "extract": { |
| "column": "col1" |
| } |
| } |
| }, |
| { |
| "@type": "cr:Field", |
| "@id": "default/col2", |
| "dataType": "cr:Float64", |
| "source": { |
| "fileSet": { |
| "@id": "parquet-files-for-config-default" |
| }, |
| "extract": { |
| "column": "col2" |
| } |
| } |
| }, |
| { |
| "@type": "cr:Field", |
| "@id": "default/col3", |
| "dataType": "cr:Float64", |
| "source": { |
| "fileSet": { |
| "@id": "parquet-files-for-config-default" |
| }, |
| "extract": { |
| "column": "col3" |
| } |
| } |
| } |
| ] |
| } |
| ], |
| "conformsTo": "http://mlcommons.org/croissant/1.1", |
| "name": "toy_data", |
| "description": "butlerj/toy_data dataset hosted on Hugging Face and contributed by the HF Datasets community", |
| "alternateName": [ |
| "butlerj/toy_data" |
| ], |
| "creator": { |
| "@type": "Person", |
| "name": "James", |
| "url": "https://huggingface.co/butlerj" |
| }, |
| "keywords": [ |
| "1K - 10K", |
| "csv", |
| "Tabular", |
| "Datasets", |
| "pandas", |
| "Croissant", |
| "Polars", |
| "🇺🇸 Region: US" |
| ], |
| "url": "https://huggingface.co/datasets/butlerj/toy_data" |
| } |