Skip to content

Release SPEX model and SPIE dataset on Hugging Face #1

@NielsRogge

Description

@NielsRogge

Hi @MiliLab 🤗

I'm Niels and work as part of the open-source team at Hugging Face. I discovered your work on Arxiv and noticed your paper "SPEX: A Vision-Language Model for Land Cover Extraction on Spectral Remote Sensing Images" (https://huggingface.co/papers/2508.05202).

I see from your GitHub repository (https://github.com/MiliLab/SPEX) that the SPEX code and the SPIE dataset will be released soon. That's fantastic news!

It'd be great to make the SPEX model checkpoints and the SPIE dataset available on the 🤗 hub once they are released, to improve their discoverability and visibility. We can add tags so that people find them when filtering https://huggingface.co/models and https://huggingface.co/datasets, and link them directly to your paper page.

Uploading models

See here for a guide: https://huggingface.co/docs/hub/models-uploading.

In this case, we could leverage the PyTorchModelHubMixin class which adds from_pretrained and push_to_hub to any custom nn.Module. Alternatively, one can leverage the hf_hub_download one-liner to download a checkpoint from the hub.

We encourage researchers to push each model checkpoint to a separate model repository, so that things like download stats also work. We can then also link the checkpoints to the paper page.

Uploading dataset

Would be awesome to make the dataset available on 🤗 , so that people can do:

from datasets import load_dataset

dataset = load_dataset("your-hf-org-or-username/your-dataset")

See here for a guide: https://huggingface.co/docs/datasets/loading.
We also support Webdataset, useful for image/video datasets: https://huggingface.co/docs/datasets/en/loading#webdataset.

Besides that, there's the dataset viewer which allows people to quickly explore the first few rows of the data in the browser.

Let me know if you're interested/need any guidance once the artifacts are ready for release!

Cheers,

Niels
ML Engineer @ HF 🤗

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions