vocab_version int64 | vocab list | n_quad int64 | domain list | token_style string | families list | gen_config dict | sizes dict | rejection_stats dict | acceptance_rate float64 | seconds float64 | chunks_done int64 | chunks_planned int64 | args dict | source string |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2 | [
"[PAD]",
"[CLS]",
"[SEP]",
"[MASK]",
"[UNK]",
"add",
"sub",
"mul",
"div",
"pow",
"neg",
"inv",
"sqrt",
"pow2",
"pow3",
"exp",
"log",
"sin",
"cos",
"tan",
"atan",
"x",
"E",
"pi",
"INT+",
"INT-",
"0",
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
... | 64 | [
-3.141592653589793,
3.141592653589793
] | v2 | [
"ode",
"poly",
"harmonic",
"fourier",
"exp",
"gauss",
"lorentz",
"damped",
"poly_trig",
"atan",
"log1p",
"logistic",
"x_gauss",
"xn_exp",
"chebyshev",
"rational"
] | {
"max_ops": 5,
"p_leaf_x": 0.6,
"p_scaled_x": 0.2,
"int_range": 5,
"p_constant": 0.01,
"max_len": 126,
"norm_min": 0.05,
"norm_max": 2000,
"max_abs": 100000,
"timeout_s": 3,
"unary_ops": {
"sin": 3,
"cos": 3,
"exp": 2,
"log": 1.5,
"sqrt": 1.5,
"pow2": 2,
"pow3": 1,
... | {
"val": 27790,
"test": 27792,
"train": 2723407
} | {
"ok": 2452000,
"invalid_d1": 645101,
"norm_d1": 73828,
"invalid_f": 61008,
"norm_f": 93748,
"const_nonint": 22303,
"error": 2079,
"sweep_rows": 1195735,
"rewrite_rows": 209144,
"duplicate": 872013,
"inf": 435,
"len_d1": 8,
"merge_duplicates": 205616
} | 0.731829 | 7,637.136962 | 1,226 | 2,295 | {
"merged_from": [
"data/v3_part1",
"data/v3_part2",
"data/v3_part3"
],
"parts": [
"data/v3_part1",
"data/v3_part2",
"data/v3_part3"
],
"out": "data/v3",
"seed": 0,
"val_frac": 0.01,
"test_frac": 0.01,
"keep_shards": false
} | data/v3 test minus rows whose f appears in data/v4 train (unseen by v13 AND v14) |
Func-JEPA data
Synthetic datasets of univariate mathematical functions used in Func-JEPA: Learning a Sobolev Space of Functions as Latent Vectors (Alejandro Moreno Arcas, 2026). Code: https://github.com/amorarc/Func-JEPA · Model: https://huggingface.co/amorarc/func-jepa
All functions were generated with SymPy by the code of the repository (docs/DATA.md there describes the generator,
the families, and the build sequence). Download into the layout that the scripts expect:
huggingface-cli download amorarc/func-jepa-data --repo-type dataset --local-dir data
Contents
| Folder | Train / val / test | Interval | Used for |
|---|---|---|---|
v4/ |
2,000,001 / 20,410 / 20,406 | [-π, π] |
pretraining corpus of the encoder encoder_pi, training data of every module |
v3_test_clean/ |
– / – / 12,146 | [-π, π] |
test set of every table in the paper (no function of it is in v4 train) |
compose_v3/ |
4,166,692 / 20,009 / 19,975 pairs | [-π, π] |
composition pairs (g, h(g)) for h in sin, cos, log, sqrt, square, cube, quadratic |
v05/ |
2,000,001 / 20,410 / 20,410 | [0, 5] |
pretraining corpus of the second encoder encoder_05 |
Format
NumPy .npz files (no pickled objects) plus a meta.json with the vocabulary, the generator configuration, and the
sizes. In the function datasets, row i holds a function f and its first two derivatives:
| Array | Shape | Content |
|---|---|---|
tokens, lens |
(N, 3, 128) uint8, (N, 3) |
prefix token ids of f, f', f'', padded; vocabulary in meta.json |
vals |
(N, 3, 64) float32 |
values at the 64 Gauss–Legendre nodes of the interval |
norms |
(N, 3) float32 |
L² norms, with quadrature weights normalised to sum 1 |
family |
(N,) |
generating family (id order in meta.json["families"]) |
group, sweep, sweep_param, sweep_value |
(N,) |
equivalence group (rewritings of one function), coefficient sweep and swept value; -1 = none |
ode |
(N, 5) |
integer coefficients of the linear ODE the function solves (ODE family), else zeros |
edeg, has_d2 |
(N,) |
effective Legendre degree; whether f'' is stored |
compose_v3 files hold, per pair, the operator id op, the inner function (g_tokens, g_lens, g_idx = row in
the first corpus), the composed function (tokens, lens, vals, norms), the coefficients coef of the
quadratic, and g_lift (the inner function was shifted by a constant to keep log g and sqrt g defined).
Read a row with the repository:
from fjepa.data import FunctionDataset
ds = FunctionDataset("data/v3_test_clean", "test")
ds.prefix(0, 0) # prefix tokens of f (use 1 for f')
Notes
- Only
fandf'are used for pretraining;f''is used for zero-shot tests. v4is a length- and class-resampled re-split of a merged pool; its validation and test splits are not disjoint from the earlier corpusv3, which is why the paper reports onv3_test_clean.- The latent caches used by the training scripts are not included; they are recomputed from these files with the
frozen encoder (
python -m fjepa.decoder_data,python -m fjepa.compose_data encode).
- Downloads last month
- -