internetoftim commited on
Commit
013cf44
·
verified ·
1 Parent(s): 0a8688c

Add MLCroissant metadata (croissant.json)

Browse files
Files changed (1) hide show
  1. croissant.json +152 -0
croissant.json ADDED
@@ -0,0 +1,152 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "@context": {
3
+ "@language": "ceb",
4
+ "@vocab": "https://schema.org/",
5
+ "croissant": "http://mlcommons.org/croissant/",
6
+ "sc": "https://schema.org/"
7
+ },
8
+ "@type": "sc:Dataset",
9
+ "name": "ceb-scrape",
10
+ "description": "Web crawled dataset targeting Philippine languages: Cebuano. Sourced from 44 seed URLs. Includes heuristics for Tagalog-English code-switching (Taglish). Max pages limit: 10000. Contains 21 documents with 25,369 total words. Language distribution: Cebuano: 18, Tagalog: 3. Generated by PhilCrawler.",
11
+ "license": "https://creativecommons.org/licenses/by/4.0/",
12
+ "url": "https://huggingface.co/datasets/internetoftim/ceb-scrape",
13
+ "inLanguage": [
14
+ "ceb"
15
+ ],
16
+ "statistics": {
17
+ "@type": "sc:DatasetStatistics",
18
+ "numRows": 21,
19
+ "totalWordCount": 25369,
20
+ "languageDistribution": [
21
+ {
22
+ "language": "ceb",
23
+ "languageName": "Cebuano",
24
+ "count": 18,
25
+ "percentage": 85.71
26
+ },
27
+ {
28
+ "language": "tl",
29
+ "languageName": "Tagalog",
30
+ "count": 3,
31
+ "percentage": 14.29
32
+ }
33
+ ]
34
+ },
35
+ "distribution": [
36
+ {
37
+ "@type": "sc:FileObject",
38
+ "@id": "raw-data",
39
+ "name": "data.jsonl",
40
+ "contentUrl": "https://huggingface.co/datasets/internetoftim/ceb-scrape/resolve/main/data.jsonl",
41
+ "encodingFormat": "application/jsonlines",
42
+ "description": "The raw crawled data in JSONL format."
43
+ }
44
+ ],
45
+ "recordSet": [
46
+ {
47
+ "@type": "croissant:RecordSet",
48
+ "@id": "default",
49
+ "name": "default",
50
+ "field": [
51
+ {
52
+ "@type": "croissant:Field",
53
+ "name": "url",
54
+ "description": "The source URL of the crawled page.",
55
+ "dataType": "sc:URL",
56
+ "source": {
57
+ "fileObject": {
58
+ "@id": "raw-data"
59
+ },
60
+ "extract": {
61
+ "column": "url"
62
+ }
63
+ }
64
+ },
65
+ {
66
+ "@type": "croissant:Field",
67
+ "name": "title",
68
+ "description": "The page title.",
69
+ "dataType": "sc:Text",
70
+ "source": {
71
+ "fileObject": {
72
+ "@id": "raw-data"
73
+ },
74
+ "extract": {
75
+ "column": "title"
76
+ }
77
+ }
78
+ },
79
+ {
80
+ "@type": "croissant:Field",
81
+ "name": "content",
82
+ "description": "The main extracted text content.",
83
+ "dataType": "sc:Text",
84
+ "source": {
85
+ "fileObject": {
86
+ "@id": "raw-data"
87
+ },
88
+ "extract": {
89
+ "column": "content"
90
+ }
91
+ }
92
+ },
93
+ {
94
+ "@type": "croissant:Field",
95
+ "name": "detected_lang",
96
+ "description": "Detected language code (ISO 639-3 or 'taglish').",
97
+ "dataType": "sc:Text",
98
+ "source": {
99
+ "fileObject": {
100
+ "@id": "raw-data"
101
+ },
102
+ "extract": {
103
+ "column": "detected_lang"
104
+ }
105
+ }
106
+ },
107
+ {
108
+ "@type": "croissant:Field",
109
+ "name": "word_count",
110
+ "description": "Number of words in the content.",
111
+ "dataType": "sc:Integer",
112
+ "source": {
113
+ "fileObject": {
114
+ "@id": "raw-data"
115
+ },
116
+ "extract": {
117
+ "column": "word_count"
118
+ }
119
+ }
120
+ },
121
+ {
122
+ "@type": "croissant:Field",
123
+ "name": "source",
124
+ "description": "The crawler source identifier.",
125
+ "dataType": "sc:Text",
126
+ "source": {
127
+ "fileObject": {
128
+ "@id": "raw-data"
129
+ },
130
+ "extract": {
131
+ "column": "source"
132
+ }
133
+ }
134
+ },
135
+ {
136
+ "@type": "croissant:Field",
137
+ "name": "crawled_at",
138
+ "description": "Timestamp when the page was crawled.",
139
+ "dataType": "sc:DateTime",
140
+ "source": {
141
+ "fileObject": {
142
+ "@id": "raw-data"
143
+ },
144
+ "extract": {
145
+ "column": "crawled_at"
146
+ }
147
+ }
148
+ }
149
+ ]
150
+ }
151
+ ]
152
+ }