Downloads · 30 days
2
67% of all-time downloads
robbyant/lingbot-vision-vit-giant
lingbot-vision-vit-giant is a image feature extraction model from robbyant. 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 apache-2.0.
LingBot-Vision is a family of self-supervised Vision Transformer backbones for dense spatial perception. The models are pretrained with masked boundary modeling, a boundary-centric objective that encourages spatially…
Downloads · 30 days
2
67% of all-time downloads
All-time downloads
3
Public
Repo size
9.1 GB
Likes
14
Public
Click a slice to open those files.
.pt4.5 GB · 100%
From the Hugging Face model README
LingBot-Vision is a family of self-supervised Vision Transformer backbones for dense spatial perception. The models are pretrained with masked boundary modeling, a boundary-centric objective that encourages spatially structured patch features while retaining strong semantic representations.
This Hugging Face repository stores a backbone-only PyTorch checkpoint as model.pt. It is intended for inference, feature extraction, PCA visualization, and downstream dense prediction research.
LingBot-Vision learns dense patch representations that preserve boundaries, shapes, and semantic regions. The backbone is trained from random initialization with self-supervised teacher-student pretraining. During training, teacher-discovered boundary tokens are forced into the masked set, and boundary tokens receive both semantic self-distillation and categorical boundary-field supervision.
The released model family includes:
Each checkpoint contains backbone weights only. Training-time heads, optimizer states, and boundary-target generation components are not included.
Install the LingBot-Vision inference repository and dependencies:
git clone https://github.com/robbyant/lingbot-vision.git
cd lingbot-vision
conda create -n lingbot-vision python=3.10 -y
conda activate lingbot-vision
python -m pip install -r requirements.txt
python -m pip install -e .
Load a pretrained backbone:
import torch
from lbot_vision_infer import load_pretrained_backbone
device = "cuda" if torch.cuda.is_available() else "cpu"
dtype = torch.bfloat16 if device == "cuda" else torch.float32
backbone, embed_dim = load_pretrained_backbone(
variant="large",
device=device,
dtype=dtype,
)
print(backbone.patch_size, embed_dim)
The variant argument can be giant, large, base, or small. You can also pass an explicit Hugging Face model repo or a local directory to load_pretrained_backbone.
.pt file stored as model.pt@article{lingbot-vision2026,
title={Vision Pretraining for Dense Spatial Perception},
author={Fu, Zelin and Tan, Bin and Sun, Changjiang and Liu, Shaohui and Zheng, Kecheng and Xu, Yinghao and Zhu, Xing and Shen, Yujun and Xue, Nan},
year={2026}
}