Dataset
BIFOLD-BigEarthNetv2-0

BIFOLD-BigEarthNetv2-0/BigEarthNet.txt

BigEarthNet.txt: A Large-Scale Multi-Sensor Image-Text Dataset and Benchmark for Earth Observation BigEarthNet.txt is a large-scale multi-sensor image–text dataset for Earth observation, designed to advance vision–language learning on remote sensing data. It comprises 464,044 co-registered Sentinel-1 (SAR) and… See the full description on the dataset page: https://huggingface.co/datasets/BIFOLD-BigEarthNetv2-0/BigEarthNet.txt.

24likes
762downloads
3views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: multispectral

#1 Repository of the month

1
TINIX TRENDING·Topic: sentinel-1

#1 Repository of the month

1
TINIX TRENDING·Topic: remote sensing

#1 Repository of the month

Paper Website Badge Paper arXiv Badge Community Data License Agreement - Permissive - Version 1.0 License Badge

BigEarthNet.txt: A Large-Scale Multi-Sensor Image-Text Dataset and Benchmark for Earth Observation

BigEarthNet.txt is a large-scale multi-sensor image–text dataset for Earth observation, designed to advance vision–language learning on remote sensing data. It comprises 464,044 co-registered Sentinel-1 (SAR) and Sentinel-2 (multispectral) image pairs collected over Europe, paired with approximately 9.6 million textual annotations. The textual annotations include geographically anchored captions describing land-use/land-cover (LULC) classes and their spatial relationships, diverse visual question answering (VQA) pairs (binary and multiple-choice), and referring expression instructions for LULC localization. In addition, the dataset provides a manually verified benchmark split consisting of 1,082 image pairs with 15,029 textual annotations, specifically designed for reliable evaluation of vision–language models on complex multi-sensor remote sensing tasks. For more details on the dataset, please see our paper website.

The dataset supports 15 tasks (Presence, Area, Counting, Adjacency, Relative Position Country, Season, and Climate Zone, denoted as Pr, A, Cnt, Adj, RP, Loc, S, and Clt, respectively) across 4 broad categories.

Parquet File Structure

The BigEarthNet.txt.parquet file contains multiple attributes:

  • ID: A unique identifier for each sample in the dataset.
  • s1_name: The name of the Sentinel-1 patch from BigEarthNet v2.0.
  • patch_id: The name of the Sentinel-2 patch from BigEarthNet v2.0.
  • input: The instruction or question for the VLM.
  • output: The reference answer.
  • type: The broader task-type of the sample, i.e., binary, mcq, captioning, or bounding box.
  • category: The more fine-grained task-type. See here for all type-category combinations.
  • split: The associated split of the sample, i.e., train, validation, test, or bench.
  • latitude: The latitude coordinates of the center of the image patch.
  • longitude: The longitude coordinates of the center of the image patch.
  • country: The acquisition country of the image patch. See here for all available values.
  • season: The acquisition season of the image patch. See here for all available values.
  • climate_zone: The associated Köppen-Geiger climate zone. See here for all available values.

How to use

We show the recommended way to prepare the image and text data to be jointly used in the form of a custom PyTorch Dataset BENTxTDataset or DataLoader BENTxTDataModule provided in ben_txt_datamodule.py.

1. Download BigEarthNet.txt.parquet

Download using Git.

git clone https://huggingface.co/datasets/BIFOLD-BigEarthNetv2-0/BigEarthNet.txt

2. Download the Image Data

Download the Sentinel-1 and Sentinel-2 image data from the BigEarthNet v2.0 website.

3. Preprocess the Image Data

Convert the Sentinel-1 and Sentinel-2 image data to safetensors stored in an LMDB database for higher throughput using rico-hdl. Follow the installation instructions on GitHub, then execute the following command to convert the Sentinel-1 and Sentinel-2 image data downloaded to <S1_ROOT_DIR> and <S2_ROOT_DIR>.

rico-hdl bigearthnet --bigearthnet-s1-dir <S1_ROOT_DIR> --bigearthnet-s2-dir <S2_ROOT_DIR> --target-dir Encoded-BigEarthNet

4. Load the Data

Install uv. Install the required packages via uv using the command below. You can specify if you want to use the PyTorch CPU version or PyTorch with CUDA 12.6 by choosing cpu or cu126 as the <option>.

uv sync --extra <option>

