/ Модель

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

Библиотека
pytorch
Опубликована
11 окт 2026

vesuvius-814-841-9b-resunet-studio-thin15-w96-20261011

Сегментация изображенийИзображение → mask3 профессии
0скачиваний за 30 дней0лайковвеса обновлены11 окт 2026

Описание модели

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

Модель сегментирует чернильные штрихи на микротомографических изображениях свитков Геркуланума.

Это частная исследовательская модель paranke для сегментации чернильных штрихов на микротомографических данных свитков Геркуланума. Модель разработана автором с нуля: это DeepResidualUNet с 223 355 921 параметром, обученная на размеченных данных PHerc0814, PHerc0841 и PHerc0009B. Для входа используются окна 96×96 пикселей, а предсказание формируется для центральной области 64×64 пикселя с последующим объединением перекрывающихся окон.

Модель предназначена для выделения чернил и фона на изображениях поверхности свитка, в том числе для разделения тонких штрихов. Она обучалась на разметке с чернильными штрихами, истончёнными на 15%; README приводит метрики на одном отложенном участке, но они не подтверждают переносимость на другие свитки и калибровку вероятностей. Модель распространяется в формате safetensors; доступ к частному репозиторию требует авторизации Hugging Face. Отдельная лицензия в предоставленных данных не указана.

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

  • выделение чернил на микротомографических срезах свитка
  • поиск тонких чернильных штрихов на поверхности свитка
  • разделение штрихов чернил и фона
  • построение карты вероятности чернил для участка свитка

Ограничения

Метрики получены на одном отложенном участке и не подтверждают обобщение на другие свитки; выходные вероятности не откалиброваны. Модель обучена на изменённой разметке с истончёнными на 15% штрихами, что следует учитывать при интерпретации границ сегментации.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

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

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

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

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

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

Открыть на Hugging Face

Vesuvius 814 / 841 / 9B — Studio thin15-w96 (15% thinner labels, 96 px window), epoch 5

Recommended inference: 96×96 model windows, central 64×64 output, Hann blending at stride 32 (the default of the included inference.py).

Private research model, trained from random initialization on 2026-10-11 with the Studio recipe and three changes aimed at thinner, better separated strokes:

Studio (2026-09-26)thin15-w96 (this model)
Training labelsDonor Studio sparse ink / background labelsthe same labels with ink strokes 15% thinner (local stroke width; removed edges become background)
Model input window128 × 128 px96 × 96 px
Loss regioncentral 96 pxcentral 64 px
Length9 of 10 planned epochs (74,250 updates)5 of 5 epochs (41,250 updates; learning-rate schedule spans the 5 epochs)

Everything else is the Studio recipe: the unchanged 223,355,921-parameter DeepResidualUNet(deeper=False), the same 424,425 training entries from PHerc0814, PHerc0841 and PHerc0009B, holdout and exclusions, sampler and seeds, augmentation, effective batch 64, BF16 + torch.compile, fused AdamW at peak learning rate 2e-4 with cosine decay, and the masked 0.5 BCE + 0.5 Dice loss (unknown pixels excluded). No PHerc0211, Scroll 1 or pretrained data is used. Trained on one NVIDIA H100 PCIe in 11.6 h.

Checkpoint and validation

model.safetensors is the final (epoch-5) model, every tensor checked for exact equality with the training checkpoint (training/weights.json). model-config.json holds the configuration, per-epoch validation and checksums; training-result.json the run summary.

EpochHoldout APHoldout ROC-AUCHoldout lossAP on thinned holdout labels
10.7040.8270.5670.635
20.7310.8150.7200.678
30.7320.8200.5480.676
40.7570.8230.6300.708
50.7680.8330.6490.718

The fixed 841-expanded-layer-03-approved-r000001 holdout (1,334 windows; AP / ROC-AUC on the central 32 px, 15,791 ink and 29,558 background pixels — the same pixels as the Studio model's metrics, which were AP 0.766 / ROC-AUC 0.830 at its epoch 9). Holdout loss is on the central 64 px and is not comparable with Studio's 96 px loss. Training uses the thinned labels; the holdout is scored on its original labels and, in the last column, on its thinned labels.

Scored over the whole holdout region with Hann-blended tiling (holdout-epoch-5.png): AP 0.775 (Studio epoch 9: 0.794); mean probability on background 0.140 (0.137) and on the thinned-away stroke edges 0.414 (0.444). These sparse metrics cover one held-out region; they do not establish generalization to other scrolls or calibrated probabilities.

Training and validation

Holdout region

Full training stack (private)

Download and inference

Authenticate with a Hugging Face account that has access to this private repository. Install a suitable PyTorch build, then:

hf auth login
hf download paranke/vesuvius-814-841-9b-resunet-studio-thin15-w96-20261011 --local-dir studio-thin15-w96
cd studio-thin15-w96
python -m pip install -r requirements.txt
python inference.py --input surface_16planes_uint8.npy --output ink_probability.npy --checkpoint model.safetensors --device cuda

Supply a .npy array of shape [16,H,W], dtype uint8, with consecutive surface-normal CT planes in the verified model depth order (the Studio contract: approximately 9 µm pitch, physical mapping, normal sign and depth order as recorded in the training data). Input preprocessing is clip(raw,0,200)/255. The helper runs 96×96 windows, keeps the central 64×64 px of each and blends overlapping windows with a 2D Hann weight at stride 32, so every pixel comes from 2×2 windows; --stride 64 --blend none gives plain non-overlapping tiling (4× fewer windows; shows per-window seams). Output is float32 [H,W] sigmoid ink probability. Use --amp fp32 where BF16 is unsupported. For direct integration, instantiate model.DeepResidualUNet(deeper=False), load the safetensors state dict with strict=True, and pass preprocessed [N,1,16,96,96] tensors. Pipelines built for the Studio model's 128 px windows must change their window size: this model was trained on 96 px windows only.

Training files

training/ holds the run's train.py, sparse_data.py, thin_labels.py, config.json, thin15-labels.json (per-dataset thinning statistics and SHA-256 of every thinned label file) and weights.json; the complete, runnable stack is in the GitHub repository above.

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

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

GPU в ailist

Универсальный рантайм · pytorch · image-segmentation

Можно запустить

Подбираем GPU…

Ревизия весов
9cb6d05

0 моделей