faidrap commited on
Commit
272150c
·
verified ·
1 Parent(s): 453b8f6

Add comprehensive dataset card

Browse files
Files changed (1) hide show
  1. README.md +34 -139
README.md CHANGED
@@ -4,75 +4,19 @@ language:
4
  - de
5
  multilinguality:
6
  - monolingual
7
- size_categories:
8
- - 100K<n<1M
9
  source_datasets:
10
  - original
11
  task_categories:
12
  - text-generation
13
  task_ids:
14
  - language-modeling
15
- pretty_name: DCLM German Dataset
 
16
  tags:
17
  - pretraining
18
  - german
19
  - common-crawl
20
  - fasttext-filtered
21
- dataset_info:
22
- features:
23
- - name: text
24
- dtype: string
25
- - name: metadata
26
- struct:
27
- - name: Content-Length
28
- dtype: string
29
- - name: Content-Type
30
- dtype: string
31
- - name: WARC-Block-Digest
32
- dtype: string
33
- - name: WARC-Concurrent-To
34
- dtype: string
35
- - name: WARC-Date
36
- dtype: string
37
- - name: WARC-IP-Address
38
- dtype: string
39
- - name: WARC-Identified-Payload-Type
40
- dtype: string
41
- - name: WARC-Payload-Digest
42
- dtype: string
43
- - name: WARC-Record-ID
44
- dtype: string
45
- - name: WARC-Target-URI
46
- dtype: string
47
- - name: WARC-Truncated
48
- dtype: string
49
- - name: WARC-Type
50
- dtype: string
51
- - name: WARC-Warcinfo-ID
52
- dtype: string
53
- - name: warcinfo
54
- dtype: string
55
- - name: url
56
- dtype: string
57
- - name: language_id_whole_page_fasttext
58
- struct:
59
- - name: de
60
- dtype: float64
61
- - name: previous_word_count
62
- dtype: int64
63
- - name: fasttext_oh25_german_prob
64
- dtype: float64
65
- splits:
66
- - name: train
67
- num_bytes: 1098988939
68
- num_examples: 160812
69
- download_size: 646832471
70
- dataset_size: 1098988939
71
- configs:
72
- - config_name: default
73
- data_files:
74
- - split: train
75
- path: data/train-*
76
  ---
77
 
78
  # DCLM German Dataset
@@ -84,33 +28,7 @@ This dataset contains German language data processed for LLM pretraining, filter
84
  - **Language**: German (de)
85
  - **Size**: 43,452 compressed JSONL files
86
  - **Source**: Common Crawl data
87
- - **Processing**: FastText language filtering
88
- - **Format**: JSONL compressed with gzip
89
-
90
- ## Dataset Structure
91
-
92
- The data is organized by Common Crawl snapshots:
93
-
94
- ```
95
- /data/horse/ws/fapa811h-dclm-de/fasttext_de_filter_output/processed_data/CC-MAIN-2014-35/
96
- ├── cc_snapshot_1/
97
- │ ├── subfolder_1/
98
- │ │ ├── file_001.jsonl.gz
99
- │ │ ├── file_002.jsonl.gz
100
- │ │ └── ...
101
- │ └── subfolder_2/
102
- │ └── ...
103
- └── cc_snapshot_2/
104
- └── ...
105
- ```
106
-
107
- ## Data Fields
108
-
109
- Each line in the JSONL files contains:
110
- - `text`: The filtered German text content
111
- - `url`: Source URL (if available)
112
- - `timestamp`: Processing timestamp
113
- - Additional metadata fields
114
 
115
  ## Usage
116
 
@@ -120,64 +38,41 @@ from datasets import load_dataset
120
  # Load the entire dataset
121
  dataset = load_dataset("faidrap/DCLM_German")
122
 
123
- # Load specific files/patterns
124
- dataset = load_dataset("faidrap/DCLM_German", data_files="**/cc_snapshot_1/**/*.jsonl.gz")
125
-
126
- # Stream for large datasets
127
  dataset = load_dataset("faidrap/DCLM_German", streaming=True)
 
 
 
 
