ddz16 commited on
Commit
1e61730
·
verified ·
1 Parent(s): 94833c3

Fix usage instructions: correct model class / plugin guidance, English-only

Browse files
Files changed (1) hide show
  1. README.md +24 -15
README.md CHANGED
@@ -1,32 +1,41 @@
1
  ---
2
  base_model: Qwen/Qwen3-VL-8B-Instruct
3
  license: apache-2.0
 
 
4
  tags:
5
  - camera-movement
6
  - video-understanding
7
  - qwen3-vl
8
- - sft
9
  - distillation
10
- library_name: transformers
11
- pipeline_tag: video-text-to-text
12
  ---
13
 
14
  # CamDistill-8B
15
 
16
- Camera-movement distillation SFT model, based on `Qwen/Qwen3-VL-8B-Instruct`.
 
 
 
17
 
18
- - Checkpoint: v5-20260724-054032 / checkpoint-1326
19
- - Training framework: [ms-swift](https://github.com/modelscope/ms-swift)
20
- - CamDistill config: DEPTH=8, EXTRACT_LAYERS=1,3,5,7,9,11,13,15, LAMBDA=0.05
21
 
22
- This model is described in the paper [Temporally Grounded Compositional Camera Motion Understanding via Geometric Knowledge Distillation](https://huggingface.co/papers/2608.10932).
23
- Project page: https://ddz16.github.io/cammotion.github.io
24
- Code: https://github.com/ddz16/CamDistill
 
25
 
26
  ## Usage
27
 
28
- ```python
29
- from transformers import AutoModelForCausalLM, AutoProcessor
30
- model = AutoModelForCausalLM.from_pretrained("ddz16/CamDistill-8B", torch_dtype="bfloat16", device_map="auto")
31
- processor = AutoProcessor.from_pretrained("ddz16/CamDistill-8B")
32
- ```
 
 
 
 
 
 
 
1
  ---
2
  base_model: Qwen/Qwen3-VL-8B-Instruct
3
  license: apache-2.0
4
+ library_name: transformers
5
+ pipeline_tag: video-text-to-text
6
  tags:
7
  - camera-movement
8
  - video-understanding
9
  - qwen3-vl
 
10
  - distillation
 
 
11
  ---
12
 
13
  # CamDistill-8B
14
 
15
+ Camera-movement understanding model trained with **Camera Token Distillation** on top of
16
+ `Qwen/Qwen3-VL-8B-Instruct`. A lightweight Camera Token Module learns geometry-aware camera
17
+ tokens (distilled from VGGT) and injects them into the language model. Given a video, it outputs
18
+ structured JSON describing every camera-movement segment.
19
 
20
+ - **Paper**: [Temporally Grounded Compositional Camera Motion Understanding via Geometric Knowledge Distillation](https://huggingface.co/papers/2608.10932)
21
+ - **Project page**: https://ddz16.github.io/cammotion.github.io
22
+ - **Code**: https://github.com/ddz16/CamDistill
23
 
24
+ > ⚠️ **This model cannot be loaded with plain 🤗 Transformers.** It contains an extra Camera Token
25
+ > Module and a patched forward pass. Loading it as a standard `Qwen3VLForConditionalGeneration`
26
+ > would silently drop those weights and produce incorrect results. Use the CamDistill repo, which
27
+ > registers the required custom model type through a plugin.
28
 
29
  ## Usage
30
 
31
+ Clone the [CamDistill repo](https://github.com/ddz16/CamDistill), then run (camera tokens are generated internally — **no online
32
+ VGGT required**):
33
+
34
+ ```bash
35
+ python camera_movement_sft/infer_single.py \
36
+ --model ddz16/CamDistill-8B \
37
+ --video /path/to/video.mp4 \
38
+ --variant camdistill
39
+ ```
40
+
41
+ See the repo's README for environment setup and batch evaluation.