Datasets:

Modalities:
Image
Size:
< 1K
DOI:
Libraries:
Datasets
License:
nianbing commited on
Commit
8fd0fc5
·
verified ·
1 Parent(s): ae54e1a

Upload croissant.json

Browse files
Files changed (1) hide show
  1. croissant.json +104 -0
croissant.json ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "@context": {
3
+ "@language": "en",
4
+ "@vocab": "https://schema.org/",
5
+ "citeAs": "cr:citeAs",
6
+ "column": "cr:column",
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",
26
+ "fileObject": "cr:fileObject",
27
+ "fileSet": "cr:fileSet",
28
+ "format": "cr:format",
29
+ "includes": "cr:includes",
30
+ "isLiveDataset": "cr:isLiveDataset",
31
+ "jsonPath": "cr:jsonPath",
32
+ "key": "cr:key",
33
+ "md5": "cr:md5",
34
+ "parentField": "cr:parentField",
35
+ "path": "cr:path",
36
+ "recordSet": "cr:recordSet",
37
+ "references": "cr:references",
38
+ "regex": "cr:regex",
39
+ "repeated": "cr:repeated",
40
+ "replace": "cr:replace",
41
+ "sc": "https://schema.org/",
42
+ "separator": "cr:separator",
43
+ "source": "cr:source",
44
+ "subField": "cr:subField",
45
+ "transform": "cr:transform"
46
+ },
47
+ "@type": "sc:Dataset",
48
+ "name": "NL-DIR",
49
+ "description": "Natural Language-Based Document Image Retrieval",
50
+ "conformsTo": "http://mlcommons.org/croissant/1.0",
51
+ "license": "https://choosealicense.com/licenses/cc-by-nc-sa-4.0/",
52
+ "url": "https://huggingface.co/datasets/nianbing/NL-DIR-sample",
53
+ "distribution": [
54
+ {
55
+ "@type": "cr:FileObject",
56
+ "@id": "sample",
57
+ "name": "sample.json",
58
+ "description": "The JSON file containing the queries and image paths",
59
+ "contentUrl": "sample.json",
60
+ "encodingFormat": "application/json",
61
+ "sha256": "2c08bb77f504e79515b4245f4fc931335770a07b2c4479c9066bee005ce38031"
62
+ }
63
+ ],
64
+ "recordSet": [
65
+ {
66
+ "@type": "cr:RecordSet",
67
+ "@id": "queries",
68
+ "name": "Queries",
69
+ "description": "Natural Language-Based Document Image Retrieval",
70
+ "field": [
71
+ {
72
+ "@type": "cr:Field",
73
+ "@id": "queries/image_path",
74
+ "name": "image_path",
75
+ "description": "The path to the image associated with the queries",
76
+ "dataType": "sc:Text",
77
+ "source": {
78
+ "fileObject": {
79
+ "@id": "sample"
80
+ },
81
+ "extract": {
82
+ "jsonPath": "$.image_path"
83
+ }
84
+ }
85
+ },
86
+ {
87
+ "@type": "cr:Field",
88
+ "@id": "queries/query",
89
+ "name": "query",
90
+ "description": "The query text",
91
+ "dataType": "sc:Text",
92
+ "source": {
93
+ "fileObject": {
94
+ "@id": "sample"
95
+ },
96
+ "extract": {
97
+ "jsonPath": "$.queries[*]"
98
+ }
99
+ }
100
+ }
101
+ ]
102
+ }
103
+ ]
104
+ }