128
  ```
129
 
130
  ## Example Data
131
 
132
- ```python
133
- [
134
- {
135
- "text": "Link zu diesem Datensatz\nPerson Benn, Tony\nAndere Namen Benn, Anthony W.\nWedgewood Benn, Anthony N.\nBenn, Anthony N.\nQuelle LCAuth, BLC (1976) gegen B 1986\nZeit Lebensdaten: 1925-2014\nLand Großbritann...",
136
- "metadata": {
137
- "WARC-Type": "response",
138
- "WARC-Date": "2014-08-31T00:55:33Z",
139
- "WARC-Record-ID": "<urn:uuid:7c1eb6e4-ca7d-45db-8532-327512f38e85>",
140
- "Content-Length": "7963",
141
- "Content-Type": "application/http; msgtype=response",
142
- "WARC-Warcinfo-ID": "<urn:uuid:7986c2c0-02c6-4aa2-bf61-e0ba102eec83>",
143
- "WARC-Concurrent-To": "<urn:uuid:8fac34c7-8aeb-4172-ac59-901f0cf8f5c4>",
144
- "WARC-IP-Address": "193.175.100.140",
145
- "WARC-Target-URI": "http://d-nb.info/gnd/118983296/about/html",
146
- "WARC-Payload-Digest": "sha1:LCYNHVTW44EVGQUJVSACQDW2LYWR5BMR",
147
- "WARC-Block-Digest": "sha1:LAXUCR2PMR5HYXFBDDJPAXQQHUWIH6CD"
148
- },
149
- "warcinfo": "robots: classic\r\nhostname: ip-10-180-136-8.ec2.internal\r\nsoftware: Nutch 1.6 (CC)/CC WarcExport 1.0\r\nisPartOf: CC-MAIN-2014-35\r\noperator: CommonCrawl Admin\r\ndescription: Wide crawl of the web with URLs provided by Blekko for August 2014\r\npublisher: CommonCrawl\r\nformat: WARC File Format 1.0\r\nconformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf",
150
- "url": "http://d-nb.info/gnd/118983296/about/html",
151
- "language_id_whole_page_fasttext": {
152
- "de": 0.9169723987579346
153
- },
154
- "previous_word_count": 51,
155
- "fasttext_oh25_german_prob": 0.19228917360305786
156
  },
157
- {
158
- "text": "Sozialethiker Peter Schallenberg unterstreicht Bedeutung der Familie\n\nTagung der Katholischen Bundesarbeitsgemeinschaft für Einrichtungen der Familienbildung\n\n| 1100 klicks\n\nKÖLN, 1. Juni 2007 ( Der F...",
159
- "metadata": {
160
- "WARC-Type": "response",
161
- "WARC-Date": "2014-08-31T00:44:28Z",
162
- "WARC-Record-ID": "<urn:uuid:d3fe5c8a-5737-4b73-9642-85dc7a1a7cb0>",
163
- "Content-Length": "44468",
164
- "Content-Type": "application/http; msgtype=response",
165
- "WARC-Warcinfo-ID": "<urn:uuid:7986c2c0-02c6-4aa2-bf61-e0ba102eec83>",
166
- "WARC-Concurrent-To": "<urn:uuid:aa8fb03d-8433-4dab-90b9-9a3f531ac285>",
167
- "WARC-IP-Address": "144.202.233.155",
168
- "WARC-Target-URI": "http://www.zenit.org/de/articles/sozialethiker-peter-schallenberg-unterstreicht-bedeutung-der-familie",
169
- "WARC-Payload-Digest": "sha1:4ESTPSMFSGF2A7ACWF3FTSDYDIAGKSKB",
170
- "WARC-Block-Digest": "sha1:MPRG2PNQJA2A5RJEXHKELWKP2GD76OEN"
171
- },
172
- "warcinfo": "robots: classic\r\nhostname: ip-10-180-136-8.ec2.internal\r\nsoftware: Nutch 1.6 (CC)/CC WarcExport 1.0\r\nisPartOf: CC-MAIN-2014-35\r\noperator: CommonCrawl Admin\r\ndescription: Wide crawl of the web with URLs provided by Blekko for August 2014\r\npublisher: CommonCrawl\r\nformat: WARC File Format 1.0\r\nconformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf",
173
- "url": "http://www.zenit.org/de/articles/sozialethiker-peter-schallenberg-unterstreicht-bedeutung-der-familie",
174
- "language_id_whole_page_fasttext": {
175
- "de": 0.9930596947669983
176
- },
177
- "previous_word_count": 293,
178
- "fasttext_oh25_german_prob": 0.043831586837768555
179
- }
180
- ]
181
  ```
182
 
183
  ## License
@@ -190,8 +85,8 @@ If you use this dataset, please cite:
190
 
191
  ```bibtex
