Downloads · 30 days
0
jankin123/4DThinker-3B
4DThinker-3B is a video-text-to-text model from jankin123. Use it for the video-text-to-text task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
Downloads · 30 days
0
Access
Public
Updated May 11, 2026
Repo size
16.3 GB
Likes
0
Public
Click a slice to open those files.
.safetensors16.3 GB · 100%
From the Hugging Face model README
4DThinker is a framework that enables Vision-Language Models (VLMs) to "think with 4D" through dynamic latent mental imagery—internally simulating how scenes evolve within the continuous hidden space. It addresses dynamic spatial reasoning from monocular video by grounding the model in dynamic visual semantics.
This repository contains the trained model checkpoints from Qwen2.5-VL-3B for 4DThinker.
model/
├── dift/
│ ├── checkpoints/ # DIFT-stage model weights
│ │ ├── model-00001-of-00002.safetensors
│ │ ├── model-00002-of-00002.safetensors
│ │ ├── config.json
│ │ ├── tokenizer.json
│ │ └── ...
│ └── tensorboard/ # DIFT training logs
└── 4drl/
├── model-00001-of-00002.safetensors
├── model-00002-of-00002.safetensors
├── config.json
├── tokenizer.json
├── trainer_state.json
└── ...
| Model | Stage | Base Model | Description |
|---|---|---|---|
dift/checkpoints/ | DIFT | Qwen2.5-VL-3B-Instruct | Supervised with cosine similarity loss on latent visual tokens |
4drl/ | 4DRL (GRPO) | DIFT checkpoint | Reinforced with answer-based rewards |
Three special tokens are added to the Qwen2.5-VL vocabulary to support latent imagery:
| Token | Description |
|---|---|
| `< | latent_pad |
| `< | latent_start |
| `< | latent_end |
from transformers import Qwen2_5_VLForConditionalGeneration, AutoProcessor
model = Qwen2_5_VLForConditionalGeneration.from_pretrained(
"jankin123/4DThinker-3B",
subfolder="4drl",
torch_dtype="auto",
device_map="auto"
)
processor = AutoProcessor.from_pretrained("jankin123/4DThinker-3B", subfolder="4drl")
@article{4dthinker,
title={4DThinker: Thinking with 4D Imagery for Dynamic Spatial Understanding},
author={Zhang, Quanchen and others},
journal={arXiv preprint arXiv:2605.05997},
year={2026}
}
If you find 4DThinker helpful for your work, please cite
@article{chen20264dthinker,
title={4DThinker: Thinking with 4D Imagery for Dynamic Spatial Understanding},
author={Chen, Zhangquan and Zhang, Manyuan and Yu, Xinlei and An, Xiang and Li, Bo and Xie, Xin and Wang, ZiDong and Sun, Mingze and Chen, Shuang and Li, Hongyu and others},
journal={arXiv preprint arXiv:2605.05997},
year={2026}
}
Apache License 2.0