The following examples show how to jointly load text samples from BigEarthNet.txt with the respective image data from BigEarthNet v2.0. After executing the suggested steps above, you should be able to run the following file from this repository:

uv run example_data_loading.py

or load the data manually using the provided datamodule as shown in the following two examples:

This example shows how to load the Red (B04), Green (B03), and Blue (B02) band from the Sentinel-2 image data using the BENTxTDataset Datasets class. More details about the custom Dataset are provided in ben_txt_datamodule.py.

from ben_txt_datamodule import BENTxTDataset

ds_rgb = BENTxTDataset(
  lmdb_file = "Encoded-BigEarthNet/",
  metadata_file = "BigEarthNet.txt.parquet",
  bands = ("B04", "B03", "B02"),
  img_size = 120
)

sample = ds_rgb[0]
print(f"RGB input image: {sample['image_input'].shape}")
print(f"Text input: {sample['text_input']}")
print(f"Reference output: {sample['reference_output']}")

This example shows how to load the 10m and 20m spatial resolution bands from Sentinel-1 and Sentinel-2 using the BENTxTDataModule Lightning DataModule class. In this example we apply multiple metadata filters on BigEarthNet.txt, more details about the custom DataModule are provided in ben_txt_datamodule.py.

from ben_txt_datamodule import BENTxTDataModule

# Lightning DataModule example using the 10m and 20m spatial resolution bands from Sentinel-1 and Sentinel-2 and multiple metadata filters.
# The datamodule will create 4 dataloaders: train, val, test, and bench.
dm = BENTxTDataModule(
  image_lmdb_file = "Encoded-BigEarthNet/",
  metadata_file = "BigEarthNet.txt.parquet",
  bands = 'S1S2-10m20m',
  img_size = 120,
  batch_size = 1,
  num_workers_dataloader = 0,
  types = ['mcq'],
  categories = ['climate zone'],
  countries = ['Portugal', 'Finland'],
  seasons = ['Summer'],
  climate_zones = None,
  point_token = ['<point>', '</point>'],
  ref_token = ['<ref>', '</ref>']
)
dm.setup()
  
train_dl = dm.train_dataloader()
for batch in train_dl:
  print(f"Batch image input shape: {batch['image_input'].shape}")
  print(f"First batch sample text input: {batch['text_input'][0]}")
  print(f"First batch sample text reference output: {batch['reference_output']}")
  break

Citation

If you use the BigEarthNet.txt dataset, please cite:

J. Herzog, M. Adler, L. Hackel, Y. Shu, A. Zavras, I. Papoutsis, P. Rota, B. Demir, 
"BigEarthNet.txt: A Large-Scale Multi-Sensor Image-Text Dataset and Benchmark for Earth Observation", 
Arxiv Preprint arXiv:2603.29630, 2026.
@article{Herzog2026BigEarthNetTXT,
  title={BigEarthNet.txt: A Large-Scale Multi-Sensor Image-Text Dataset and Benchmark for Earth Observation},
  author={Johann-Ludwig Herzog and Mathis Jürgen Adler and Leonard Hackel and Yan Shu and Angelos Zavras and Ioannis Papoutsis and Paolo Rota and Begüm Demir},
  journal={Arxiv Preprint arXiv:2603.29630},
  year={2026},
}

Similar Projects

Discover other similar projects and AI models.

Dataset
OpenAssistant/oasst1

OpenAssistant Conversations Dataset (OASST1) Dataset Summary In an effort to democratize research on large-scale alignment, we release OpenAssistant Conversations (OASST1), a human-generated, human-annotated assistant-style conversation corpus consisting of 161,443 messages in 35 different languages, annotated with 461,292 quality ratings, resulting in over 10,000 fully annotated conversation trees. The corpus is a product of a worldwide crowd-sourcing effort… See the full description on the dataset page: https://huggingface.co/datasets/OpenAssistant/oasst1.

♥0
73.6k
May 2, 2023
Dataset
cais/mmlu

Dataset Card for MMLU Dataset Summary Measuring Massive Multitask Language Understanding by Dan Hendrycks, Collin Burns, Steven Basart, Andy Zou, Mantas Mazeika, Dawn Song, and Jacob Steinhardt (ICLR 2021). This is a massive multitask test consisting of multiple-choice questions from various branches of knowledge. The test spans subjects in the humanities, social sciences, hard sciences, and other areas that are important for some people to learn. This covers 57… See the full description on the dataset page: https://huggingface.co/datasets/cais/mmlu.

♥0
772.4k
Mar 8, 2024
Dataset
HuggingFaceFW/fineweb

🍷 FineWeb 15 trillion tokens of the finest data the 🌐 web has to offer What is it? The 🍷 FineWeb dataset consists of more than 18.5T tokens (originally 15T tokens) of cleaned and deduplicated english web data from CommonCrawl. The data processing pipeline is optimized for LLM performance and ran on the 🏭 datatrove library, our large scale data processing library. 🍷 FineWeb was originally meant to be a fully open replication of 🦅 RefinedWeb, with a… See the full description on the dataset page: https://huggingface.co/datasets/HuggingFaceFW/fineweb.

♥0
419.5k
Jul 11, 2025
Dataset
openai/gsm8k

Dataset Card for GSM8K Dataset Summary GSM8K (Grade School Math 8K) is a dataset of 8.5K high quality linguistically diverse grade school math word problems. The dataset was created to support the task of question answering on basic mathematical problems that require multi-step reasoning. These problems take between 2 and 8 steps to solve. Solutions primarily involve performing a sequence of elementary calculations using basic arithmetic operations (+ − ×÷) to… See the full description on the dataset page: https://huggingface.co/datasets/openai/gsm8k.

♥0
1.5M
Mar 23, 2026
Dataset
Open-Orca/OpenOrca

🐋 The OpenOrca Dataset! 🐋 We are thrilled to announce the release of the OpenOrca dataset! This rich collection of augmented FLAN data aligns, as best as possible, with the distributions outlined in the Orca paper. It has been instrumental in generating high-performing model checkpoints and serves as a valuable resource for all NLP researchers and developers! Official Models Mistral-7B-OpenOrca Our latest model, the first 7B to score better overall than all… See the full description on the dataset page: https://huggingface.co/datasets/Open-Orca/OpenOrca.

♥0
12.1k
Feb 19, 2025
Dataset
HuggingFaceFW/fineweb-edu

📚 FineWeb-Edu 1.3 trillion tokens of the finest educational data the 🌐 web has to offer Paper: https://arxiv.org/abs/2406.17557 What is it? 📚 FineWeb-Edu dataset consists of 1.3T tokens and 5.4T tokens (FineWeb-Edu-score-2) of educational web pages filtered from 🍷 FineWeb dataset. This is the 1.3 trillion version. To enhance FineWeb's quality, we developed an educational quality classifier using annotations generated by LLama3-70B-Instruct. We… See the full description on the dataset page: https://huggingface.co/datasets/HuggingFaceFW/fineweb-edu.

♥0
524.8k
Jul 11, 2025
Dataset
Salesforce/wikitext

Dataset Card for "wikitext" Dataset Summary The WikiText language modeling dataset is a collection of over 100 million tokens extracted from the set of verified Good and Featured articles on Wikipedia. The dataset is available under the Creative Commons Attribution-ShareAlike License. Compared to the preprocessed version of Penn Treebank (PTB), WikiText-2 is over 2 times larger and WikiText-103 is over 110 times larger. The WikiText dataset also features a far… See the full description on the dataset page: https://huggingface.co/datasets/Salesforce/wikitext.

♥0
3.1M
Jan 4, 2024
Dataset
roneneldan/TinyStories

Dataset containing synthetically generated (by GPT-3.5 and GPT-4) short stories that only use a small vocabulary. Described in the following paper: https://arxiv.org/abs/2305.07759. The models referred to in the paper were trained on TinyStories-train.txt (the file tinystories-valid.txt can be used for validation loss). These models can be found on Huggingface, at roneneldan/TinyStories-1M/3M/8M/28M/33M/1Layer-21M. Additional resources: tinystories_all_data.tar.gz - contains a superset of… See the full description on the dataset page: https://huggingface.co/datasets/roneneldan/TinyStories.

♥0
296.8k
Aug 12, 2024
Dataset
tatsu-lab/alpaca

Dataset Card for Alpaca Dataset Summary Alpaca is a dataset of 52,000 instructions and demonstrations generated by OpenAI's text-davinci-003 engine. This instruction data can be used to conduct instruction-tuning for language models and make the language model follow instruction better. The authors built on the data generation pipeline from Self-Instruct framework and made the following modifications: The text-davinci-003 engine to generate the instruction data… See the full description on the dataset page: https://huggingface.co/datasets/tatsu-lab/alpaca.

♥0
109.7k
May 22, 2023