192
  @dataset{dclm_german,
193
- title={DCLM German Dataset},
194
- author={Your Name},
195
  year={2024},
196
  url={https://huggingface.co/datasets/faidrap/DCLM_German}
197
  }
 
4
  - de
5
  multilinguality:
6
  - monolingual
 
 
7
  source_datasets:
8
  - original
9
  task_categories:
10
  - text-generation
11
  task_ids:
12
  - language-modeling
13
+ paperswithcode_id: null
14
+ pretty_name: DCLM-German
15
  tags:
16
  - pretraining
17
  - german
18
  - common-crawl
19
  - fasttext-filtered
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  ---
21
 
22
  # DCLM German Dataset
 
28
  - **Language**: German (de)
29
  - **Size**: 43,452 compressed JSONL files
30
  - **Source**: Common Crawl data
31
+ - **Processing**: RefinedWeb, Deduplication, FastText filtering
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
 
33
  ## Usage
34
 
 
38
  # Load the entire dataset
39
  dataset = load_dataset("faidrap/DCLM_German")
40
 
41
+ # Stream for large datasets (recommended)
 
 
 
42
  dataset = load_dataset("faidrap/DCLM_German", streaming=True)
43
+
44
+ # Access the data
45
+ for example in dataset['train']:
46
+ print(example['text'][:100]) # Print first 100 chars
47
  ```
48
 
49
  ## Example Data
50
 
51
+ ```json
52
+ {
53
+ "text": "Link zu diesem Datensatz\nPerson Benn, Tony\nAndere Namen Benn, Anthony W.\nWedgewood Benn, Anthony N.\nBenn, Anthony N.\nQuelle LCAuth, BLC (1976) gegen B 1986\nZeit Lebensdaten: 1925-2014\nLand Großbritann...",
54
+ "metadata": {
55
+ "WARC-Type": "response",
56
+ "WARC-Date": "2014-08-31T00:55:33Z",
57
+ "WARC-Record-ID": "<urn:uuid:7c1eb6e4-ca7d-45db-8532-327512f38e85>",
58
+ "Content-Length": "7963",
59
+ "Content-Type": "application/http; msgtype=response",
60
+ "WARC-Warcinfo-ID": "<urn:uuid:7986c2c0-02c6-4aa2-bf61-e0ba102eec83>",
61
+ "WARC-Concurrent-To": "<urn:uuid:8fac34c7-8aeb-4172-ac59-901f0cf8f5c4>",
62
+ "WARC-IP-Address": "193.175.100.140",
63
+ "WARC-Target-URI": "http://d-nb.info/gnd/118983296/about/html",
64
+ "WARC-Payload-Digest": "sha1:LCYNHVTW44EVGQUJVSACQDW2LYWR5BMR",
65
+ "WARC-Block-Digest": "sha1:LAXUCR2PMR5HYXFBDDJPAXQQHUWIH6CD",
66
+ "WARC-Truncated": ""
67
+ },
68
+ "warcinfo": "robots: classic\r\nhostname: ip-10-180-136-8.ec2.internal\r\nsoftware: Nutch 1.6 (CC)/CC WarcExport 1.0\r\nisPartOf: CC-MAIN-2014-35\r\noperator: CommonCrawl Admin\r\ndescription: Wide crawl of the web with URLs provided by Blekko for August 2014\r\npublisher: CommonCrawl\r\nformat: WARC File Format 1.0\r\nconformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf",
69
+ "url": "http://d-nb.info/gnd/118983296/about/html",
70
+ "language_id_whole_page_fasttext": {
71
+ "de": 0.9169723987579346
 
 
 
72
  },
73
+ "previous_word_count": 51,
74
+ "fasttext_oh25_german_prob": 0.19228917360305786
75
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
76
  ```
77
 
78
  ## License
 
85
 
86
  ```bibtex
87
  @dataset{dclm_german,
88
+ title={DCLM-German Dataset},
89
+ author={Faidra Anastasia Patsatzi},
90
  year={2024},
91
  url={https://huggingface.co/datasets/faidrap/DCLM_German}
92
  }