anonymous-paper-author commited on
Commit
b4be516
·
verified ·
1 Parent(s): b853595

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +157 -0
README.md CHANGED
@@ -60,3 +60,160 @@ configs:
60
  - split: train
61
  path: tempora-0325B/train-*
62
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
60
  - split: train
61
  path: tempora-0325B/train-*
62
  ---
63
+
64
+
65
+
66
+ # Tempora
67
+ <p align="center">
68
+ <img src="assets/tempora_logo.jpg" alt="Tempora Logo" width="50%">
69
+ </p>
70
+
71
+ > A contemporary dataset of 7,368 real-world documents published **after March 1, 2025**, curated for testing the temporal grounding of Large Language Models.
72
+
73
+ ## Table of Contents
74
+ 1. [Usage](#usage)
75
+ - [Loading with `datasets`](#loading-with-datasets)
76
+ - [Dataset Example](#dataset-example)
77
+ 2. [Dataset Overview](#dataset-overview)
78
+ 3. [Why a Contemporary Dataset?](#why-a-contemporary-dataset)
79
+ 4. [Scope & Diversity](#scope--diversity)
80
+ 5. [Evaluating Parametric vs. Contextual Knowledge](#evaluating-parametric-vs-contextual-knowledge)
81
+ 6. [Methodological Longevity](#methodological-longevity)
82
+ 7. [Dataset Structure](#dataset-structure)
83
+ - [Available Configurations](#available-configurations)
84
+ - [Data Fields](#data-fields)
85
+ - [Splits and Statistics](#splits-and-statistics)
86
+ 8. [Licensing](#licensing)
87
+ 9. [Citation](#citation)
88
+ 10. [Acknowledgments](#acknowledgments)
89
+
90
+ ---
91
+
92
+ ## Usage
93
+
94
+ Below are examples of how to load **Tempora-0325** using the [Hugging Face `datasets` library](https://github.com/huggingface/datasets). Adjust the `config_name` as needed.
95
+
96
+ ### Loading with `datasets`
97
+
98
+ ```python
99
+ from datasets import load_dataset
100
+
101
+ # Load the balanced subset
102
+ ds_balanced = load_dataset("sumuks/tempora", name="tempora-0325B", split="train")
103
+
104
+ # Load the main unbalanced corpus
105
+ ds_full = load_dataset("sumuks/tempora", name="tempora-0325", split="train")
106
+
107
+ # Load the raw version
108
+ ds_raw = load_dataset("sumuks/tempora", name="tempora-0325-raw", split="train")
109
+ ```
110
+
111
+ ### Dataset Example
112
+
113
+ A sample entry from `tempora-0325` might look like:
114
+
115
+ ```python
116
+ {
117
+ 'id': 'QChCKP-ecAD',
118
+ 'source': 'https://www.theguardian.com/sport/2025/mar/09/france-captain-antoine-dupont-rugby-union-injury',
119
+ 'extracted_content': "# Antoine Dupont faces long spell out with ruptured cruciate knee ligaments\nAntoine Dupont, France’s talismanic captain and the player ..."
120
+ }
121
+ ```
122
+
123
+ ---
124
+
125
+ ## Dataset Overview
126
+
127
+ Recent advances in large language models (LLMs) have highlighted a critical gap in testing temporal and factual grounding: models are often pretrained on massive (and sometimes outdated) corpora, making it difficult to discern whether they rely on newly provided textual evidence or memorize stale facts. **Tempora-0325** addresses this challenge by presenting a set of **7,368 documents** published after **March 1, 2025**, ensuring that the vast majority of pretrained models have not seen this data during training.
128
+
129
+ <p align="center">
130
+ <img src="assets/content_lengths.png" alt="Distribution of Character Lengths in Tempora-0325" width="60%"><br>
131
+ <em>Figure: Distribution of character lengths within Tempora-0325</em>
132
+ </p>
133
+
134
+ ---
135
+
136
+ ## Why a Contemporary Dataset?
137
+
138
+ When LLMs are prompted with documents containing up-to-date facts, regulations, or events, it becomes crucial to separate genuine, context-grounded outputs from those derived purely from parametric memory. **Tempora-0325** focuses on this objective:
139
+
140
+ - **Temporal testing**: Provides data published exclusively after March 1, 2025.
141
+ - **Unseen textual evidence**: Ensures that most existing models’ pretraining does not include these documents.
142
+ - **Detection of stale knowledge**: Encourages models to rely on newly provided information—or risk inconsistencies revealing outdated parametric knowledge.
143
+
144
+ ---
145
+
146
+ ## Scope & Diversity
147
+
148
+ We collected **7,368** publicly available documents from:
149
+ - Government and corporate announcements
150
+ - Legal and medical reports
151
+ - Sports updates, news articles, and blogs
152
+ - Miscellaneous informational sites
153
+
154
+ Each source was verified to have been published after March 1, 2025, with manual checks to confirm the authenticity of time-sensitive information. Two key subsets are made available:
155
+
156
+ 1. **Unbalanced Full Corpus** (Tempora-0325): Mirrors real-world domain distribution.
157
+ 2. **Balanced Subset** (Tempora-0325B): Offers uniform coverage across eight categories (government, corporate, legal, medical, sports, news, blogs, miscellaneous) for controlled experimentation.
158
+
159
+ ---
160
+
161
+ ## Evaluating Parametric vs. Contextual Knowledge
162
+
163
+ A central motivation behind **Tempora-0325** is enabling deeper analysis into how—or even whether—an LLM updates its internal knowledge states when presented with truly novel or conflicting data. By isolating content never encountered in typical pretraining corpora, the dataset can:
164
+
165
+ - Test retrieval-augmented generation: Determine if a model is using new evidence from a document or relying on outdated internal parameters.
166
+ - Assess summarization and question generation tasks: See whether newly introduced information is being processed accurately or overshadowed by memorized facts.
167
+
168
+ ---
169
+
170
+ ## Methodological Longevity
171
+
172
+ While **Tempora-0325** is a snapshot of post March 2025 knowledge, the data collection methodology is **open-sourced** so future variants (e.g., **Tempora-0727**) can be built over time. This systematic refresh ensures the dataset remains novel for the next generation of LLMs, preserving its effectiveness for detecting when models override new information with stale, parametric knowledge.
173
+
174
+ ---
175
+
176
+ ## Dataset Structure
177
+
178
+ ### Available Configurations
179
+
180
+ This repository offers multiple configurations, each corresponding to different data splits or processing stages:
181
+
182
+ - **tempora-0325B**
183
+ - Balanced subset of 250 training documents.
184
+ - Equal coverage of 8 domains for controlled experiments.
185
+ - **tempora-0325**
186
+ - The full, unbalanced corpus.
187
+ - 5,599 training documents.
188
+ - **tempora-0325-raw**
189
+ - The raw version containing minimal processing for advanced or custom use-cases.
190
+ - 7,368 total documents.
191
+
192
+ ### Data Fields
193
+
194
+ Depending on the configuration, you will see some or all of the following fields:
195
+
196
+ - **id** *(string)*: A unique identifier for each document.
197
+ - **source** *(string)*: The source domain or category (e.g., `legal`, `medical`, `sports`), if available.
198
+ - **raw** *(string)*: Unprocessed text content (available in `tempora-0325-raw` only).
199
+ - **extracted_content** *(string)*: The main processed text from each document.
200
+ - **extracted_content_stage_2** *(string)*: Additional content extraction stage (only in `tempora-0325-raw`).
201
+
202
+ ### Splits and Statistics
203
+
204
+ | Config | # Documents | Split | Size (approx.) |
205
+ |:----------------------|-----------:|:-----:|---------------:|
206
+ | **tempora-0325** | 5,599 | train | ~25.9 MB |
207
+ | **tempora-0325B** | 250 | train | ~1.5 MB |
208
+ | **tempora-0325-raw** | 7,368 | train | ~4.19 GB |
209
+
210
+ ---
211
+
212
+
213
+
214
+ ## Licensing
215
+
216
+ This dataset is released under the [**Open Data Commons Attribution License (ODC-By) v1.0**](https://opendatacommons.org/licenses/by/1-0/).
217
+ Use of this dataset is also subject to the terms and conditions laid out by each respective source from which documents were collected.
218
+
219
+ ---