hugging-yiii commited on
Commit
b689783
·
verified ·
1 Parent(s): 52fc8dc

Add 2bit-lite MLX quantization (1/9)

Browse files
2bit-lite/model.safetensors.index.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:af9f2bf562ba0691469229d78d843ac66c6e261991d417a6e1f1d534efcf351c
3
  size 11529499
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d27789250345c2d74c5a9ee371b453db491375ae9b5a05ecad1ae5f09cc73569
3
  size 11529499
2bit-lite/preprocessor_config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_rescale": true,
3
+ "patch_expand_factor": 1,
4
+ "merge_size": 2,
5
+ "image_mean": [
6
+ 0.48145466,
7
+ 0.4578275,
8
+ 0.40821073
9
+ ],
10
+ "image_std": [
11
+ 0.26862954,
12
+ 0.26130258,
13
+ 0.27577711
14
+ ],
15
+ "temporal_patch_size": 2,
16
+ "patch_size": 14,
17
+ "min_image_tokens": 16,
18
+ "max_image_tokens": 8000,
19
+ "image_processor_type": "Glm5NextImageProcessor",
20
+ "do_convert_rgb": true,
21
+ "do_resize": true,
22
+ "resample": 3,
23
+ "rescale_factor": 0.00392156862745098,
24
+ "do_normalize": true,
25
+ "size": {
26
+ "longest_edge": 1
27
+ },
28
+ "processor_class": "Glm5NextProcessor"
29
+ }
2bit-lite/video_preprocessor_config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_rescale": true,
3
+ "video_processor_type": "Glm5NextVideoProcessor",
4
+ "patch_expand_factor": 1,
5
+ "merge_size": 2,
6
+ "image_mean": [
7
+ 0.48145466,
8
+ 0.4578275,
9
+ 0.40821073
10
+ ],
11
+ "image_std": [
12
+ 0.26862954,
13
+ 0.26130258,
14
+ 0.27577711
15
+ ],
16
+ "temporal_patch_size": 2,
17
+ "patch_size": 14,
18
+ "min_image_tokens": 16,
19
+ "max_image_tokens": 240000,
20
+ "fps": 2,
21
+ "do_convert_rgb": true,
22
+ "do_resize": true,
23
+ "resample": 3,
24
+ "rescale_factor": 0.00392156862745098,
25
+ "do_normalize": true,
26
+ "do_sample_frames": true,
27
+ "num_frames": 16,
28
+ "return_metadata": false,
29
+ "max_image_size": {
30
+ "longest_edge": 47040000
31
+ },
32
+ "max_frames": 2048,
33
+ "size": {
34
+ "longest_edge": 1
35
+ }
36
+ }