Datasets:
bands array 3D | bbox list | acquisition_date stringdate 2023-02-08 00:00:00 2024-03-06 00:00:00 | scene_id stringclasses 58
values | source class label 1
class | preset_name stringclasses 1
value |
|---|---|---|---|---|---|
[[[1542,1596,1608,1598,1594,1603,1627,1688,1720,1731,1770,1786,1759,1755,1712,1640,1592,1579,1536,14(...TRUNCATED) | [
75.36627490070438,
30.584204812737468,
75.63372509929562,
30.81579518726253
] | 2023-11-23 | S2B_43REP_20231123_0_L2A | 1global | |
[[[3398,3496,3636,3662,3655,3583,3489,3432,3412,3486,3507,3403,3297,3283,3435,3576,3534,3411,3323,32(...TRUNCATED) | [
-69.42567092784435,
-23.915795187262532,
-69.17432907215564,
-23.68420481273747
] | 2023-11-14 | S2A_19KDP_20231114_0_L2A | 1global | |
[[[3223,3078,3227,3350,3326,3314,3355,3376,3376,3381,3363,3350,3328,3219,3098,3041,3063,3115,3080,29(...TRUNCATED) | [
137.37260613219317,
-25.61579518726253,
137.62739386780683,
-25.38420481273747
] | 2023-12-08 | S2A_53JQN_20231208_0_L2A | 1global | |
[[[5957,5680,5598,5362,5124,5187,5234,5042,4913,5002,5086,5180,5352,5434,5431,5382,5163,4924,4841,49(...TRUNCATED) | [
-50.02380055186498,
69.08420481273747,
-49.376199448135026,
69.31579518726254
] | 2023-07-25 | S2A_22WEC_20230725_0_L2A | 1global | |
[[[575,568,587,590,579,568,565,560,570,543,534,538,564,579,550,520,542,519,523,526,512,528,514,505,5(...TRUNCATED) | [
139.60840886239998,
35.584204812737475,
139.89159113760002,
35.81579518726253
] | 2023-04-27 | S2A_54SUE_20230427_0_L2A | 1global | |
[[[817,561,431,1179,1645,1142,1375,1812,1796,1705,1599,1487,1457,1567,1879,1585,1700,1743,1105,697,6(...TRUNCATED) | [
121.335530599332,
31.11420481273747,
121.604469400668,
31.34579518726253
] | 2023-10-15 | S2A_51RUQ_20231015_0_L2A | 1global | |
[[[604,584,579,593,595,587,586,587,597,608,609,613,620,613,588,561,545,534,537,553,563,574,569,569,5(...TRUNCATED) | [
-62.14036933826937,
-35.11579518726253,
-61.85963066173063,
-34.88420481273747
] | 2023-02-10 | S2B_20HNG_20230210_0_L2A | 1global | |
[[[651,664,676,672,663,676,676,676,683,688,680,674,678,681,670,679,691,676,670,672,683,681,668,676,6(...TRUNCATED) | [
-76.34692388443958,
38.38420481273747,
-76.05307611556043,
38.61579518726253
] | 2023-05-10 | S2B_18SUH_20230510_0_L2A | 1global | |
[[[816,816,816,815,815,815,815,814,814,818,826,837,847,858,869,880,891,902,913,924,936,947,959,971,9(...TRUNCATED) | [
-74.10178081454272,
40.63420481273747,
-73.79821918545728,
40.86579518726253
] | 2023-10-04 | S2B_18TXL_20231004_0_L2A | 1global | |
[[[1804,1744,1751,1754,1816,1903,1813,1525,1212,1056,1075,1294,1688,2041,2257,2496,2681,2711,2732,28(...TRUNCATED) | [
-123.67019759774888,
47.38420481273747,
-123.32980240225112,
47.61579518726253
] | 2023-06-29 | S2B_10TDT_20230629_0_L2A | 1global |
Sentinel-2 LeJEPA Preset-Biased (Small)
A small, preset-biased Sentinel-2 L2A chip dataset curated for self-supervised pretraining of a LeJEPA ResNet-18 encoder. Built as a reproducibility artifact for the Sentinel Change Explorer proof-of-concept foundation-model change-detection feature.
This is a proof of concept, not a general-purpose EO pretraining corpus. It is intentionally tiny (~thousands of chips) and biased toward the five demo AOIs the Sentinel Change Explorer app highlights. Use it to reproduce that specific PoC, not as a substitute for SSL4EO-S12, Clay, or Prithvi.
Dataset snapshot
| Field | Value |
|---|---|
| Build date | 2026-04-04 |
| Total chips | 5000 |
| Preset chips (~70%) | 0 |
| Global chips (~30%) | 5000 |
| Train split | 4500 |
| Validation split | 500 |
| Chip size | 128 x 128 px @ 10 m/px (1.28 km) |
| Bands | red, green, blue, nir, swir16 |
| Dtype | uint16 (raw L2A reflectance) |
Sampling methodology
Chips are drawn from two sources in roughly a 70/30 mix:
- Preset AOIs (~70%). For each of the 5 demo presets in the Sentinel
Change Explorer app, the builder expands the tight demo bbox into a 10 km
square centered on the preset's centroid, searches STAC (Element84 Earth
Search v1) for Sentinel-2 L2A scenes in both
before_rangeandafter_range, loads the 5 reflectance bands + SCL via the samesrc.sentinel.load_bandsthe app uses, and tile-crops into non-overlapping 128x128 chips. - Global diversity points (~30%). A hand-curated list of 30 globally diverse points (deserts, forests, croplands, urban cores, coasts, ice, wetlands) across every inhabited continent, each sampled at 2-3 dates spread across seasons. Same fetch-and-tile flow with a 5.12 km AOI.
Rejection filters
Every candidate chip is tested against two filters and dropped if it fails either:
- Cloud/shadow fraction > 25%, computed from the Sentinel-2 Scene Classification Layer (SCL classes 3, 8, 9, 10).
- Fill fraction > 10%, defined as pixels where all 5 reflectance bands equal zero (true no-data, not just a single dark band).
Preset AOIs
| Preset | Center (lon, lat) | Before range | After range |
|---|---|---|---|
| Lahaina Wildfire, Maui | (-156.678, 20.877) | 2023-05-01 β 2023-07-31 | 2023-09-01 β 2023-11-30 |
| Pakistan Mega-Flood, Sindh | (67.750, 26.735) | 2022-05-01 β 2022-06-30 | 2022-08-20 β 2022-09-30 |
| Gigafactory Berlin | (13.800, 52.400) | 2019-05-01 β 2019-07-31 | 2023-05-01 β 2023-07-31 |
| Black Summer Bushfires, Australia | (150.125, -33.485) | 2019-08-01 β 2019-10-31 | 2020-02-01 β 2020-04-30 |
| Egypt's New Capital | (31.820, 30.030) | 2018-01-01 β 2018-03-31 | 2023-10-01 β 2023-12-31 |
Global diversity points
sahara_algeriaβ (2.00, 25.00)gobi_mongoliaβ (104.00, 43.50)atacama_chileβ (-69.30, -23.80)namib_namibiaβ (15.00, -23.50)simpson_australiaβ (137.50, -25.50)amazon_brazilβ (-60.00, -3.50)congo_drcβ (21.00, -1.00)boreal_canadaβ (-95.00, 54.00)siberia_taigaβ (105.00, 62.00)pnw_usaβ (-123.50, 47.50)iowa_corn_beltβ (-93.50, 42.00)pampas_argentinaβ (-62.00, -35.00)po_valley_italyβ (10.50, 45.00)punjab_indiaβ (75.50, 30.70)tokyo_japanβ (139.75, 35.70)nyc_usaβ (-73.95, 40.75)lagos_nigeriaβ (3.40, 6.50)sao_paulo_brazilβ (-46.63, -23.55)cairo_egyptβ (31.25, 30.05)shanghai_chinaβ (121.47, 31.23)chesapeake_bayβ (-76.20, 38.50)dutch_coastβ (4.50, 52.50)normandy_franceβ (-0.50, 49.30)greenland_glacierβ (-49.70, 69.20)alps_switzerlandβ (8.00, 46.50)andes_peruβ (-72.00, -13.50)himalaya_nepalβ (86.50, 27.80)everglades_usaβ (-80.80, 25.80)pantanal_brazilβ (-56.00, -17.50)okavango_botswanaβ (22.80, -19.30)
Schema
Each row is:
{
"bands": Array3D(shape=(5, 128, 128), dtype=uint16),
"bbox": Sequence(float32, length=4), # (west, south, east, north) WGS84
"acquisition_date": Value(string), # ISO date of the source scene
"scene_id": Value(string), # STAC item id
"source": ClassLabel(names=["preset", "global"]),
"preset_name": Value(string), # "" for global chips
}
Normalization stats
Per-band mean and standard deviation computed over the training split (uint16 reflectance, before any scaling):
| Band | Mean | Std |
|---|---|---|
| red | 1298.91 | 1192.39 |
| green | 1086.62 | 908.00 |
| blue | 830.22 | 846.53 |
| nir | 2467.29 | 1264.88 |
| swir16 | 2357.63 | 1504.00 |
These are also shipped as norm_stats.json in the dataset bundle. The
matching LeJEPA model repo embeds a copy so inference doesn't need to pull
the dataset.
Usage
from datasets import load_dataset
ds = load_dataset("falafel-hockey/sentinel2-lejepa-global-diverse-256")
print(ds)
# DatasetDict with "train" and "validation" splits
sample = ds["train"][0]
print(sample["bands"].shape) # (5, 128, 128)
print(sample["source"]) # 0 = preset, 1 = global
The companion pretrained LeJEPA ResNet-18 (5-band) is published separately and consumes these chips at native resolution without further resizing.
Limitations
- Tiny scale. Thousands of chips, not millions. A real SSL corpus for remote sensing is 2-3 orders of magnitude larger. Expect the resulting features to overfit to the sampled AOIs and date windows.
- Preset bias by design. 70% of chips come from 5 specific locations chosen because they are the demo AOIs in the companion app. This is intentional for the PoC but makes the features a poor fit for general-purpose EO tasks.
- Single sensor, single level. Sentinel-2 L2A only. No Sentinel-1, no Landsat, no other modalities.
- 5 bands only. B02, B03, B04, B08, B11. The red-edge, cirrus, and SWIR22 bands are intentionally excluded to keep the model compact for M1 inference.
- No deduplication across dates. Chips from the same AOI across different acquisition dates are both kept. This is a feature for temporal-invariance pretraining, but means chips are not i.i.d.
License and attribution
- Chips are released under CC-BY-SA-4.0, matching Copernicus Sentinel data's terms for derived products.
- Contains modified Copernicus Sentinel data [2023-2026], ESA. Source imagery: Sentinel-2 L2A via Element84 Earth Search v1.
Citation
@misc{sentinel2_lejepa_preset_biased_small,
title = {Sentinel-2 LeJEPA Preset-Biased (Small)},
author = {Wheelis, Alex},
year = {2026},
url = {https://huggingface.co/datasets/falafel-hockey/sentinel2-lejepa-global-diverse-256}
}
@misc{balestriero2025lejepa,
title = {LeJEPA: Provable and Scalable Self-Supervised Learning Without the Heuristics},
author = {Balestriero, Randall and LeCun, Yann},
year = {2025},
eprint = {2511.08544},
archivePrefix = {arXiv}
}
- Downloads last month
- 36