adameubanks commited on
Commit
5bb4ba0
·
verified ·
1 Parent(s): 07ac152

Upload dataset metadata and configuration

Browse files
.gitattributes ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ *.jsonl filter=lfs diff=lfs merge=lfs -text
2
+ *.parquet filter=lfs diff=lfs merge=lfs -text
CITATION.cff ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ cff-version: 1.2.0
2
+ title: "Filtered Articles by Year: FineWeb Dataset for Temporal Language Analysis"
3
+ message: "If you use this dataset, please cite it as shown below."
4
+ authors:
5
+ - family-names: "Eubanks"
6
+ given-names: "Adam"
7
+ email: "theadameubanks@gmail.com"
8
+ website: "https://adameubanks.github.io/"
9
+ orcid: "0000-0000-0000-0000"
10
+ title: "Filtered Articles by Year: FineWeb Dataset for Temporal Language Analysis"
11
+ version: "1.0.0"
12
+ date-released: 2025-01-15
13
+ abstract: "Yearly-filtered web articles from the FineWeb dataset spanning 2005-2025, specifically processed for temporal language analysis and Word2Vec model training. This dataset enables research into semantic change, concept emergence, and language evolution over time."
14
+ keywords:
15
+ - "text"
16
+ - "web-crawl"
17
+ - "temporal-analysis"
18
+ - "language-modeling"
19
+ - "word2vec"
20
+ - "semantic-change"
21
+ - "fineweb"
22
+ license: "MIT"
23
+ repository: "https://huggingface.co/datasets/adameubanks/filtered_articles_by_year"
24
+ repository-code: "https://github.com/adameubanks/fineweb_analysis"
25
+ url: "https://adameubanks.github.io/embeddings-over-time/"
26
+ identifiers:
27
+ - type: "doi"
28
+ value: "10.5281/zenodo.0000000"
29
+ - type: "url"
30
+ value: "https://huggingface.co/datasets/adameubanks/filtered_articles_by_year"
31
+ references:
32
+ - type: "dataset"
33
+ title: "The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scale"
34
+ authors:
35
+ - family-names: "Penedo"
36
+ given-names: "Guilherme"
37
+ - family-names: "Kydlíček"
38
+ given-names: "Hynek"
39
+ - family-names: "Ben allal"
40
+ given-names: "Loubna"
41
+ - family-names: "Lozhkov"
42
+ given-names: "Anton"
43
+ - family-names: "Mitchell"
44
+ given-names: "Margaret"
45
+ - family-names: "Raffel"
46
+ given-names: "Colin"
47
+ - family-names: "Von Werra"
48
+ given-names: "Leandro"
49
+ - family-names: "Wolf"
50
+ given-names: "Thomas"
51
+ year: 2024
52
+ url: "https://openreview.net/forum?id=n6SCkn2QaG"
53
+ doi: "10.48550/arXiv.2406.19627"
54
+ type: "article"
55
+ venue: "The Thirty-eight Conference on Neural Information Processing Systems Datasets and Benchmarks Track"
56
+ - type: "dataset"
57
+ title: "Yearly Word2Vec Embeddings: Language Evolution from 2005-2025"
58
+ authors:
59
+ - family-names: "Eubanks"
60
+ given-names: "Adam"
61
+ year: 2025
62
+ url: "https://huggingface.co/adameubanks/YearlyWord2Vec"
63
+ type: "model"
64
+ venue: "Hugging Face Hub"
65
+ - type: "webpage"
66
+ title: "Embeddings Over Time: Interactive Demo"
67
+ url: "https://adameubanks.github.io/embeddings-over-time/"
68
+ year: 2025
69
+ type: "webpage"
70
+ venue: "GitHub Pages"
LICENSE ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Adam Eubanks
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
README.md ADDED
@@ -0,0 +1,158 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license: mit
5
+ multilinguality:
6
+ - monolingual
7
+ size_categories:
8
+ - n>1T
9
+ source_datasets:
10
+ - HuggingFaceFW/fineweb
11
+ task_categories:
12
+ - text-generation
13
+ - feature-extraction
14
+ task_ids:
15
+ - language-modeling
16
+ - semantic-change-detection
17
+ paperswithcode_id: null
18
+ configs:
19
+ - config_name: "2005"
20
+ data_files: "year_2005/*.jsonl"
21
+ - config_name: "2006"
22
+ data_files: "year_2006/*.jsonl"
23
+ - config_name: "2007"
24
+ data_files: "year_2007/*.jsonl"
25
+ - config_name: "2008"
26
+ data_files: "year_2008/*.jsonl"
27
+ - config_name: "2009"
28
+ data_files: "year_2009/*.jsonl"
29
+ - config_name: "2010"
30
+ data_files: "year_2010/*.jsonl"
31
+ - config_name: "2011"
32
+ data_files: "year_2011/*.jsonl"
33
+ - config_name: "2012"
34
+ data_files: "year_2012/*.jsonl"
35
+ - config_name: "2013"
36
+ data_files: "year_2013/*.jsonl"
37
+ - config_name: "2014"
38
+ data_files: "year_2014/*.jsonl"
39
+ - config_name: "2015"
40
+ data_files: "year_2015/*.jsonl"
41
+ - config_name: "2016"
42
+ data_files: "year_2016/*.jsonl"
43
+ - config_name: "2017"
44
+ data_files: "year_2017/*.jsonl"
45
+ - config_name: "2018"
46
+ data_files: "year_2018/*.jsonl"
47
+ - config_name: "2019"
48
+ data_files: "year_2019/*.jsonl"
49
+ - config_name: "2020"
50
+ data_files: "year_2020/*.jsonl"
51
+ - config_name: "2021"
52
+ data_files: "year_2021/*.jsonl"
53
+ - config_name: "2022"
54
+ data_files: "year_2022/*.jsonl"
55
+ - config_name: "2023"
56
+ data_files: "year_2023/*.jsonl"
57
+ - config_name: "2024"
58
+ data_files: "year_2024/*.jsonl"
59
+ - config_name: "2025"
60
+ data_files: "year_2025/*.jsonl"
61
+ ---
62
+
63
+ # Dataset Card for Filtered Articles by Year
64
+
65
+ ## Dataset Description
66
+
67
+ - **Repository:** [https://huggingface.co/datasets/adameubanks/filtered_articles_by_year](https://huggingface.co/datasets/adameubanks/filtered_articles_by_year)
68
+
69
+ ### Dataset Summary
70
+
71
+ The **Filtered Articles by Year** dataset contains yearly-segmented web articles from the [FineWeb dataset](https://huggingface.co/datasets/HuggingFaceFW/fineweb), specifically filtered and processed for temporal language analysis and Word2Vec model training. This dataset spans 21 years (2005-2025) and serves as the foundation for research into semantic change, concept emergence, and language evolution over time.
72
+
73
+ ### Supported Tasks and Leaderboards
74
+
75
+ This dataset supports several tasks:
76
+
77
+ - **Language Modeling**: Training language models on specific time periods
78
+ - **Semantic Change Detection**: Tracking how word meanings evolve over time
79
+ - **Temporal Analysis**: Studying language evolution and concept emergence
80
+ - **Word2Vec Training**: Creating time-specific word embeddings
81
+
82
+ ### Languages
83
+
84
+ The dataset contains English text only.
85
+
86
+ ## Dataset Structure
87
+
88
+ ### Data Instances
89
+
90
+ Each article contains three fields:
91
+ - **`url`**: Source URL of the web page
92
+ - **`text`**: Extracted and cleaned text content
93
+ - **`hash`**: Content hash for deduplication purposes
94
+
95
+ ### Data Fields
96
+
97
+ - `url`: string - The source URL of the web page
98
+ - `text`: string - The extracted and cleaned text content
99
+ - `hash`: string - Content hash for deduplication purposes
100
+
101
+ ### Data Splits
102
+
103
+ Each year is available as a separate configuration, with all articles from that year in the training split.
104
+
105
+ ### Source Data
106
+
107
+ #### Initial Data Collection and Normalization
108
+
109
+ The dataset originates from the **FineWeb dataset**, which contains high-quality web text extracted from Common Crawl (CC-MAIN) snapshots using advanced content extraction and filtering techniques.
110
+
111
+ #### Who are the source language producers?
112
+
113
+ The text content comes from web pages crawled by Common Crawl, representing a diverse range of web content producers including news sites, blogs, educational resources, and other web content.
114
+
115
+ ### Annotations
116
+
117
+ #### Annotation process
118
+
119
+ No additional annotations were added beyond the original FineWeb processing.
120
+
121
+ #### Who are the annotators?
122
+
123
+ N/A - uses original FineWeb annotations and quality scores.
124
+
125
+ ### Personal and Sensitive Information
126
+
127
+ The dataset contains web content that may include personal information depending on the source websites. Users should be aware of privacy considerations when using this data.
128
+
129
+ ## Additional Information
130
+
131
+ ### Dataset Curators
132
+
133
+ - **Adam Eubanks** - Primary curator and researcher
134
+ - **FineWeb Team** - Original dataset creators
135
+
136
+ ### Licensing Information
137
+
138
+ This dataset is released under the MIT License.
139
+
140
+ ### Citation Information
141
+
142
+ ```bibtex
143
+ @misc{filtered_articles_by_year_2025,
144
+ title={Filtered Articles by Year: FineWeb Dataset for Temporal Language Analysis},
145
+ author={Adam Eubanks},
146
+ year={2025},
147
+ url={https://huggingface.co/datasets/adameubanks/filtered_articles_by_year},
148
+ note={Yearly-filtered web articles for Word2Vec training and semantic change research}
149
+ }
150
+ ```
151
+
152
+ ### Contributions
153
+
154
+ We welcome contributions to improve the dataset documentation, processing scripts, or research applications.
155
+
156
+ ### Dataset Card Authors
157
+
158
+ Adam Eubanks
dataset_infos.json ADDED
@@ -0,0 +1,772 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "default": {
3
+ "config_name": "2005",
4
+ "version": "1.0.0",
5
+ "data_dir": ".",
6
+ "data_files": {
7
+ "train": "year_2005/*.jsonl"
8
+ },
9
+ "features": {
10
+ "url": {
11
+ "dtype": "string",
12
+ "_type": "Value"
13
+ },
14
+ "text": {
15
+ "dtype": "string",
16
+ "_type": "Value"
17
+ },
18
+ "hash": {
19
+ "dtype": "string",
20
+ "_type": "Value"
21
+ }
22
+ },
23
+ "builder_name": "json",
24
+ "citation": "@misc{filtered_articles_by_year_2025, title={Filtered Articles by Year: FineWeb Dataset for Temporal Language Analysis}, author={Adam Eubanks}, year={2025}, url={https://huggingface.co/datasets/adameubanks/filtered_articles_by_year}, note={Yearly-filtered web articles for Word2Vec training and semantic change research}}",
25
+ "dataset_name": "filtered_articles_by_year",
26
+ "description": "Articles from 2005 (2.3 GB, 689,905 articles)",
27
+ "homepage": "https://adameubanks.github.io/embeddings-over-time/",
28
+ "license": "mit",
29
+ "splits": {
30
+ "train": {
31
+ "name": "train",
32
+ "num_examples": 689905
33
+ }
34
+ },
35
+ "task_templates": []
36
+ },
37
+ "2005": {
38
+ "config_name": "2005",
39
+ "version": "1.0.0",
40
+ "data_dir": ".",
41
+ "data_files": {
42
+ "train": "year_2005/*.jsonl"
43
+ },
44
+ "features": {
45
+ "url": {
46
+ "dtype": "string",
47
+ "_type": "Value"
48
+ },
49
+ "text": {
50
+ "dtype": "string",
51
+ "_type": "Value"
52
+ },
53
+ "hash": {
54
+ "dtype": "string",
55
+ "_type": "Value"
56
+ }
57
+ },
58
+ "builder_name": "json",
59
+ "citation": "@misc{filtered_articles_by_year_2025, title={Filtered Articles by Year: FineWeb Dataset for Temporal Language Analysis}, author={Adam Eubanks}, year={2025}, url={https://huggingface.co/datasets/adameubanks/filtered_articles_by_year}, note={Yearly-filtered web articles for Word2Vec training and semantic change research}}",
60
+ "dataset_name": "filtered_articles_by_year",
61
+ "description": "Articles from 2005 (2.3 GB, 689,905 articles)",
62
+ "homepage": "https://adameubanks.github.io/embeddings-over-time/",
63
+ "license": "mit",
64
+ "splits": {
65
+ "train": {
66
+ "name": "train",
67
+ "num_examples": 689905
68
+ }
69
+ },
70
+ "task_templates": []
71
+ },
72
+ "2006": {
73
+ "config_name": "2006",
74
+ "version": "1.0.0",
75
+ "data_dir": ".",
76
+ "data_files": {
77
+ "train": "year_2006/*.jsonl"
78
+ },
79
+ "features": {
80
+ "url": {
81
+ "dtype": "string",
82
+ "_type": "Value"
83
+ },
84
+ "text": {
85
+ "dtype": "string",
86
+ "_type": "Value"
87
+ },
88
+ "hash": {
89
+ "dtype": "string",
90
+ "_type": "Value"
91
+ }
92
+ },
93
+ "builder_name": "json",
94
+ "citation": "@misc{filtered_articles_by_year_2025, title={Filtered Articles by Year: FineWeb Dataset for Temporal Language Analysis}, author={Adam Eubanks}, year={2025}, url={https://huggingface.co/datasets/adameubanks/filtered_articles_by_year}, note={Yearly-filtered web articles for Word2Vec training and semantic change research}}",
95
+ "dataset_name": "filtered_articles_by_year",
96
+ "description": "Articles from 2006 (3.3 GB, 1,047,683 articles)",
97
+ "homepage": "https://adameubanks.github.io/embeddings-over-time/",
98
+ "license": "mit",
99
+ "splits": {
100
+ "train": {
101
+ "name": "train",
102
+ "num_examples": 1047683
103
+ }
104
+ },
105
+ "task_templates": []
106
+ },
107
+ "2007": {
108
+ "config_name": "2007",
109
+ "version": "1.0.0",
110
+ "data_dir": ".",
111
+ "data_files": {
112
+ "train": "year_2007/*.jsonl"
113
+ },
114
+ "features": {
115
+ "url": {
116
+ "dtype": "string",
117
+ "_type": "Value"
118
+ },
119
+ "text": {
120
+ "dtype": "string",
121
+ "_type": "Value"
122
+ },
123
+ "hash": {
124
+ "dtype": "string",
125
+ "_type": "Value"
126
+ }
127
+ },
128
+ "builder_name": "json",
129
+ "citation": "@misc{filtered_articles_by_year_2025, title={Filtered Articles by Year: FineWeb Dataset for Temporal Language Analysis}, author={Adam Eubanks}, year={2025}, url={https://huggingface.co/datasets/adameubanks/filtered_articles_by_year}, note={Yearly-filtered web articles for Word2Vec training and semantic change research}}",
130
+ "dataset_name": "filtered_articles_by_year",
131
+ "description": "Articles from 2007 (4.5 GB, 1,468,094 articles)",
132
+ "homepage": "https://adameubanks.github.io/embeddings-over-time/",
133
+ "license": "mit",
134
+ "splits": {
135
+ "train": {
136
+ "name": "train",
137
+ "num_examples": 1468094
138
+ }
139
+ },
140
+ "task_templates": []
141
+ },
142
+ "2008": {
143
+ "config_name": "2008",
144
+ "version": "1.0.0",
145
+ "data_dir": ".",
146
+ "data_files": {
147
+ "train": "year_2008/*.jsonl"
148
+ },
149
+ "features": {
150
+ "url": {
151
+ "dtype": "string",
152
+ "_type": "Value"
153
+ },
154
+ "text": {
155
+ "dtype": "string",
156
+ "_type": "Value"
157
+ },
158
+ "hash": {
159
+ "dtype": "string",
160
+ "_type": "Value"
161
+ }
162
+ },
163
+ "builder_name": "json",
164
+ "citation": "@misc{filtered_articles_by_year_2025, title={Filtered Articles by Year: FineWeb Dataset for Temporal Language Analysis}, author={Adam Eubanks}, year={2025}, url={https://huggingface.co/datasets/adameubanks/filtered_articles_by_year}, note={Yearly-filtered web articles for Word2Vec training and semantic change research}}",
165
+ "dataset_name": "filtered_articles_by_year",
166
+ "description": "Articles from 2008 (7.0 GB, 2,379,636 articles)",
167
+ "homepage": "https://adameubanks.github.io/embeddings-over-time/",
168
+ "license": "mit",
169
+ "splits": {
170
+ "train": {
171
+ "name": "train",
172
+ "num_examples": 2379636
173
+ }
174
+ },
175
+ "task_templates": []
176
+ },
177
+ "2009": {
178
+ "config_name": "2009",
179
+ "version": "1.0.0",
180
+ "data_dir": ".",
181
+ "data_files": {
182
+ "train": "year_2009/*.jsonl"
183
+ },
184
+ "features": {
185
+ "url": {
186
+ "dtype": "string",
187
+ "_type": "Value"
188
+ },
189
+ "text": {
190
+ "dtype": "string",
191
+ "_type": "Value"
192
+ },
193
+ "hash": {
194
+ "dtype": "string",
195
+ "_type": "Value"
196
+ }
197
+ },
198
+ "builder_name": "json",
199
+ "citation": "@misc{filtered_articles_by_year_2025, title={Filtered Articles by Year: FineWeb Dataset for Temporal Language Analysis}, author={Adam Eubanks}, year={2025}, url={https://huggingface.co/datasets/adameubanks/filtered_articles_by_year}, note={Yearly-filtered web articles for Word2Vec training and semantic change research}}",
200
+ "dataset_name": "filtered_articles_by_year",
201
+ "description": "Articles from 2009 (9.3 GB, 3,251,110 articles)",
202
+ "homepage": "https://adameubanks.github.io/embeddings-over-time/",
203
+ "license": "mit",
204
+ "splits": {
205
+ "train": {
206
+ "name": "train",
207
+ "num_examples": 3251110
208
+ }
209
+ },
210
+ "task_templates": []
211
+ },
212
+ "2010": {
213
+ "config_name": "2010",
214
+ "version": "1.0.0",
215
+ "data_dir": ".",
216
+ "data_files": {
217
+ "train": "year_2010/*.jsonl"
218
+ },
219
+ "features": {
220
+ "url": {
221
+ "dtype": "string",
222
+ "_type": "Value"
223
+ },
224
+ "text": {
225
+ "dtype": "string",
226
+ "_type": "Value"
227
+ },
228
+ "hash": {
229
+ "dtype": "string",
230
+ "_type": "Value"
231
+ }
232
+ },
233
+ "builder_name": "json",
234
+ "citation": "@misc{filtered_articles_by_year_2025, title={Filtered Articles by Year: FineWeb Dataset for Temporal Language Analysis}, author={Adam Eubanks}, year={2025}, url={https://huggingface.co/datasets/adameubanks/filtered_articles_by_year}, note={Yearly-filtered web articles for Word2Vec training and semantic change research}}",
235
+ "dataset_name": "filtered_articles_by_year",
236
+ "description": "Articles from 2010 (11.6 GB, 4,102,893 articles)",
237
+ "homepage": "https://adameubanks.github.io/embeddings-over-time/",
238
+ "license": "mit",
239
+ "splits": {
240
+ "train": {
241
+ "name": "train",
242
+ "num_examples": 4102893
243
+ }
244
+ },
245
+ "task_templates": []
246
+ },
247
+ "2011": {
248
+ "config_name": "2011",
249
+ "version": "1.0.0",
250
+ "data_dir": ".",
251
+ "data_files": {
252
+ "train": "year_2011/*.jsonl"
253
+ },
254
+ "features": {
255
+ "url": {
256
+ "dtype": "string",
257
+ "_type": "Value"
258
+ },
259
+ "text": {
260
+ "dtype": "string",
261
+ "_type": "Value"
262
+ },
263
+ "hash": {
264
+ "dtype": "string",
265
+ "_type": "Value"
266
+ }
267
+ },
268
+ "builder_name": "json",
269
+ "citation": "@misc{filtered_articles_by_year_2025, title={Filtered Articles by Year: FineWeb Dataset for Temporal Language Analysis}, author={Adam Eubanks}, year={2025}, url={https://huggingface.co/datasets/adameubanks/filtered_articles_by_year}, note={Yearly-filtered web articles for Word2Vec training and semantic change research}}",
270
+ "dataset_name": "filtered_articles_by_year",
271
+ "description": "Articles from 2011 (12.5 GB, 4,446,823 articles)",
272
+ "homepage": "https://adameubanks.github.io/embeddings-over-time/",
273
+ "license": "mit",
274
+ "splits": {
275
+ "train": {
276
+ "name": "train",
277
+ "num_examples": 4446823
278
+ }
279
+ },
280
+ "task_templates": []
281
+ },
282
+ "2012": {
283
+ "config_name": "2012",
284
+ "version": "1.0.0",
285
+ "data_dir": ".",
286
+ "data_files": {
287
+ "train": "year_2012/*.jsonl"
288
+ },
289
+ "features": {
290
+ "url": {
291
+ "dtype": "string",
292
+ "_type": "Value"
293
+ },
294
+ "text": {
295
+ "dtype": "string",
296
+ "_type": "Value"
297
+ },
298
+ "hash": {
299
+ "dtype": "string",
300
+ "_type": "Value"
301
+ }
302
+ },
303
+ "builder_name": "json",
304
+ "citation": "@misc{filtered_articles_by_year_2025, title={Filtered Articles by Year: FineWeb Dataset for Temporal Language Analysis}, author={Adam Eubanks}, year={2025}, url={https://huggingface.co/datasets/adameubanks/filtered_articles_by_year}, note={Yearly-filtered web articles for Word2Vec training and semantic change research}}",
305
+ "dataset_name": "filtered_articles_by_year",
306
+ "description": "Articles from 2012 (20.0 GB, 7,276,289 articles)",
307
+ "homepage": "https://adameubanks.github.io/embeddings-over-time/",
308
+ "license": "mit",
309
+ "splits": {
310
+ "train": {
311
+ "name": "train",
312
+ "num_examples": 7276289
313
+ }
314
+ },
315
+ "task_templates": []
316
+ },
317
+ "2013": {
318
+ "config_name": "2013",
319
+ "version": "1.0.0",
320
+ "data_dir": ".",
321
+ "data_files": {
322
+ "train": "year_2013/*.jsonl"
323
+ },
324
+ "features": {
325
+ "url": {
326
+ "dtype": "string",
327
+ "_type": "Value"
328
+ },
329
+ "text": {
330
+ "dtype": "string",
331
+ "_type": "Value"
332
+ },
333
+ "hash": {
334
+ "dtype": "string",
335
+ "_type": "Value"
336
+ }
337
+ },
338
+ "builder_name": "json",
339
+ "citation": "@misc{filtered_articles_by_year_2025, title={Filtered Articles by Year: FineWeb Dataset for Temporal Language Analysis}, author={Adam Eubanks}, year={2025}, url={https://huggingface.co/datasets/adameubanks/filtered_articles_by_year}, note={Yearly-filtered web articles for Word2Vec training and semantic change research}}",
340
+ "dataset_name": "filtered_articles_by_year",
341
+ "description": "Articles from 2013 (15.7 GB, 5,626,713 articles)",
342
+ "homepage": "https://adameubanks.github.io/embeddings-over-time/",
343
+ "license": "mit",
344
+ "splits": {
345
+ "train": {
346
+ "name": "train",
347
+ "num_examples": 5626713
348
+ }
349
+ },
350
+ "task_templates": []
351
+ },
352
+ "2014": {
353
+ "config_name": "2014",
354
+ "version": "1.0.0",
355
+ "data_dir": ".",
356
+ "data_files": {
357
+ "train": "year_2014/*.jsonl"
358
+ },
359
+ "features": {
360
+ "url": {
361
+ "dtype": "string",
362
+ "_type": "Value"
363
+ },
364
+ "text": {
365
+ "dtype": "string",
366
+ "_type": "Value"
367
+ },
368
+ "hash": {
369
+ "dtype": "string",
370
+ "_type": "Value"
371
+ }
372
+ },
373
+ "builder_name": "json",
374
+ "citation": "@misc{filtered_articles_by_year_2025, title={Filtered Articles by Year: FineWeb Dataset for Temporal Language Analysis}, author={Adam Eubanks}, year={2025}, url={https://huggingface.co/datasets/adameubanks/filtered_articles_by_year}, note={Yearly-filtered web articles for Word2Vec training and semantic change research}}",
375
+ "dataset_name": "filtered_articles_by_year",
376
+ "description": "Articles from 2014 (8.7 GB, 2,868,446 articles)",
377
+ "homepage": "https://adameubanks.github.io/embeddings-over-time/",
378
+ "license": "mit",
379
+ "splits": {
380
+ "train": {
381
+ "name": "train",
382
+ "num_examples": 2868446
383
+ }
384
+ },
385
+ "task_templates": []
386
+ },
387
+ "2015": {
388
+ "config_name": "2015",
389
+ "version": "1.0.0",
390
+ "data_dir": ".",
391
+ "data_files": {
392
+ "train": "year_2015/*.jsonl"
393
+ },
394
+ "features": {
395
+ "url": {
396
+ "dtype": "string",
397
+ "_type": "Value"
398
+ },
399
+ "text": {
400
+ "dtype": "string",
401
+ "_type": "Value"
402
+ },
403
+ "hash": {
404
+ "dtype": "string",
405
+ "_type": "Value"
406
+ }
407
+ },
408
+ "builder_name": "json",
409
+ "citation": "@misc{filtered_articles_by_year_2025, title={Filtered Articles by Year: FineWeb Dataset for Temporal Language Analysis}, author={Adam Eubanks}, year={2025}, url={https://huggingface.co/datasets/adameubanks/filtered_articles_by_year}, note={Yearly-filtered web articles for Word2Vec training and semantic change research}}",
410
+ "dataset_name": "filtered_articles_by_year",
411
+ "description": "Articles from 2015 (8.7 GB, 2,762,626 articles)",
412
+ "homepage": "https://adameubanks.github.io/embeddings-over-time/",
413
+ "license": "mit",
414
+ "splits": {
415
+ "train": {
416
+ "name": "train",
417
+ "num_examples": 2762626
418
+ }
419
+ },
420
+ "task_templates": []
421
+ },
422
+ "2016": {
423
+ "config_name": "2016",
424
+ "version": "1.0.0",
425
+ "data_dir": ".",
426
+ "data_files": {
427
+ "train": "year_2016/*.jsonl"
428
+ },
429
+ "features": {
430
+ "url": {
431
+ "dtype": "string",
432
+ "_type": "Value"
433
+ },
434
+ "text": {
435
+ "dtype": "string",
436
+ "_type": "Value"
437
+ },
438
+ "hash": {
439
+ "dtype": "string",
440
+ "_type": "Value"
441
+ }
442
+ },
443
+ "builder_name": "json",
444
+ "citation": "@misc{filtered_articles_by_year_2025, title={Filtered Articles by Year: FineWeb Dataset for Temporal Language Analysis}, author={Adam Eubanks}, year={2025}, url={https://huggingface.co/datasets/adameubanks/filtered_articles_by_year}, note={Yearly-filtered web articles for Word2Vec training and semantic change research}}",
445
+ "dataset_name": "filtered_articles_by_year",
446
+ "description": "Articles from 2016 (9.4 GB, 2,901,744 articles)",
447
+ "homepage": "https://adameubanks.github.io/embeddings-over-time/",
448
+ "license": "mit",
449
+ "splits": {
450
+ "train": {
451
+ "name": "train",
452
+ "num_examples": 2901744
453
+ }
454
+ },
455
+ "task_templates": []
456
+ },
457
+ "2017": {
458
+ "config_name": "2017",
459
+ "version": "1.0.0",
460
+ "data_dir": ".",
461
+ "data_files": {
462
+ "train": "year_2017/*.jsonl"
463
+ },
464
+ "features": {
465
+ "url": {
466
+ "dtype": "string",
467
+ "_type": "Value"
468
+ },
469
+ "text": {
470
+ "dtype": "string",
471
+ "_type": "Value"
472
+ },
473
+ "hash": {
474
+ "dtype": "string",
475
+ "_type": "Value"
476
+ }
477
+ },
478
+ "builder_name": "json",
479
+ "citation": "@misc{filtered_articles_by_year_2025, title={Filtered Articles by Year: FineWeb Dataset for Temporal Language Analysis}, author={Adam Eubanks}, year={2025}, url={https://huggingface.co/datasets/adameubanks/filtered_articles_by_year}, note={Yearly-filtered web articles for Word2Vec training and semantic change research}}",
480
+ "dataset_name": "filtered_articles_by_year",
481
+ "description": "Articles from 2017 (10.1 GB, 3,085,758 articles)",
482
+ "homepage": "https://adameubanks.github.io/embeddings-over-time/",
483
+ "license": "mit",
484
+ "splits": {
485
+ "train": {
486
+ "name": "train",
487
+ "num_examples": 3085758
488
+ }
489
+ },
490
+ "task_templates": []
491
+ },
492
+ "2018": {
493
+ "config_name": "2018",
494
+ "version": "1.0.0",
495
+ "data_dir": ".",
496
+ "data_files": {
497
+ "train": "year_2018/*.jsonl"
498
+ },
499
+ "features": {
500
+ "url": {
501
+ "dtype": "string",
502
+ "_type": "Value"
503
+ },
504
+ "text": {
505
+ "dtype": "string",
506
+ "_type": "Value"
507
+ },
508
+ "hash": {
509
+ "dtype": "string",
510
+ "_type": "Value"
511
+ }
512
+ },
513
+ "builder_name": "json",
514
+ "citation": "@misc{filtered_articles_by_year_2025, title={Filtered Articles by Year: FineWeb Dataset for Temporal Language Analysis}, author={Adam Eubanks}, year={2025}, url={https://huggingface.co/datasets/adameubanks/filtered_articles_by_year}, note={Yearly-filtered web articles for Word2Vec training and semantic change research}}",
515
+ "dataset_name": "filtered_articles_by_year",
516
+ "description": "Articles from 2018 (10.4 GB, 3,103,828 articles)",
517
+ "homepage": "https://adameubanks.github.io/embeddings-over-time/",
518
+ "license": "mit",
519
+ "splits": {
520
+ "train": {
521
+ "name": "train",
522
+ "num_examples": 3103828
523
+ }
524
+ },
525
+ "task_templates": []
526
+ },
527
+ "2019": {
528
+ "config_name": "2019",
529
+ "version": "1.0.0",
530
+ "data_dir": ".",
531
+ "data_files": {
532
+ "train": "year_2019/*.jsonl"
533
+ },
534
+ "features": {
535
+ "url": {
536
+ "dtype": "string",
537
+ "_type": "Value"
538
+ },
539
+ "text": {
540
+ "dtype": "string",
541
+ "_type": "Value"
542
+ },
543
+ "hash": {
544
+ "dtype": "string",
545
+ "_type": "Value"
546
+ }
547
+ },
548
+ "builder_name": "json",
549
+ "citation": "@misc{filtered_articles_by_year_2025, title={Filtered Articles by Year: FineWeb Dataset for Temporal Language Analysis}, author={Adam Eubanks}, year={2025}, url={https://huggingface.co/datasets/adameubanks/filtered_articles_by_year}, note={Yearly-filtered web articles for Word2Vec training and semantic change research}}",
550
+ "dataset_name": "filtered_articles_by_year",
551
+ "description": "Articles from 2019 (10.9 GB, 3,187,052 articles)",
552
+ "homepage": "https://adameubanks.github.io/embeddings-over-time/",
553
+ "license": "mit",
554
+ "splits": {
555
+ "train": {
556
+ "name": "train",
557
+ "num_examples": 3187052
558
+ }
559
+ },
560
+ "task_templates": []
561
+ },
562
+ "2020": {
563
+ "config_name": "2020",
564
+ "version": "1.0.0",
565
+ "data_dir": ".",
566
+ "data_files": {
567
+ "train": "year_2020/*.jsonl"
568
+ },
569
+ "features": {
570
+ "url": {
571
+ "dtype": "string",
572
+ "_type": "Value"
573
+ },
574
+ "text": {
575
+ "dtype": "string",
576
+ "_type": "Value"
577
+ },
578
+ "hash": {
579
+ "dtype": "string",
580
+ "_type": "Value"
581
+ }
582
+ },
583
+ "builder_name": "json",
584
+ "citation": "@misc{filtered_articles_by_year_2025, title={Filtered Articles by Year: FineWeb Dataset for Temporal Language Analysis}, author={Adam Eubanks}, year={2025}, url={https://huggingface.co/datasets/adameubanks/filtered_articles_by_year}, note={Yearly-filtered web articles for Word2Vec training and semantic change research}}",
585
+ "dataset_name": "filtered_articles_by_year",
586
+ "description": "Articles from 2020 (12.9 GB, 3,610,390 articles)",
587
+ "homepage": "https://adameubanks.github.io/embeddings-over-time/",
588
+ "license": "mit",
589
+ "splits": {
590
+ "train": {
591
+ "name": "train",
592
+ "num_examples": 3610390
593
+ }
594
+ },
595
+ "task_templates": []
596
+ },
597
+ "2021": {
598
+ "config_name": "2021",
599
+ "version": "1.0.0",
600
+ "data_dir": ".",
601
+ "data_files": {
602
+ "train": "year_2021/*.jsonl"
603
+ },
604
+ "features": {
605
+ "url": {
606
+ "dtype": "string",
607
+ "_type": "Value"
608
+ },
609
+ "text": {
610
+ "dtype": "string",
611
+ "_type": "Value"
612
+ },
613
+ "hash": {
614
+ "dtype": "string",
615
+ "_type": "Value"
616
+ }
617
+ },
618
+ "builder_name": "json",
619
+ "citation": "@misc{filtered_articles_by_year_2025, title={Filtered Articles by Year: FineWeb Dataset for Temporal Language Analysis}, author={Adam Eubanks}, year={2025}, url={https://huggingface.co/datasets/adameubanks/filtered_articles_by_year}, note={Yearly-filtered web articles for Word2Vec training and semantic change research}}",
620
+ "dataset_name": "filtered_articles_by_year",
621
+ "description": "Articles from 2021 (14.3 GB, 3,903,312 articles)",
622
+ "homepage": "https://adameubanks.github.io/embeddings-over-time/",
623
+ "license": "mit",
624
+ "splits": {
625
+ "train": {
626
+ "name": "train",
627
+ "num_examples": 3903312
628
+ }
629
+ },
630
+ "task_templates": []
631
+ },
632
+ "2022": {
633
+ "config_name": "2022",
634
+ "version": "1.0.0",
635
+ "data_dir": ".",
636
+ "data_files": {
637
+ "train": "year_2022/*.jsonl"
638
+ },
639
+ "features": {
640
+ "url": {
641
+ "dtype": "string",
642
+ "_type": "Value"
643
+ },
644
+ "text": {
645
+ "dtype": "string",
646
+ "_type": "Value"
647
+ },
648
+ "hash": {
649
+ "dtype": "string",
650
+ "_type": "Value"
651
+ }
652
+ },
653
+ "builder_name": "json",
654
+ "citation": "@misc{filtered_articles_by_year_2025, title={Filtered Articles by Year: FineWeb Dataset for Temporal Language Analysis}, author={Adam Eubanks}, year={2025}, url={https://huggingface.co/datasets/adameubanks/filtered_articles_by_year}, note={Yearly-filtered web articles for Word2Vec training and semantic change research}}",
655
+ "dataset_name": "filtered_articles_by_year",
656
+ "description": "Articles from 2022 (16.5 GB, 4,330,132 articles)",
657
+ "homepage": "https://adameubanks.github.io/embeddings-over-time/",
658
+ "license": "mit",
659
+ "splits": {
660
+ "train": {
661
+ "name": "train",
662
+ "num_examples": 4330132
663
+ }
664
+ },
665
+ "task_templates": []
666
+ },
667
+ "2023": {
668
+ "config_name": "2023",
669
+ "version": "1.0.0",
670
+ "data_dir": ".",
671
+ "data_files": {
672
+ "train": "year_2023/*.jsonl"
673
+ },
674
+ "features": {
675
+ "url": {
676
+ "dtype": "string",
677
+ "_type": "Value"
678
+ },
679
+ "text": {
680
+ "dtype": "string",
681
+ "_type": "Value"
682
+ },
683
+ "hash": {
684
+ "dtype": "string",
685
+ "_type": "Value"
686
+ }
687
+ },
688
+ "builder_name": "json",
689
+ "citation": "@misc{filtered_articles_by_year_2025, title={Filtered Articles by Year: FineWeb Dataset for Temporal Language Analysis}, author={Adam Eubanks}, year={2025}, url={https://huggingface.co/datasets/adameubanks/filtered_articles_by_year}, note={Yearly-filtered web articles for Word2Vec training and semantic change research}}",
690
+ "dataset_name": "filtered_articles_by_year",
691
+ "description": "Articles from 2023 (21.6 GB, 5,188,559 articles)",
692
+ "homepage": "https://adameubanks.github.io/embeddings-over-time/",
693
+ "license": "mit",
694
+ "splits": {
695
+ "train": {
696
+ "name": "train",
697
+ "num_examples": 5188559
698
+ }
699
+ },
700
+ "task_templates": []
701
+ },
702
+ "2024": {
703
+ "config_name": "2024",
704
+ "version": "1.0.0",
705
+ "data_dir": ".",
706
+ "data_files": {
707
+ "train": "year_2024/*.jsonl"
708
+ },
709
+ "features": {
710
+ "url": {
711
+ "dtype": "string",
712
+ "_type": "Value"
713
+ },
714
+ "text": {
715
+ "dtype": "string",
716
+ "_type": "Value"
717
+ },
718
+ "hash": {
719
+ "dtype": "string",
720
+ "_type": "Value"
721
+ }
722
+ },
723
+ "builder_name": "json",
724
+ "citation": "@misc{filtered_articles_by_year_2025, title={Filtered Articles by Year: FineWeb Dataset for Temporal Language Analysis}, author={Adam Eubanks}, year={2025}, url={https://huggingface.co/datasets/adameubanks/filtered_articles_by_year}, note={Yearly-filtered web articles for Word2Vec training and semantic change research}}",
725
+ "dataset_name": "filtered_articles_by_year",
726
+ "description": "Articles from 2024 (27.9 GB, 6,443,985 articles)",
727
+ "homepage": "https://adameubanks.github.io/embeddings-over-time/",
728
+ "license": "mit",
729
+ "splits": {
730
+ "train": {
731
+ "name": "train",
732
+ "num_examples": 6443985
733
+ }
734
+ },
735
+ "task_templates": []
736
+ },
737
+ "2025": {
738
+ "config_name": "2025",
739
+ "version": "1.0.0",
740
+ "data_dir": ".",
741
+ "data_files": {
742
+ "train": "year_2025/*.jsonl"
743
+ },
744
+ "features": {
745
+ "url": {
746
+ "dtype": "string",
747
+ "_type": "Value"
748
+ },
749
+ "text": {
750
+ "dtype": "string",
751
+ "_type": "Value"
752
+ },
753
+ "hash": {
754
+ "dtype": "string",
755
+ "_type": "Value"
756
+ }
757
+ },
758
+ "builder_name": "json",
759
+ "citation": "@misc{filtered_articles_by_year_2025, title={Filtered Articles by Year: FineWeb Dataset for Temporal Language Analysis}, author={Adam Eubanks}, year={2025}, url={https://huggingface.co/datasets/adameubanks/filtered_articles_by_year}, note={Yearly-filtered web articles for Word2Vec training and semantic change research}}",
760
+ "dataset_name": "filtered_articles_by_year",
761
+ "description": "Articles from 2025 (16.6 GB, 3,625,629 articles)",
762
+ "homepage": "https://adameubanks.github.io/embeddings-over-time/",
763
+ "license": "mit",
764
+ "splits": {
765
+ "train": {
766
+ "name": "train",
767
+ "num_examples": 3625629
768
+ }
769
+ },
770
+ "task_templates": []
771
+ }
772
+ }
generate_dataset_config.py ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """
3
+ Generate Hugging Face dataset configuration for filtered_articles_by_year
4
+ """
5
+
6
+ import json
7
+ import os
8
+ from pathlib import Path
9
+
10
+ # Year configurations with metadata
11
+ YEAR_CONFIGS = {
12
+ "2005": {"size_gb": 2.3, "articles": 689905},
13
+ "2006": {"size_gb": 3.3, "articles": 1047683},
14
+ "2007": {"size_gb": 4.5, "articles": 1468094},
15
+ "2008": {"size_gb": 7.0, "articles": 2379636},
16
+ "2009": {"size_gb": 9.3, "articles": 3251110},
17
+ "2010": {"size_gb": 11.6, "articles": 4102893},
18
+ "2011": {"size_gb": 12.5, "articles": 4446823},
19
+ "2012": {"size_gb": 20.0, "articles": 7276289},
20
+ "2013": {"size_gb": 15.7, "articles": 5626713},
21
+ "2014": {"size_gb": 8.7, "articles": 2868446},
22
+ "2015": {"size_gb": 8.7, "articles": 2762626},
23
+ "2016": {"size_gb": 9.4, "articles": 2901744},
24
+ "2017": {"size_gb": 10.1, "articles": 3085758},
25
+ "2018": {"size_gb": 10.4, "articles": 3103828},
26
+ "2019": {"size_gb": 10.9, "articles": 3187052},
27
+ "2020": {"size_gb": 12.9, "articles": 3610390},
28
+ "2021": {"size_gb": 14.3, "articles": 3903312},
29
+ "2022": {"size_gb": 16.5, "articles": 4330132},
30
+ "2023": {"size_gb": 21.6, "articles": 5188559},
31
+ "2024": {"size_gb": 27.9, "articles": 6443985},
32
+ "2025": {"size_gb": 16.6, "articles": 3625629}
33
+ }
34
+
35
+ def create_year_config(year: str, config: dict) -> dict:
36
+ return {
37
+ "config_name": year,
38
+ "version": "1.0.0",
39
+ "data_dir": ".",
40
+ # Point to year shards
41
+ "data_files": {"train": f"year_{year}/*.jsonl"},
42
+ "features": {
43
+ "url": {"dtype": "string", "_type": "Value"},
44
+ "text": {"dtype": "string", "_type": "Value"},
45
+ "hash": {"dtype": "string", "_type": "Value"}
46
+ },
47
+ "builder_name": "json",
48
+ "citation": "@misc{filtered_articles_by_year_2025, title={Filtered Articles by Year: FineWeb Dataset for Temporal Language Analysis}, author={Adam Eubanks}, year={2025}, url={https://huggingface.co/datasets/adameubanks/filtered_articles_by_year}, note={Yearly-filtered web articles for Word2Vec training and semantic change research}}",
49
+ "dataset_name": "filtered_articles_by_year",
50
+ "description": f"Articles from {year} ({config['size_gb']} GB, {config['articles']:,} articles)",
51
+ "homepage": "https://adameubanks.github.io/embeddings-over-time/",
52
+ "license": "mit",
53
+ "splits": {
54
+ "train": {
55
+ "name": "train",
56
+ "num_examples": config["articles"]
57
+ }
58
+ },
59
+ "task_templates": [],
60
+ }
61
+
62
+ def generate_dataset_infos() -> dict:
63
+ dataset_infos = {}
64
+ # Default to the first year
65
+ first_year = sorted(YEAR_CONFIGS.keys())[0]
66
+ dataset_infos["default"] = create_year_config(first_year, YEAR_CONFIGS[first_year])
67
+ for year, cfg in YEAR_CONFIGS.items():
68
+ dataset_infos[year] = create_year_config(year, cfg)
69
+ return dataset_infos
70
+
71
+ def main():
72
+ infos = generate_dataset_infos()
73
+ with open("dataset_infos.json", "w") as f:
74
+ json.dump(infos, f, indent=2)
75
+ print("Wrote dataset_infos.json with", len(infos), "configs")
76
+
77
+ if __name__ == "__main__":
78
+ main()
split_jsonl_to_shards.py ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ import os
3
+ import sys
4
+ import json
5
+ import argparse
6
+ from pathlib import Path
7
+
8
+
9
+ def split_jsonl(input_path: Path, output_dir: Path, lines_per_shard: int = 100_000, prefix: str = None):
10
+ output_dir.mkdir(parents=True, exist_ok=True)
11
+ shard_index = 0
12
+ lines_in_shard = 0
13
+ shard_file = None
14
+
15
+ def open_new_shard():
16
+ nonlocal shard_index, lines_in_shard, shard_file
17
+ if shard_file:
18
+ shard_file.close()
19
+ shard_name = f"{prefix}_chunk{shard_index:03d}.jsonl" if prefix else f"chunk{shard_index:03d}.jsonl"
20
+ shard_path = output_dir / shard_name
21
+ shard_file = shard_path.open("w", encoding="utf-8")
22
+ lines_in_shard = 0
23
+ shard_index += 1
24
+ return shard_path
25
+
26
+ open_new_shard()
27
+
28
+ with open(input_path, "r", encoding="utf-8") as f:
29
+ for line_num, line in enumerate(f, 1):
30
+ if not line.strip():
31
+ continue
32
+ # Validate JSON and fields; write original line for speed
33
+ try:
34
+ obj = json.loads(line)
35
+ # minimal validation
36
+ _ = obj.get("url"), obj.get("text"), obj.get("hash")
37
+ except Exception:
38
+ # Skip malformed lines
39
+ continue
40
+
41
+ shard_file.write(line)
42
+ lines_in_shard += 1
43
+
44
+ if lines_in_shard >= lines_per_shard:
45
+ open_new_shard()
46
+
47
+ if shard_file:
48
+ shard_file.close()
49
+
50
+
51
+ def main():
52
+ parser = argparse.ArgumentParser(description="Split big JSONL into year folder shards")
53
+ parser.add_argument("inputs", nargs="+", help="Input articles_YYYY.jsonl paths")
54
+ parser.add_argument("--lines-per-shard", type=int, default=100_000)
55
+ parser.add_argument("--out-root", type=Path, default=Path("."))
56
+ args = parser.parse_args()
57
+
58
+ for input_str in args.inputs:
59
+ input_path = Path(input_str)
60
+ if not input_path.exists():
61
+ print(f"Missing: {input_path}", file=sys.stderr)
62
+ continue
63
+ # infer year
64
+ name = input_path.name
65
+ year = None
66
+ for part in name.split("_"):
67
+ if part.startswith("20") and part[:4].isdigit():
68
+ year = part[:4]
69
+ break
70
+ if not year:
71
+ print(f"Could not infer year from {name}", file=sys.stderr)
72
+ continue
73
+ out_dir = args.out_root / f"year_{year}"
74
+ prefix = f"articles_{year}"
75
+ print(f"Splitting {input_path} -> {out_dir} ...")
76
+ split_jsonl(input_path, out_dir, args.lines_per_shard, prefix)
77
+ print(f"Done: {out_dir}")
78
+
79
+
80
+ if __name__ == "__main__":
81
+ main()