naveel10 commited on
Commit
d98e27b
·
verified ·
1 Parent(s): bf7ec54

Upload 9 files

Browse files
adapter_config.json CHANGED
@@ -7,7 +7,7 @@
7
  "eva_config": null,
8
  "exclude_modules": null,
9
  "fan_in_fan_out": false,
10
- "inference_mode": true,
11
  "init_lora_weights": true,
12
  "layer_replication": null,
13
  "layers_pattern": null,
 
7
  "eva_config": null,
8
  "exclude_modules": null,
9
  "fan_in_fan_out": false,
10
+ "inference_mode": false,
11
  "init_lora_weights": true,
12
  "layer_replication": null,
13
  "layers_pattern": null,
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "transformers_version": "4.55.0.dev0"
6
+ }
preprocessor_config.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "height": 336,
4
+ "width": 336
5
+ },
6
+ "data_format": "channels_first",
7
+ "default_to_square": false,
8
+ "device": null,
9
+ "disable_grouping": null,
10
+ "do_center_crop": true,
11
+ "do_convert_rgb": true,
12
+ "do_normalize": true,
13
+ "do_pad": true,
14
+ "do_rescale": true,
15
+ "do_resize": true,
16
+ "image_grid_pinpoints": [
17
+ [
18
+ 336,
19
+ 672
20
+ ],
21
+ [
22
+ 672,
23
+ 336
24
+ ],
25
+ [
26
+ 672,
27
+ 672
28
+ ],
29
+ [
30
+ 1008,
31
+ 336
32
+ ],
33
+ [
34
+ 336,
35
+ 1008
36
+ ]
37
+ ],
38
+ "image_mean": [
39
+ 0.48145466,
40
+ 0.4578275,
41
+ 0.40821073
42
+ ],
43
+ "image_processor_type": "LlavaNextImageProcessorFast",
44
+ "image_std": [
45
+ 0.26862954,
46
+ 0.26130258,
47
+ 0.27577711
48
+ ],
49
+ "input_data_format": null,
50
+ "processor_class": "LlavaNextVideoProcessor",
51
+ "resample": 3,
52
+ "rescale_factor": 0.00392156862745098,
53
+ "return_tensors": null,
54
+ "size": {
55
+ "shortest_edge": 336
56
+ }
57
+ }
processor_config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "image_token": "<image>",
3
+ "num_additional_image_tokens": 1,
4
+ "patch_size": 14,
5
+ "processor_class": "LlavaNextVideoProcessor",
6
+ "video_token": "<video>",
7
+ "vision_feature_select_strategy": "default"
8
+ }
tokenizer_config.json CHANGED
@@ -63,7 +63,7 @@
63
  "processor_class": "LlavaNextVideoProcessor",
64
  "sp_model_kwargs": {},
65
  "spaces_between_special_tokens": false,
66
- "tokenizer_class": "LlamaTokenizer",
67
  "unk_token": "<unk>",
68
  "use_default_system_prompt": false,
69
  "video_token": "<video>"
 
63
  "processor_class": "LlavaNextVideoProcessor",
64
  "sp_model_kwargs": {},
65
  "spaces_between_special_tokens": false,
66
+ "tokenizer_class": "LlamaTokenizerFast",
67
  "unk_token": "<unk>",
68
  "use_default_system_prompt": false,
69
  "video_token": "<video>"
video_preprocessor_config.json ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "height": 336,
4
+ "width": 336
5
+ },
6
+ "data_format": "channels_first",
7
+ "default_to_square": false,
8
+ "device": null,
9
+ "do_center_crop": true,
10
+ "do_convert_rgb": true,
11
+ "do_normalize": true,
12
+ "do_pad": true,
13
+ "do_rescale": true,
14
+ "do_resize": true,
15
+ "do_sample_frames": false,
16
+ "fps": null,
17
+ "image_grid_pinpoints": [
18
+ [
19
+ 336,
20
+ 672
21
+ ],
22
+ [
23
+ 672,
24
+ 336
25
+ ],
26
+ [
27
+ 672,
28
+ 672
29
+ ],
30
+ [
31
+ 1008,
32
+ 336
33
+ ],
34
+ [
35
+ 336,
36
+ 1008
37
+ ]
38
+ ],
39
+ "image_mean": [
40
+ 0.48145466,
41
+ 0.4578275,
42
+ 0.40821073
43
+ ],
44
+ "image_processor_type": "LlavaNextImageProcessor",
45
+ "image_std": [
46
+ 0.26862954,
47
+ 0.26130258,
48
+ 0.27577711
49
+ ],
50
+ "input_data_format": null,
51
+ "num_frames": null,
52
+ "processor_class": "LlavaNextVideoProcessor",
53
+ "resample": 3,
54
+ "rescale_factor": 0.00392156862745098,
55
+ "size": {
56
+ "shortest_edge": 336
57
+ },
58
+ "size_divisor": null,
59
+ "video_metadata": null,
60
+ "video_processor_type": "LlavaNextVideoVideoProcessor"
61
+ }