Jeethu commited on
Commit
5082a36
·
verified ·
1 Parent(s): 1d91e31

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ pipeline_tag: image-text-to-text
5
+ language:
6
+ - en
7
+ - de
8
+ - fr
9
+ - es
10
+ - it
11
+ - pt
12
+ - hi
13
+ - ja
14
+ - ko
15
+ - zh
16
+ - ar
17
+ tags:
18
+ - vision
19
+ - multimodal
20
+ - conversational
21
+ - multilingual
22
+ - native-resolution
23
+ base_model:
24
+ - CohereLabs/North-Micro-Vision-Instruct
25
+ base_model_relation: quantized
26
+ ---
27
+
28
+ # Jeethu/North-Micro-Vision-Instruct
29
+
30
+ **Pairwise Rotation Quantization for Efficient Reasoning LLM Inference**
31
+
32
+ <p>
33
+ <a href="https://arxiv.org/abs/2511.10645"><img src="https://img.shields.io/badge/arXiv-2511.10645-b31b1b.svg" alt="Paper"></a>
34
+ <a href="https://paroquant.z-lab.ai"><img src="https://img.shields.io/badge/Blog-ParoQuant-blue" alt="Blog"></a>
35
+ <a href="https://huggingface.co/collections/z-lab/paroquant"><img src="https://img.shields.io/badge/%F0%9F%A4%97-Models-yellow" alt="Models"></a>
36
+ <a href="https://pypi.org/project/paroquant/"><img src="https://img.shields.io/pypi/v/paroquant" alt="PyPI"></a>
37
+ </p>
38
+
39
+ ParoQuant is the state-of-the-art INT4 quantization for LLMs. It closes the accuracy gap with FP16 while running at near-AWQ speed. Supports NVIDIA GPUs (vLLM, Transformers) and Apple Silicon (MLX). For more information, see https://github.com/z-lab/paroquant.
40
+
41
+ Jeethu/North-Micro-Vision-Instruct is a 4-bit [CohereLabs/North-Micro-Vision-Instruct](https://huggingface.co/CohereLabs/North-Micro-Vision-Instruct) quantized with ParoQuant.
42
+
43
+ ## Evaluation
44
+
45
+ The following evaluations were run on 2026-08-14 with deterministic greedy decoding. The source checkpoint was evaluated in its native BF16 dtype. This ParoQuant checkpoint uses INT4 language projections (group size 128, `krot=8`) with FP16 retained tensors, including the vision encoder. For context, the published [MLX affine 4-bit checkpoint](https://huggingface.co/mlx-community/North-Micro-Vision-Instruct-4bit) uses group size 64 with BF16 retained tensors.
46
+
47
+ ### Vision
48
+
49
+ | Benchmark | Samples | Source BF16 | ParoQuant INT4 / FP16 | MLX affine 4-bit / BF16 |
50
+ | --- | ---: | ---: | ---: | ---: |
51
+ | [ChartQA](https://huggingface.co/datasets/lmms-lab/ChartQA) relaxed accuracy | 100 | 81.00% | 81.00% | 81.00% |
52
+ | [MMStar](https://huggingface.co/datasets/Lin-Chen/MMStar) accuracy | 1,500 | 50.53% | 50.33% | 51.07% |
53
+
54
+ ChartQA uses a fixed seed-0 stratified sample of 50 `human_test` and 50 `augmented_test` examples. Scoring follows the VLMEvalKit relaxed rule: case-insensitive exact text matching or a 5% relative tolerance for numeric answers. MMStar uses the complete validation split and extracts the selected option from deterministic generations.
55
+
56
+ Against source BF16, ParoQuant changes ChartQA by 0.00 percentage points (paired bootstrap 95% CI: -3.00 to +3.00) and MMStar by -0.20 points (95% CI: -1.80 to +1.40). A targeted multi-image color-ordering, synthetic OCR, and object-counting smoke suite was also passed exactly by source BF16 and ParoQuant. MLX was semantically correct on all three cases and exact on two; its color response was verbose.
57
+
58
+ ### Text
59
+
60
+ | Benchmark | Samples / tokens | Source BF16 | ParoQuant INT4 / FP16 | MLX affine 4-bit / BF16 |
61
+ | --- | ---: | ---: | ---: | ---: |
62
+ | [WikiText-2](https://huggingface.co/datasets/Salesforce/wikitext) perplexity (lower is better) | 32,704 tokens | 30.882 | **31.106** | 33.506 |
63
+ | [ARC-Challenge](https://huggingface.co/datasets/allenai/ai2_arc) accuracy | 1,172 | 73.21% | **70.56%** | 69.88% |
64
+ | [HellaSwag](https://huggingface.co/datasets/Rowan/hellaswag) accuracy | 2,000 | 49.50% | 48.20% | 49.00% |
65
+
66
+ WikiText-2 perplexity uses 64 non-overlapping sequences of 512 tokens from the test split. ARC-Challenge uses the complete labeled test split. HellaSwag uses a fixed seed-0 sample from the validation split. ARC-Challenge and HellaSwag are zero-shot greedy chat multiple-choice evaluations with identical prompts and tokenization across backends; they are not canonical `lm-eval` log-likelihood scores.
67
+
68
+ Against source BF16, the ParoQuant ARC-Challenge delta is -2.65 percentage points (paired bootstrap 95% CI: -4.18 to -1.11), while its HellaSwag delta is -1.30 points (95% CI: -2.80 to +0.20).
69
+
70
+ Dataset revisions were pinned to `9e63b7df1592a1c2158e735cc1725454aef0d6d9` (ChartQA), `bc98d668301da7b14f648724866e57302778ab27` (MMStar), `210d026faf9955653af8916fad021475a3f00453` (ARC), `218ec52e09a7e7462a5400043bb9a69a41d06b76` (HellaSwag), and `b08601e04326c79dfdd32d625aee71d232d685c3` (WikiText).
chat_template.jinja ADDED
@@ -0,0 +1 @@
 
 
1
+ {{ bos_token }}{%- for message in messages %}{%- if message.role == 'system' %}{{- '<|START_OF_TURN_TOKEN|><|SYSTEM_TOKEN|>' }}{%- if message.content is string %}{{- message.content }}{%- else %}{%- for content in message.content %}{%- if 'text' in content %}{{- content.text }}{%- endif %}{%- endfor %}{%- endif %}{{- '<|END_OF_TURN_TOKEN|>' }}{%- elif message.role == 'user' %}{{- '<|START_OF_TURN_TOKEN|><|USER_TOKEN|>' }}{%- if message.content is string %}{{- message.content }}{%- else %}{%- for content in message.content %}{%- if content.type == 'image' or 'image' in content or 'image_url' in content %}<|VISION_START|><|IMAGE_PAD|><|VISION_END|>{%- elif content.type == 'video' or 'video' in content %}<|VISION_START|><|VIDEO_PAD|><|VISION_END|>{%- elif 'text' in content %}{{- content.text }}{%- endif %}{%- endfor %}{%- endif %}{{- '<|END_OF_TURN_TOKEN|>' }}{%- elif message.role == 'assistant' or message.role == 'chatbot' %}{{- '<|START_OF_TURN_TOKEN|><|CHATBOT_TOKEN|>' }}{%- if message.content is string %}{{- message.content }}{%- else %}{%- for content in message.content %}{%- if 'text' in content %}{{- content.text }}{%- endif %}{%- endfor %}{%- endif %}{{- '<|END_OF_TURN_TOKEN|>' }}{%- endif %}{%- endfor %}{%- if add_generation_prompt %}{{- '<|START_OF_TURN_TOKEN|><|CHATBOT_TOKEN|>' }}{%- endif %}
config.json ADDED
@@ -0,0 +1,164 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "transformers_version": "5.15.0.dev0",
3
+ "architectures": [
4
+ "CohereCompassForConditionalGeneration"
5
+ ],
6
+ "output_hidden_states": false,
7
+ "return_dict": true,
8
+ "dtype": "bfloat16",
9
+ "chunk_size_feed_forward": 0,
10
+ "is_encoder_decoder": false,
11
+ "id2label": {
12
+ "0": "LABEL_0",
13
+ "1": "LABEL_1"
14
+ },
15
+ "label2id": {
16
+ "LABEL_0": 0,
17
+ "LABEL_1": 1
18
+ },
19
+ "problem_type": null,
20
+ "text_config": {
21
+ "architectures": null,
22
+ "output_hidden_states": false,
23
+ "return_dict": true,
24
+ "dtype": "bfloat16",
25
+ "chunk_size_feed_forward": 0,
26
+ "is_encoder_decoder": false,
27
+ "id2label": {
28
+ "0": "LABEL_0",
29
+ "1": "LABEL_1"
30
+ },
31
+ "label2id": {
32
+ "LABEL_0": 0,
33
+ "LABEL_1": 1
34
+ },
35
+ "problem_type": null,
36
+ "vocab_size": 262144,
37
+ "hidden_size": 2048,
38
+ "intermediate_size": 6144,
39
+ "logit_scale": 0.25,
40
+ "num_hidden_layers": 28,
41
+ "num_attention_heads": 16,
42
+ "num_key_value_heads": 8,
43
+ "hidden_act": "silu",
44
+ "max_position_embeddings": 500000,
45
+ "initializer_range": 0.02,
46
+ "layer_norm_eps": 1e-05,
47
+ "use_cache": true,
48
+ "pad_token_id": 0,
49
+ "bos_token_id": 2,
50
+ "eos_token_id": 255001,
51
+ "tie_word_embeddings": true,
52
+ "rope_parameters": {
53
+ "sliding_attention": {
54
+ "mrope_interleaved": true,
55
+ "mrope_section": [
56
+ 24,
57
+ 20,
58
+ 20
59
+ ],
60
+ "rope_type": "default",
61
+ "rope_theta": 50000
62
+ },
63
+ "full_attention": null,
64
+ "rope_theta": 10000.0,
65
+ "rope_type": "default"
66
+ },
67
+ "attention_bias": false,
68
+ "attention_dropout": 0.0,
69
+ "sliding_window": 4096,
70
+ "layer_types": [
71
+ "sliding_attention",
72
+ "sliding_attention",
73
+ "sliding_attention",
74
+ "full_attention",
75
+ "sliding_attention",
76
+ "sliding_attention",
77
+ "sliding_attention",
78
+ "full_attention",
79
+ "sliding_attention",
80
+ "sliding_attention",
81
+ "sliding_attention",
82
+ "full_attention",
83
+ "sliding_attention",
84
+ "sliding_attention",
85
+ "sliding_attention",
86
+ "full_attention",
87
+ "sliding_attention",
88
+ "sliding_attention",
89
+ "sliding_attention",
90
+ "full_attention",
91
+ "sliding_attention",
92
+ "sliding_attention",
93
+ "sliding_attention",
94
+ "full_attention",
95
+ "sliding_attention",
96
+ "sliding_attention",
97
+ "sliding_attention",
98
+ "full_attention"
99
+ ],
100
+ "score_shift_a": null,
101
+ "score_shift_b": null,
102
+ "pooling": null,
103
+ "head_dim": 128,
104
+ "_name_or_path": "",
105
+ "model_type": "cohere_compass_text",
106
+ "output_attentions": false
107
+ },
108
+ "vision_config": {
109
+ "architectures": null,
110
+ "output_hidden_states": false,
111
+ "return_dict": true,
112
+ "dtype": "bfloat16",
113
+ "chunk_size_feed_forward": 0,
114
+ "is_encoder_decoder": false,
115
+ "id2label": {
116
+ "0": "LABEL_0",
117
+ "1": "LABEL_1"
118
+ },
119
+ "label2id": {
120
+ "LABEL_0": 0,
121
+ "LABEL_1": 1
122
+ },
123
+ "problem_type": null,
124
+ "depth": 27,
125
+ "hidden_size": 1152,
126
+ "hidden_act": "gelu_pytorch_tanh",
127
+ "intermediate_size": 4304,
128
+ "num_heads": 16,
129
+ "in_channels": 3,
130
+ "patch_size": 16,
131
+ "spatial_merge_size": 2,
132
+ "temporal_patch_size": 2,
133
+ "out_hidden_size": 2048,
134
+ "num_position_embeddings": 2304,
135
+ "deepstack_visual_indexes": [
136
+ 8,
137
+ 16,
138
+ 24
139
+ ],
140
+ "initializer_range": 0.02,
141
+ "_name_or_path": "",
142
+ "model_type": "cohere_compass_vision",
143
+ "output_attentions": false
144
+ },
145
+ "fusion_config": {
146
+ "patch_embeddings": true
147
+ },
148
+ "image_token_id": 255031,
149
+ "video_token_id": 255032,
150
+ "vision_start_token_id": 255028,
151
+ "vision_end_token_id": 255029,
152
+ "tie_word_embeddings": true,
153
+ "_name_or_path": "",
154
+ "eos_token_id": 255001,
155
+ "pad_token_id": 0,
156
+ "model_type": "cohere_compass",
157
+ "output_attentions": false,
158
+ "quantization_config": {
159
+ "quant_method": "paroquant",
160
+ "bits": 4,
161
+ "group_size": 128,
162
+ "krot": 8
163
+ }
164
+ }
generation_config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 2,
3
+ "eos_token_id": [
4
+ 255001
5
+ ],
6
+ "pad_token_id": 0,
7
+ "do_sample": true,
8
+ "temperature": 0.7,
9
+ "top_p": 0.8,
10
+ "top_k": 20
11
+ }
12
+
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:966a132bf32ebdc548732d6a1b03ae0738d7562f68aed85b0c5b3d540999da0b
3
+ size 2896904080
preprocessor_config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": null,
3
+ "data_format": "channels_first",
4
+ "default_to_square": false,
5
+ "device": null,
6
+ "disable_grouping": null,
7
+ "do_center_crop": null,
8
+ "do_convert_rgb": true,
9
+ "do_normalize": true,
10
+ "do_pad": null,
11
+ "do_rescale": true,
12
+ "do_resize": true,
13
+ "image_mean": [
14
+ 0.5,
15
+ 0.5,
16
+ 0.5
17
+ ],
18
+ "image_std": [
19
+ 0.5,
20
+ 0.5,
21
+ 0.5
22
+ ],
23
+ "input_data_format": null,
24
+ "merge_size": 2,
25
+ "pad_size": null,
26
+ "patch_size": 16,
27
+ "processor_class": "CohereCompassProcessor",
28
+ "resample": 3,
29
+ "rescale_factor": 0.00392156862745098,
30
+ "return_tensors": null,
31
+ "size": {
32
+ "longest_edge": 16777216,
33
+ "shortest_edge": 65536
34
+ },
35
+ "temporal_patch_size": 2,
36
+ "image_processor_type": "CohereCompassImageProcessor"
37
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|VISION_START|>",
4
+ "<|IMAGE_PAD|>",
5
+ "<|VISION_END|>",
6
+ "<|VISION_PAD|>",
7
+ "<|VIDEO_PAD|>"
8
+ ],
9
+ "bos_token": {
10
+ "content": "<BOS_TOKEN>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "<|END_OF_TURN_TOKEN|>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "pad_token": {
24
+ "content": "<PAD>",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "unk_token": {
31
+ "content": "<UNK>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ }
37
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6fcc5292908e0c8ad1400c67fe9413825c656486fe4190dce7d8d62c38bfbbf6
3
+ size 19550662
tokenizer_config.json ADDED
@@ -0,0 +1,340 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_eos_token": false,
4
+ "add_prefix_space": false,
5
+ "added_tokens_decoder": {
6
+ "0": {
7
+ "content": "<PAD>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false,
12
+ "special": true
13
+ },
14
+ "1": {
15
+ "content": "<MASK_TOKEN>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": true
21
+ },
22
+ "2": {
23
+ "content": "<BOS_TOKEN>",
24
+ "lstrip": false,
25
+ "normalized": false,
26
+ "rstrip": false,
27
+ "single_word": false,
28
+ "special": true
29
+ },
30
+ "3": {
31
+ "content": "<EOS_TOKEN>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false,
36
+ "special": true
37
+ },
38
+ "4": {
39
+ "content": "<UNK>",
40
+ "lstrip": false,
41
+ "normalized": false,
42
+ "rstrip": false,
43
+ "single_word": false,
44
+ "special": true
45
+ },
46
+ "255000": {
47
+ "content": "<|START_OF_TURN_TOKEN|>",
48
+ "lstrip": false,
49
+ "normalized": false,
50
+ "rstrip": false,
51
+ "single_word": false,
52
+ "special": false
53
+ },
54
+ "255001": {
55
+ "content": "<|END_OF_TURN_TOKEN|>",
56
+ "lstrip": false,
57
+ "normalized": false,
58
+ "rstrip": false,
59
+ "single_word": false,
60
+ "special": true
61
+ },
62
+ "255002": {
63
+ "content": "<|USER_TOKEN|>",
64
+ "lstrip": false,
65
+ "normalized": false,
66
+ "rstrip": false,
67
+ "single_word": false,
68
+ "special": false
69
+ },
70
+ "255003": {
71
+ "content": "<|CHATBOT_TOKEN|>",
72
+ "lstrip": false,
73
+ "normalized": false,
74
+ "rstrip": false,
75
+ "single_word": false,
76
+ "special": false
77
+ },
78
+ "255004": {
79
+ "content": "<|SYSTEM_TOKEN|>",
80
+ "lstrip": false,
81
+ "normalized": false,
82
+ "rstrip": false,
83
+ "single_word": false,
84
+ "special": false
85
+ },
86
+ "255005": {
87
+ "content": "<|NEW_FILE|>",
88
+ "lstrip": false,
89
+ "normalized": false,
90
+ "rstrip": false,
91
+ "single_word": false,
92
+ "special": true
93
+ },
94
+ "255006": {
95
+ "content": "<|BEGINNING_OF_PREFIX_FIM_TOKEN|>",
96
+ "lstrip": false,
97
+ "normalized": false,
98
+ "rstrip": false,
99
+ "single_word": false,
100
+ "special": true
101
+ },
102
+ "255007": {
103
+ "content": "<|BEGINNING_OF_MIDDLE_FIM_TOKEN|>",
104
+ "lstrip": false,
105
+ "normalized": false,
106
+ "rstrip": false,
107
+ "single_word": false,
108
+ "special": true
109
+ },
110
+ "255008": {
111
+ "content": "<|BEGINNING_OF_SUFFIX_FIM_TOKEN|>",
112
+ "lstrip": false,
113
+ "normalized": false,
114
+ "rstrip": false,
115
+ "single_word": false,
116
+ "special": true
117
+ },
118
+ "255009": {
119
+ "content": "<|END_OF_MIDDLE_FIM_TOKEN|>",
120
+ "lstrip": false,
121
+ "normalized": false,
122
+ "rstrip": false,
123
+ "single_word": false,
124
+ "special": true
125
+ },
126
+ "255010": {
127
+ "content": "<|START_THINKING|>",
128
+ "lstrip": false,
129
+ "normalized": false,
130
+ "rstrip": false,
131
+ "single_word": false,
132
+ "special": false
133
+ },
134
+ "255011": {
135
+ "content": "<|END_THINKING|>",
136
+ "lstrip": false,
137
+ "normalized": false,
138
+ "rstrip": false,
139
+ "single_word": false,
140
+ "special": false
141
+ },
142
+ "255012": {
143
+ "content": "<|START_RESPONSE|>",
144
+ "lstrip": false,
145
+ "normalized": false,
146
+ "rstrip": false,
147
+ "single_word": false,
148
+ "special": false
149
+ },
150
+ "255013": {
151
+ "content": "<|END_RESPONSE|>",
152
+ "lstrip": false,
153
+ "normalized": false,
154
+ "rstrip": false,
155
+ "single_word": false,
156
+ "special": false
157
+ },
158
+ "255014": {
159
+ "content": "<|START_ACTION|>",
160
+ "lstrip": false,
161
+ "normalized": false,
162
+ "rstrip": false,
163
+ "single_word": false,
164
+ "special": false
165
+ },
166
+ "255015": {
167
+ "content": "<|END_ACTION|>",
168
+ "lstrip": false,
169
+ "normalized": false,
170
+ "rstrip": false,
171
+ "single_word": false,
172
+ "special": false
173
+ },
174
+ "255016": {
175
+ "content": "<|START_TOOL_RESULT|>",
176
+ "lstrip": false,
177
+ "normalized": false,
178
+ "rstrip": false,
179
+ "single_word": false,
180
+ "special": false
181
+ },
182
+ "255017": {
183
+ "content": "<|END_TOOL_RESULT|>",
184
+ "lstrip": false,
185
+ "normalized": false,
186
+ "rstrip": false,
187
+ "single_word": false,
188
+ "special": false
189
+ },
190
+ "255018": {
191
+ "content": "<|USER_0_TOKEN|>",
192
+ "lstrip": false,
193
+ "normalized": false,
194
+ "rstrip": false,
195
+ "single_word": false,
196
+ "special": false
197
+ },
198
+ "255019": {
199
+ "content": "<|USER_1_TOKEN|>",
200
+ "lstrip": false,
201
+ "normalized": false,
202
+ "rstrip": false,
203
+ "single_word": false,
204
+ "special": false
205
+ },
206
+ "255020": {
207
+ "content": "<|USER_2_TOKEN|>",
208
+ "lstrip": false,
209
+ "normalized": false,
210
+ "rstrip": false,
211
+ "single_word": false,
212
+ "special": false
213
+ },
214
+ "255021": {
215
+ "content": "<|USER_3_TOKEN|>",
216
+ "lstrip": false,
217
+ "normalized": false,
218
+ "rstrip": false,
219
+ "single_word": false,
220
+ "special": false
221
+ },
222
+ "255022": {
223
+ "content": "<|USER_4_TOKEN|>",
224
+ "lstrip": false,
225
+ "normalized": false,
226
+ "rstrip": false,
227
+ "single_word": false,
228
+ "special": false
229
+ },
230
+ "255023": {
231
+ "content": "<|USER_5_TOKEN|>",
232
+ "lstrip": false,
233
+ "normalized": false,
234
+ "rstrip": false,
235
+ "single_word": false,
236
+ "special": false
237
+ },
238
+ "255024": {
239
+ "content": "<|USER_6_TOKEN|>",
240
+ "lstrip": false,
241
+ "normalized": false,
242
+ "rstrip": false,
243
+ "single_word": false,
244
+ "special": false
245
+ },
246
+ "255025": {
247
+ "content": "<|USER_7_TOKEN|>",
248
+ "lstrip": false,
249
+ "normalized": false,
250
+ "rstrip": false,
251
+ "single_word": false,
252
+ "special": false
253
+ },
254
+ "255026": {
255
+ "content": "<|USER_8_TOKEN|>",
256
+ "lstrip": false,
257
+ "normalized": false,
258
+ "rstrip": false,
259
+ "single_word": false,
260
+ "special": false
261
+ },
262
+ "255027": {
263
+ "content": "<|USER_9_TOKEN|>",
264
+ "lstrip": false,
265
+ "normalized": false,
266
+ "rstrip": false,
267
+ "single_word": false,
268
+ "special": false
269
+ },
270
+ "255028": {
271
+ "content": "<|VISION_START|>",
272
+ "lstrip": false,
273
+ "normalized": false,
274
+ "rstrip": false,
275
+ "single_word": false,
276
+ "special": true
277
+ },
278
+ "255029": {
279
+ "content": "<|VISION_END|>",
280
+ "lstrip": false,
281
+ "normalized": false,
282
+ "rstrip": false,
283
+ "single_word": false,
284
+ "special": true
285
+ },
286
+ "255030": {
287
+ "content": "<|VISION_PAD|>",
288
+ "lstrip": false,
289
+ "normalized": false,
290
+ "rstrip": false,
291
+ "single_word": false,
292
+ "special": true
293
+ },
294
+ "255031": {
295
+ "content": "<|IMAGE_PAD|>",
296
+ "lstrip": false,
297
+ "normalized": false,
298
+ "rstrip": false,
299
+ "single_word": false,
300
+ "special": true
301
+ },
302
+ "255032": {
303
+ "content": "<|VIDEO_PAD|>",
304
+ "lstrip": false,
305
+ "normalized": false,
306
+ "rstrip": false,
307
+ "single_word": false,
308
+ "special": true
309
+ }
310
+ },
311
+ "additional_special_tokens": [
312
+ "<|VISION_START|>",
313
+ "<|IMAGE_PAD|>",
314
+ "<|VISION_END|>",
315
+ "<|VISION_PAD|>",
316
+ "<|VIDEO_PAD|>"
317
+ ],
318
+ "bos_token": "<BOS_TOKEN>",
319
+ "clean_up_tokenization_spaces": false,
320
+ "eos_token": "<|END_OF_TURN_TOKEN|>",
321
+ "extra_special_tokens": {},
322
+ "image_token": "<|IMAGE_PAD|>",
323
+ "legacy": true,
324
+ "max_pixels": 3868706,
325
+ "merges_file": null,
326
+ "min_pixels": 16384,
327
+ "model_max_length": 1000000000000000019884624838656,
328
+ "pad_token": "<PAD>",
329
+ "padding_side": "right",
330
+ "processor_class": "CohereCompassProcessor",
331
+ "sp_model_kwargs": {},
332
+ "spaces_between_special_tokens": false,
333
+ "tokenizer_class": "CohereTokenizer",
334
+ "unk_token": "<UNK>",
335
+ "use_default_system_prompt": false,
336
+ "video_token": "<|VIDEO_PAD|>",
337
+ "vision_end_token": "<|VISION_END|>",
338
+ "vision_start_token": "<|VISION_START|>",
339
+ "vocab_file": null
340
+ }
video_preprocessor_config.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "size": {
3
+ "longest_edge": 25165824,
4
+ "shortest_edge": 4096
5
+ },
6
+ "patch_size": 16,
7
+ "temporal_patch_size": 2,
8
+ "merge_size": 2,
9
+ "image_mean": [
10
+ 0.5,
11
+ 0.5,
12
+ 0.5
13
+ ],
14
+ "image_std": [
15
+ 0.5,
16
+ 0.5,
17
+ 0.5
18
+ ],
19
+ "processor_class": "CohereCompassProcessor",
20
+ "video_processor_type": "CohereCompassVideoProcessor"
21
+ }