internetoftim commited on
Commit
4998531
·
verified ·
1 Parent(s): 1610df1

Add MLCroissant metadata (croissant.json)

Browse files
Files changed (1) hide show
  1. croissant.json +129 -0
croissant.json ADDED
@@ -0,0 +1,129 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "@context": {
3
+ "@language": "en",
4
+ "@vocab": "https://schema.org/",
5
+ "croissant": "http://mlcommons.org/croissant/",
6
+ "sc": "https://schema.org/"
7
+ },
8
+ "@type": "sc:Dataset",
9
+ "name": "halohalo",
10
+ "description": "Web crawled dataset containing multilingual text content. Generated by PhilCrawler.",
11
+ "license": "https://creativecommons.org/licenses/by/4.0/",
12
+ "url": "https://huggingface.co/datasets/internetoftim/halohalo",
13
+ "distribution": [
14
+ {
15
+ "@type": "sc:FileObject",
16
+ "@id": "raw-data",
17
+ "name": "data.jsonl",
18
+ "contentUrl": "https://huggingface.co/datasets/internetoftim/halohalo/resolve/main/data.jsonl",
19
+ "encodingFormat": "application/jsonlines"
20
+ }
21
+ ],
22
+ "recordSet": [
23
+ {
24
+ "@type": "croissant:RecordSet",
25
+ "@id": "default",
26
+ "name": "default",
27
+ "field": [
28
+ {
29
+ "@type": "croissant:Field",
30
+ "name": "url",
31
+ "description": "The source URL of the crawled page.",
32
+ "dataType": "sc:URL",
33
+ "source": {
34
+ "fileObject": {
35
+ "@id": "raw-data"
36
+ },
37
+ "extract": {
38
+ "column": "url"
39
+ }
40
+ }
41
+ },
42
+ {
43
+ "@type": "croissant:Field",
44
+ "name": "title",
45
+ "description": "The page title.",
46
+ "dataType": "sc:Text",
47
+ "source": {
48
+ "fileObject": {
49
+ "@id": "raw-data"
50
+ },
51
+ "extract": {
52
+ "column": "title"
53
+ }
54
+ }
55
+ },
56
+ {
57
+ "@type": "croissant:Field",
58
+ "name": "content",
59
+ "description": "The main extracted text content.",
60
+ "dataType": "sc:Text",
61
+ "source": {
62
+ "fileObject": {
63
+ "@id": "raw-data"
64
+ },
65
+ "extract": {
66
+ "column": "content"
67
+ }
68
+ }
69
+ },
70
+ {
71
+ "@type": "croissant:Field",
72
+ "name": "detected_lang",
73
+ "description": "Detected language code (ISO 639-3 or 'taglish').",
74
+ "dataType": "sc:Text",
75
+ "source": {
76
+ "fileObject": {
77
+ "@id": "raw-data"
78
+ },
79
+ "extract": {
80
+ "column": "detected_lang"
81
+ }
82
+ }
83
+ },
84
+ {
85
+ "@type": "croissant:Field",
86
+ "name": "word_count",
87
+ "description": "Number of words in the content.",
88
+ "dataType": "sc:Integer",
89
+ "source": {
90
+ "fileObject": {
91
+ "@id": "raw-data"
92
+ },
93
+ "extract": {
94
+ "column": "word_count"
95
+ }
96
+ }
97
+ },
98
+ {
99
+ "@type": "croissant:Field",
100
+ "name": "source",
101
+ "description": "The crawler source identifier.",
102
+ "dataType": "sc:Text",
103
+ "source": {
104
+ "fileObject": {
105
+ "@id": "raw-data"
106
+ },
107
+ "extract": {
108
+ "column": "source"
109
+ }
110
+ }
111
+ },
112
+ {
113
+ "@type": "croissant:Field",
114
+ "name": "crawled_at",
115
+ "description": "Timestamp when the page was crawled.",
116
+ "dataType": "sc:DateTime",
117
+ "source": {
118
+ "fileObject": {
119
+ "@id": "raw-data"
120
+ },
121
+ "extract": {
122
+ "column": "crawled_at"
123
+ }
124
+ }
125
+ }
126
+ ]
127
+ }
128
+ ]
129
+ }