Datasets:
item_id stringlengths 7 77 | source stringclasses 87
values | freq stringclasses 15
values | source_row int64 0 145k | target listlengths 1 53 |
|---|---|---|---|---|
BEIJING_SUBWAY_30MIN/1 | BEIJING_SUBWAY_30MIN | 30T | 1 | [
[
26,
43,
58,
132,
207,
323,
370,
617,
991,
1241,
1723,
1917,
1625,
1259,
1027,
691,
479,
363,
284,
245,
214,
176,
163,
148,
145,
120,
157,
158,
176,
165,
188,
177,
203,
175,
1... |
BEIJING_SUBWAY_30MIN/3 | BEIJING_SUBWAY_30MIN | 30T | 3 | [
[
12,
46,
80,
77,
159,
245,
468,
880,
1335,
1614,
1835,
1980,
1831,
1472,
1189,
835,
578,
475,
330,
234,
288,
246,
190,
193,
187,
171,
180,
182,
204,
187,
208,
182,
202,
162,
1... |
BEIJING_SUBWAY_30MIN/4 | BEIJING_SUBWAY_30MIN | 30T | 4 | [
[
15,
21,
48,
78,
171,
243,
456,
768,
1124,
1395,
1761,
2108,
1996,
1454,
1209,
805,
697,
470,
366,
302,
243,
251,
215,
171,
247,
213,
195,
170,
213,
212,
212,
209,
207,
204,
1... |
BEIJING_SUBWAY_30MIN/5 | BEIJING_SUBWAY_30MIN | 30T | 5 | [
[
10,
20,
34,
78,
90,
179,
328,
482,
738,
854,
1029,
1204,
1087,
1037,
720,
630,
471,
497,
366,
367,
347,
290,
357,
330,
331,
356,
315,
309,
289,
333,
255,
272,
260,
246,
221,
... |
BEIJING_SUBWAY_30MIN/6 | BEIJING_SUBWAY_30MIN | 30T | 6 | [
[
6,
12,
22,
43,
59,
141,
198,
332,
515,
601,
776,
844,
681,
582,
473,
439,
304,
281,
218,
165,
138,
149,
146,
134,
143,
104,
117,
114,
135,
134,
187,
141,
153,
175,
182,
1... |
BEIJING_SUBWAY_30MIN/7 | BEIJING_SUBWAY_30MIN | 30T | 7 | [
[
2,
10,
8,
16,
34,
47,
87,
121,
178,
221,
326,
427,
396,
354,
244,
200,
166,
164,
111,
116,
134,
135,
147,
150,
130,
141,
132,
151,
141,
153,
160,
150,
145,
132,
161,
133,... |
BEIJING_SUBWAY_30MIN/9 | BEIJING_SUBWAY_30MIN | 30T | 9 | [
[
2,
4,
20,
21,
37,
53,
117,
153,
223,
335,
451,
586,
507,
450,
344,
268,
236,
169,
152,
123,
119,
110,
104,
109,
117,
106,
98,
100,
99,
111,
126,
108,
117,
122,
103,
110,
... |
BEIJING_SUBWAY_30MIN/10 | BEIJING_SUBWAY_30MIN | 30T | 10 | [
[
2,
6,
15,
20,
46,
50,
106,
164,
236,
309,
351,
492,
447,
423,
324,
266,
224,
226,
178,
157,
165,
138,
139,
171,
163,
191,
165,
145,
175,
183,
181,
143,
177,
150,
196,
171... |
BEIJING_SUBWAY_30MIN/11 | BEIJING_SUBWAY_30MIN | 30T | 11 | [
[
5,
4,
5,
14,
18,
26,
48,
87,
93,
166,
215,
286,
300,
312,
263,
186,
172,
190,
173,
206,
216,
202,
229,
222,
233,
250,
249,
277,
254,
255,
212,
209,
213,
235,
214,
251,
... |
BEIJING_SUBWAY_30MIN/13 | BEIJING_SUBWAY_30MIN | 30T | 13 | [
[
0,
0,
1,
2,
6,
7,
16,
12,
41,
48,
45,
41,
50,
29,
42,
45,
21,
28,
25,
33,
34,
34,
57,
46,
74,
69,
74,
75,
69,
88,
55,
79,
77,
81,
92,
76,
null,
null,
null,
... |
BEIJING_SUBWAY_30MIN/14 | BEIJING_SUBWAY_30MIN | 30T | 14 | [
[
2,
3,
3,
7,
7,
8,
22,
44,
95,
80,
71,
71,
51,
79,
66,
67,
46,
64,
53,
62,
56,
83,
80,
86,
101,
134,
104,
127,
125,
120,
129,
132,
140,
150,
173,
192,
null,
null,
... |
nanoTSFM-pretrain
Hill-climbing GIFT-Eval with one A100 and one hour.
Pretraining data for nanoTSFM, an open challenge where
small time-series foundation models train on one GPU and forecast data they have never seen. The
baseline trains on GEP-M in two minutes on an A100 and scores 0.670 relative CRPS on
GIFT-Eval, zero-shot. The
record page tracks the best result so far.
from datasets import load_dataset
train = load_dataset("abel-lab/nanoTSFM-pretrain", "GEP-M", split="train")
train[0]["target"] # [variate][time] float32, NaN where a value is missing
Configs
- GEP-S (small): quick experiments and CPU debugging.
- GEP-M (medium, default): the baseline's data, and the smallest slice that gives it its full score.
- GEP-L (large): more varied data for longer runs. After 20,000 steps, GEP-L scored 0.661 and GEP-M 0.693.
- GEP-Val, GEP-Test, GEP-tasks: in-distribution diagnostics on held-out series.
Config names start with their corpus. The GEP configs come from
GIFT-Eval Pretrain at revision
6830b62, which shares no series with GIFT-Eval.
| Config | Series per source | Points per series | Series (train / val / test) | Points | Download |
|---|---|---|---|---|---|
| GEP-S | ≤50 | ≤4,096 | 2,749 / 313 / 370 | 33M | 94 MB |
| GEP-M | ≤1,000 | ≤8,192 | 26,154 / 3,334 / 3,362 | 252M | 615 MB |
| GEP-L | ≤50,000 | ≤8,192 | 399,356 / 50,105 / 50,377 | 2.1B | 6.2 GB |
| GEP-Val | ≤100 validation series | ≤8,192 | 3,279 | 23M | 56 MB |
| GEP-Test | ≤100 test series | ≤8,192 | 3,306 | 25M | 62 MB |
| GEP-tasks | forecast tasks | 129 validation / 131 test |
All GEP configs draw from the same 87 sources: every source under 250 MB, three mid-size sources, and the first shard of each of the eleven large ones (five for GEP-L). Series are sampled per source without replacement (seed 7) and keep their latest points.
Fields
| Field | Type | Meaning |
|---|---|---|
item_id |
string | <source>/<item_id>, unique across the corpus |
source |
string | GIFT-Eval Pretrain dataset |
freq |
string | pandas frequency, such as H, 15T or W-SUN |
source_row |
int64 | row in the source dataset |
target |
list of lists of float32 | [variate][time]; variates share a time axis |
Splits
A hash of item_id fixes each series' split in every config: 80% train, 10% validation, 10% test.
A multivariate series stays whole.
import hashlib
def split_of(item_id: str) -> str:
bucket = int(hashlib.sha256(item_id.encode()).hexdigest()[:8], 16) % 10
return "test" if bucket == 0 else "validation" if bucket == 5 else "train"
GEP-Val, GEP-Test and GEP-tasks
GEP-Val and GEP-Test hold up to 100 held-out series per source. GEP-tasks defines one
GIFT-Eval-style task per source and term (source, term, freq, seasonality,
prediction_length, windows, min_length, series): forecast the last windows horizons of
every series with at least min_length points. Short horizons follow GIFT-Eval's table by
frequency; medium and long terms are 10× and 15× longer, for sub-daily sources only.
Rebuilding
build/build.py rebuilds every GEP config row for row from the source files in build/subset.txt:
uv run build/build.py download raw --shards 5 # 25 GB; without --shards 5, 8.6 GB and no GEP-L
uv run build/build.py all raw .
Acknowledgement
Adapted from Salesforce/GiftEvalPretrain.
- Downloads last month
- 237