/ Модель

Характеристики

Лицензия
CC BY-NC 4.0
Архитектура
sonata · dense
Базовая модель
sonata
Библиотека
transformers
Опубликована
27 окт 2026

Sonata-Small

ЭмбеддингиТекст → embedding3 профессии

Неофициальный порт Sonata-Small извлекает признаки из облаков точек с помощью энкодера Point Transformer V3.

28скачиваний за 30 дней0лайковвеса обновлены27 окт 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Sonata-Small — неофициальный порт чекпойнта Sonata в формате Transformers, опубликованный bigshanedogg на основе модели facebook/sonata. Это плотный энкодер облаков точек на архитектуре Point Transformer V3 с каналами [32, 64, 128, 256, 512]. Модель принимает данные облака точек и извлекает для точек признаки; результат доступен как last_hidden_state и объект Point.

Модель предназначена для получения представлений 3D-сцен, которые можно использовать в последующих задачах анализа облаков точек. Порт сохраняет поведение исходной реализации: автор сообщает о побитном совпадении предобработки и выходных тензоров с официальным пакетом в проверенных сценариях fp32 и fp16. Для загрузки требуется trust_remote_code, а также зависимости исходной реализации, включая spconv и torch_scatter. Выбор точки при GridSample и перемешивание порядка могут быть случайными, поэтому для воспроизводимости следует задавать seed.

Веса распространяются по лицензии CC-BY-NC-4.0 и предназначены для некоммерческого использования с учётом ограничений, связанных с датасетами; код порта указан как Apache-2.0. Это неофициальный выпуск.

Сценарии применения

  • извлечение признаков для точек 3D-сцены
  • получение представлений облаков точек для последующего анализа
  • подготовка признаков облаков точек для downstream-моделей

Ограничения

Порт требует trust_remote_code и дополнительных зависимостей, включая spconv и torch_scatter. Веса лицензированы только для некоммерческого использования; предобработка может быть случайной, если не фиксировать seed.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Sonata-Small — transformers format

Unofficial transformers port of Sonata sonata_small.pth (facebook/sonata) — Small; Point Transformer V3 encoder, channels [32, 64, 128, 256, 512]. Loads with trust_remote_code; the sonata package is not needed. model.safetensors holds the checkpoint's state_dict under model.<original name>, converted from .pth (every tensor checked equal).

Not an official release. Sonata was created by Xiaoyang Wu, Daniel DeTone, Duncan Frost, Tianwei Shen, Chris Xie, Nan Yang, Jakob Engel, Richard Newcombe, Hengshuang Zhao and Julian Straub (Meta) — https://github.com/facebookresearch/sonata, paper "Sonata: Self-Supervised Learning of Reliable Point Representations" (CVPR 2025).

What it is

SonataModel.model is the package's PointTransformerV3, built from the config stored in the checkpoint (config.json → ptv3_config) as sonata.load builds it; forward runs PointTransformerV3.forward and returns a SonataModelOutput (last_hidden_state: the output Point's features; point: the whole output Point). The code is the official inference code (facebookresearch/sonata @ 18c09ff8) vendored into flat files (sonata_model.py, sonata_transform.py, sonata_z_order.py, sonata_hilbert.py); the only edits are imports. SonataProcessor (processing_sonata.py, processor_config.json) wraps SonataFeatureExtractor, which runs sonata.transform.default() on a copy of the input arrays.

Verified against the official package (same process and seeds, V100, enable_flash=False): preprocessing, every tensor of the output Point and the features mapped back to every input point are bit-identical, in fp32 and under fp16 autocast, on an indoor and an outdoor demo scene.

Usage

import numpy as np, torch
from transformers import AutoModel, AutoProcessor

# enable_flash=False without FlashAttention (pre-Ampere GPUs), as the Sonata README suggests
model = AutoModel.from_pretrained("Sonata-Small", trust_remote_code=True, enable_flash=False).cuda().eval()
processor = AutoProcessor.from_pretrained("Sonata-Small", trust_remote_code=True)
point = processor({"coord": coord, "color": color, "normal": normal})  # (N, 3) numpy arrays
point = {k: v.cuda() if torch.is_tensor(v) else v for k, v in point.items()}
with torch.inference_mode():
    outputs = model(**point)  # outputs.last_hidden_state: features of the encoder's output points; outputs.point: the Point
  • return_dict=False returns a tuple.
  • Per-input-point features: walk outputs.point's pooling_parent / pooling_inverse back up and index with inverse, as in the Sonata README.
  • The checkpoint config has shuffle_orders=True and GridSample keeps a random point per voxel: seed numpy and torch for reproducible outputs.
  • Runtime packages beyond torch / transformers: spconv, torch_scatter, timm, addict, scipy (as the original); flash_attn when enable_flash is on.

Licensing

  • Weights: CC-BY-NC-4.0 (non-commercial) — LICENSE, as the official facebookresearch/sonata README releases them (restricted by the NC terms of datasets such as HM3D and ARKitScenes). facebook/sonata states no license and Pointcept/Sonata's model card says MIT; this package follows the official README.
  • Code (vendored files and the port): Apache-2.0 — LICENSE.code.
  • Attribution, sources and the changes made here: NOTICE.

Citation

If you use this model, please cite the original work, as its authors ask:

@inproceedings{wu2025sonata,
    title={Sonata: Self-Supervised Learning of Reliable Point Representations},
    author={Wu, Xiaoyang and DeTone, Daniel and Frost, Duncan and Shen, Tianwei and Xie, Chris and Yang, Nan and Engel, Jakob and Newcombe, Richard and Zhao, Hengshuang and Straub, Julian},
    booktitle={CVPR},
    year={2025}
}

@inproceedings{wu2024ptv3,
    title={Point Transformer V3: Simpler, Faster, Stronger},
    author={Wu, Xiaoyang and Jiang, Li and Wang, Peng-Shuai and Liu, Zhijian and Liu, Xihui and Qiao, Yu and Ouyang, Wanli and He, Tong and Zhao, Hengshuang},
    booktitle={CVPR},
    year={2024}
}

@inproceedings{wu2024ppt,
    title={Towards Large-scale 3D Representation Learning with Multi-dataset Point Prompt Training},
    author={Wu, Xiaoyang and Tian, Zhuotao and Wen, Xin and Peng, Bohao and Liu, Xihui and Yu, Kaicheng and Zhao, Hengshuang},
    booktitle={CVPR},
    year={2024}
}

@inproceedings{wu2023masked,
  title={Masked Scene Contrast: A Scalable Framework for Unsupervised 3D Representation Learning},
  author={Wu, Xiaoyang and Wen, Xin and Liu, Xihui and Zhao, Hengshuang},
  journal={CVPR},
  year={2023}
}

@inproceedings{wu2022ptv2,
    title={Point transformer V2: Grouped Vector Attention and Partition-based Pooling},
    author={Wu, Xiaoyang and Lao, Yixing and Jiang, Li and Liu, Xihui and Zhao, Hengshuang},
    booktitle={NeurIPS},
    year={2022}
}

@misc{pointcept2023,
    title={Pointcept: A Codebase for Point Cloud Perception Research},
    author={Pointcept Contributors},
    howpublished={\url{https://github.com/Pointcept/Pointcept}},
    year={2023}
}

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers

Нельзя запустить

Модели нужен код из репозитория; автор пока не в списке доверенных организаций.

Класс архитектуры
SonataModel
Ревизия весов
6ae7edb

0 моделей