Downloads · 30 days
0
frankzhang/BoneFM
BoneFM is a image feature extraction model from frankzhang. Use it for the image feature extraction task on the model card, and read the license before you ship it in a product. It is set up for pytorch. The card lists the license as cc-by-nc-4.0.
BoneFM is the skeleton-focused CT foundation backbone used by BoneCoT: Multi-center validation of a whole-body skeleton foundation model for bone metastases guided by clinician-derived chain of thought.
Downloads · 30 days
0
Access
Public
Updated Jun 26, 2026
Repo size
4.9 GB
Likes
0
Public
Click a slice to open those files.
.pth4.9 GB · 100%
From the Hugging Face model README
BoneFM is the skeleton-focused CT foundation backbone used by BoneCoT: Multi-center validation of a whole-body skeleton foundation model for bone metastases guided by clinician-derived chain of thought.
Hui Zhao<sup>1,,#</sup>, Ruipeng Zhang<sup>2,</sup>, Zhiyu Wang<sup>1,*</sup>, Yifeng Gu<sup>2</sup>, Shengyuan Xu<sup>3</sup>, Sheng Wang<sup>4,#</sup>, Yuehua Li<sup>2,#</sup>
<sup>*</sup>These authors contributed equally: Hui Zhao, Ruipeng Zhang, Zhiyu Wang
<sup>#</sup>Email: [email protected]; [email protected]; [email protected]
BoneFM is a Vision Transformer backbone adapted from DINOv2-style self-supervised learning for skeleton-focused CT representation. BoneCoT uses BoneFM features and clinician-derived task dependencies for downstream bone metastasis and bone-related disease reasoning.
This repository hosts the public BoneFM backbone checkpoint:
| File | Description |
|---|---|
BoneFM.pth | BoneFM pretrained backbone checkpoint for the BoneCoT public code |
README.md | Hugging Face model card |
Checkpoint integrity:
4,946,789,774 bytes5bed7f117e4f8a9f3b11eded0408e9ba60ee0bf3c3b335982d6b9e608c69d271BoneFM is intended for non-commercial research on skeletal CT representation learning and downstream bone-related disease modelling. It can be used as a feature backbone with the public BoneCoT code when users provide their own de-identified image data and clinically appropriate labels.
BoneFM and BoneCoT are not standalone clinical diagnostic devices. They should not be used for patient management without local validation, regulatory review, and qualified clinical oversight.
Prepare CT slices with the bone-window convention used by the public BoneCoT code:
WL = 300
WW = 1500
image = clip((HU - (WL - WW / 2)) / WW, 0, 1)
The public code expects PIL-readable RGB-compatible image files and applies the evaluation transforms defined in the BoneCoT repository.
Download the released checkpoint:
hf download frankzhang/BoneFM BoneFM.pth --local-dir finetune/checkpoints
Python alternative:
from huggingface_hub import hf_hub_download
path = hf_hub_download(
repo_id="frankzhang/BoneFM",
filename="BoneFM.pth",
local_dir="finetune/checkpoints",
)
print(path)
The expected local path for the BoneCoT repository is:
finetune/checkpoints/BoneFM.pth
This model repository is for the BoneFM backbone checkpoint and model card. It does not include:
Please cite the final Nature Biomedical Engineering record once it is live:
@article{bonecot2026,
title = {BoneCoT: Multi-center validation of a whole-body skeleton foundation model for bone metastases guided by clinician-derived chain of thought},
author = {Zhao, Hui and Zhang, Ruipeng and Wang, Zhiyu and Gu, Yifeng and Xu, Shengyuan and Wang, Sheng and Li, Yuehua},
journal = {Nature Biomedical Engineering},
year = {2026},
doi = {10.1038/s41551-026-01736-1}
}
BoneFM builds on DINOv2-style self-supervised vision-transformer code. Please also cite the relevant DINOv2 work when using inherited implementation components.
The public BoneFM release is made available under CC BY-NC 4.0 for non-commercial research use, subject to any applicable third-party code licenses in the accompanying implementation.