/ Модель

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

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

Sonata-20251024

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

Порт Sonata на базе Point Transformer V3 извлекает признаки из облаков трёхмерных точек для последующей обработки сцен.

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

Бенчмарки

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

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

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

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

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

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

Это неофициальный порт контрольной точки Sonata от 24 октября 2025 года в формат Transformers. Sonata разработана исследователями Meta и представлена в работе «Sonata: Self-Supervised Learning of Reliable Point Representations»; порт подготовлен автором bigshanedogg на основе Pointcept/Sonata. Модель использует энкодер Point Transformer V3 с каналами [48, 96, 192, 384, 512] и извлекает признаки для точек облака. Входные массивы обрабатываются SonataProcessor, а результат содержит признаки точек и структуру Point.

Модель предназначена для получения представлений трёхмерных облаков точек, например для последующей обработки сцен и переноса признаков на исходные точки. Порт заявляет побитное совпадение с официальной реализацией на проверенных indoor- и outdoor-сценах в fp32 и fp16 autocast. Для воспроизводимых результатов требуется фиксировать seed для NumPy и PyTorch, поскольку порядок точек перемешивается, а GridSample случайно выбирает точку вокселя. Для запуска требуются PyTorch, Transformers и ряд дополнительных пакетов. Веса лицензированы CC-BY-NC-4.0 и предназначены для некоммерческого использования; код порта распространяется по Apache-2.0.

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

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

Ограничения

Для воспроизводимости нужно фиксировать seed NumPy и PyTorch из-за перемешивания порядка и случайного выбора точек при GridSample. Веса разрешены только для некоммерческого использования; запуск требует дополнительных зависимостей, включая spconv и torch_scatter.

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

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

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

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

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

Открыть на Hugging Face

Sonata-20251024 — transformers format

Unofficial transformers port of Sonata sonata_20251024.pth (Pointcept/Sonata) — Base, the 2025-10-24 checkpoint published in Pointcept/Sonata (no model card); Point Transformer V3 encoder, channels [48, 96, 192, 384, 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-20251024", trust_remote_code=True, enable_flash=False).cuda().eval()
processor = AutoProcessor.from_pretrained("Sonata-20251024", 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
Ревизия весов
fab336a

0 моделей