guarin HF Staff commited on
Commit
e2f2af6
·
verified ·
1 Parent(s): cc61e2e

Use tiny Qwen image and video sizes for fast processor tests

Browse files
Files changed (2) hide show
  1. README.md +1 -2
  2. processor_config.json +8 -8
README.md CHANGED
@@ -12,8 +12,7 @@ and the processor configuration, tokenizer settings, and chat template from
12
  [guarin/Xiaomi-Lens-0](https://huggingface.co/guarin/Xiaomi-Lens-0/tree/1fe02dea90bfaaaf1d1311dc187a4466fdb9a1b8).
13
 
14
  Xiaomi control tokens are added to the tiny vocabulary. Token IDs are local to this
15
- fixture and are not compatible with the full model weights. Image and video settings
16
- are unchanged from Xiaomi-Lens-0; only the vocabulary is tiny. No model weights are included.
17
  Requires a Transformers version supporting XiaomiLens0Processor.
18
 
19
  ```python
 
12
  [guarin/Xiaomi-Lens-0](https://huggingface.co/guarin/Xiaomi-Lens-0/tree/1fe02dea90bfaaaf1d1311dc187a4466fdb9a1b8).
13
 
14
  Xiaomi control tokens are added to the tiny vocabulary. Token IDs are local to this
15
+ fixture and are not compatible with the full model weights. Image and video size limits (784–3136 pixels) and patch size (4) use the tiny Qwen fixture settings for fast unit tests. The image min_pixels/max_pixels aliases match those limits. Other processor settings, the chat template, and tokenizer settings come from Xiaomi-Lens-0. No model weights are included.
 
16
  Requires a Transformers version supporting XiaomiLens0Processor.
17
 
18
  ```python
processor_config.json CHANGED
@@ -15,15 +15,15 @@
15
  0.5,
16
  0.5
17
  ],
18
- "max_pixels": 8388608,
19
  "merge_size": 2,
20
- "min_pixels": 65536,
21
- "patch_size": 16,
22
  "resample": 3,
23
  "rescale_factor": 0.00392156862745098,
24
  "size": {
25
- "longest_edge": 8388608,
26
- "shortest_edge": 65536
27
  },
28
  "temporal_patch_size": 2
29
  },
@@ -48,13 +48,13 @@
48
  "max_frames": 768,
49
  "merge_size": 2,
50
  "min_frames": 4,
51
- "patch_size": 16,
52
  "resample": 3,
53
  "rescale_factor": 0.00392156862745098,
54
  "return_metadata": false,
55
  "size": {
56
- "longest_edge": 25165824,
57
- "shortest_edge": 4096
58
  },
59
  "temporal_patch_size": 2,
60
  "video_processor_type": "Qwen3VLVideoProcessor"
 
15
  0.5,
16
  0.5
17
  ],
18
+ "max_pixels": 3136,
19
  "merge_size": 2,
20
+ "min_pixels": 784,
21
+ "patch_size": 4,
22
  "resample": 3,
23
  "rescale_factor": 0.00392156862745098,
24
  "size": {
25
+ "longest_edge": 3136,
26
+ "shortest_edge": 784
27
  },
28
  "temporal_patch_size": 2
29
  },
 
48
  "max_frames": 768,
49
  "merge_size": 2,
50
  "min_frames": 4,
51
+ "patch_size": 4,
52
  "resample": 3,
53
  "rescale_factor": 0.00392156862745098,
54
  "return_metadata": false,
55
  "size": {
56
+ "longest_edge": 3136,
57
+ "shortest_edge": 784
58
  },
59
  "temporal_patch_size": 2,
60
  "video_processor_type": "Qwen3VLVideoProcessor"