CoolFace
Datasetpublic

spaicom-lab/semasia-imagenet-1k

Latents for imagenet-1k (timm)     This repository hosts precomputed latent representations (embeddings) extracted from timm image-classification backbones on imagenet-1k, released as part of SEMASIA — a large-scale resource for studying semantic communication, cross-model latent space alignment, and explainability. Each config corresponds to a single model; only that model's Parquet files are read on load_dataset. Usage Load with datasets… See the full description on the dataset page: https://huggingface.co/datasets/spaicom-lab/semasia-imagenet-1k.

sourceHugging Faceupdated 3mo agoView on Hugging Face
0likes658downloads
Dataset Card

Latents for imagenet-1k (timm)

<h5 align="center">

![arXiv](https://arxiv.org/abs/2605.09485)&nbsp;![GitHub](https://github.com/SPAICOM/semasia-datasets)&nbsp;![HuggingFace](https://huggingface.co/collections/spaicom-lab/semasia)&nbsp;![Open in molab](https://molab.marimo.io/github/SPAICOM/semasia-datasets/blob/main/notebooks/semasia.py)

<br>

</h5>

This repository hosts precomputed latent representations (embeddings) extracted from timm image-classification backbones on imagenet-1k, released as part of SEMASIA — a large-scale resource for studying semantic communication, cross-model latent space alignment, and explainability. Each config corresponds to a single model; only that model's Parquet files are read on load_dataset.

Usage

Load with datasets and convert to torch:

python
from datasets import load_dataset
import torch

ds = load_dataset(
    "spaicom-lab/semasia-imagenet-1k",  # repository  →  which benchmark
    "aimv2_1b_patch14_224.apple_pt",  # config      →  which model
    split="test",  # split       →  which partition
).with_format("torch")

embeddings = torch.vstack(list(ds["embedding"]))  # (N, d)
label = torch.tensor(ds["label"])  # (N,)

Or read the Parquet files directly with polars:

python
import polars as pl

df = pl.read_parquet(
    "hf://datasets/spaicom-lab/semasia-imagenet-1k/test/aimv2_1b_patch14_224.apple_pt/*.parquet"
)

embeddings = df["embedding"].to_numpy()  # shape (N, d)
label = df["label"].to_numpy()  # shape (N,)

Fields

Columns available in each Parquet file for this dataset:

FieldDescription
idRow index within the shard (unique per split/model, not across models); the row order matches the original ILSVRC/imagenet-1k split, so id can be used to map a row back to its source sample.
model_nametimm model that produced this row's embedding (constant within a config).
embeddingPrecomputed latent representation extracted by the model (dimensionality depends on config; see model registry).
labelOriginal dataset field, copied as-is from the source dataset.

Available Models

Number of models with precomputed embeddings, per split:

Split# Models
test1697
validation1697

Notes

Citation

If you use this dataset, please cite:

bibtex
@misc{pandolfo2026semasialargescaledatasetsemantically,
      title={SEMASIA: A Large-Scale Dataset of Semantically Structured Latent Representations},
      author={Mario Edoardo Pandolfo and Enrico Grimaldi and Lorenzo Marinucci and Leonardo Di Nino and Simone Fiorellino and Sergio Barbarossa and Paolo Di Lorenzo},
      year={2026},
      eprint={2605.09485},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2605.09485},
}