Downloads · 30 days
7
12% of all-time downloads
mckzyl/GroundSet-LLaVA-1.6-7B
GroundSet-LLaVA-1.6-7B is a visual question answering model from mckzyl. Use it for the visual question answering task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
[](https://arxiv.org/abs/2603.14609) [](https://huggingface.co/datasets/RogerFerrod/GroundSet) [](https://github.com/rogerferrod/GroundSet)
Downloads · 30 days
7
12% of all-time downloads
All-time downloads
57
Public
Parameters
7.1B
14.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors14.1 GB · 100%
From the Hugging Face model README
This repository hosts the official baseline model for GroundSet, a large-scale Earth Observation dataset grounded in verifiable cadastral vector data.
This baseline is fine-tuned on 1.8 million instructions from GroundSet's finetuning dataset.
The model has been explicitly trained to handle highly granular semantic categories (135 classes, including specific crop types, heritage sites and civil infrastructure) across the following tasks:
The model is built upon the LLaVA-1.6 architecture (using the Vicuna 7B language model). This architecture relies on dynamic resolution (AnyRes) for processing high-resolution aerial imagery.
💡 Note: Pixel coordinates are discretized into [0-1000] bins.
The GroundSet baseline establishes a robust standard for Earth Observation spatial understanding.
The model is evaluated zero-shot on GroundSet's test set, achieving the following results:
To prove generalization capabilities, the model has been evaluated zero-shot on the VRSBench dataset. Despite operating strictly out-of-distribution (VRSBench focuses heavily on vehicles/planes, which are absent from GroundSet's cadastral data), the model still outperformed leading RS-specialists in core spatial grounding tasks like Detection and REC.
Because this model uses the LLaVA-1.6 architecture, it can be easily loaded using the standard Hugging Face transformers library via the LlavaNext implementation.
from transformers import LlavaNextProcessor, LlavaNextForConditionalGeneration
import torch
from PIL import Image
# 1. Load the processor and model
model_id = "RogerFerrod/GroundSet-LLaVA-1.6-7B"
processor = LlavaNextProcessor.from_pretrained(model_id)
model = LlavaNextForConditionalGeneration.from_pretrained(
model_id,
torch_dtype=torch.bfloat16,
low_cpu_mem_usage=True
).to("cuda")
# 2. Load an image and define the question
image = Image.open("path_to_aerial_patch.png")
question = "Detect all instances of Building in this image and provide their bounding boxes."
# 3. Format the prompt using the official chat template
msgs = [
{
"role": "user",
"content": [
{"type": "image"},
{"type": "text", "text": question}
]
}
]
prompt = processor.apply_chat_template(msgs, tokenize=False, add_generation_prompt=True)
# 4. Process the inputs
inputs = processor(text=prompt, images=image, return_tensors="pt").to("cuda")
# 5. Generate and decode the output
output = model.generate(**inputs, max_new_tokens=100)
generated_text = processor.decode(output[0], skip_special_tokens=True)
print(generated_text)
💡 Note: For a complete, reproducible inference pipeline and the exact scripts used to compute the benchmark metrics reported in the paper, please refer to the official GitHub repository.
If you utilize this model or the associated dataset in your research, please consider citing the original work:
@article{groundset,
title={GroundSet: A Cadastral-Grounded Dataset for Spatial Understanding with Vector Data},
author={Ferrod, Roger and Lecene, Ma{\"e}l and Sapkota, Krishna and Leifman, George and Silverman, Vered and Beryozkin, Genady and Lobry, Sylvain},
journal={arXiv preprint},
year={2026}
}
This work was supported by Google under a research collaboration agreement with Université Paris Cité. The underlying GroundSet dataset leverages official data from IGN (French National Institute of Geographic and Forest Information), specifically BD ORTHO® and BD TOPO®, released under Open Licence 2.0.