internetoftim commited on
Commit
2048088
·
verified ·
1 Parent(s): 6c2c5cc

Add MLCroissant metadata (croissant.json)

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