Upload InternVLForConditionalGeneration

#1
by albertvillanova HF Staff - opened
config.json CHANGED
@@ -16,6 +16,7 @@
16
  "bos_token_id": 151643,
17
  "dtype": "bfloat16",
18
  "eos_token_id": 151645,
 
19
  "hidden_act": "silu",
20
  "hidden_size": 16,
21
  "initializer_range": 0.02,
@@ -42,7 +43,7 @@
42
  "use_sliding_window": false,
43
  "vocab_size": 151674
44
  },
45
- "transformers_version": "4.57.3",
46
  "vision_config": {
47
  "architectures": [
48
  "InternVisionModel"
@@ -66,7 +67,7 @@
66
  "layer_scale_init_value": 0.1,
67
  "model_type": "internvl_vision",
68
  "norm_type": "layer_norm",
69
- "num_attention_heads": 4,
70
  "num_channels": 3,
71
  "num_hidden_layers": 2,
72
  "num_key_value_heads": 2,
 
16
  "bos_token_id": 151643,
17
  "dtype": "bfloat16",
18
  "eos_token_id": 151645,
19
+ "head_dim": 8,
20
  "hidden_act": "silu",
21
  "hidden_size": 16,
22
  "initializer_range": 0.02,
 
43
  "use_sliding_window": false,
44
  "vocab_size": 151674
45
  },
46
+ "transformers_version": "4.56.2",
47
  "vision_config": {
48
  "architectures": [
49
  "InternVisionModel"
 
67
  "layer_scale_init_value": 0.1,
68
  "model_type": "internvl_vision",
69
  "norm_type": "layer_norm",
70
+ "num_attention_heads": 2,
71
  "num_channels": 3,
72
  "num_hidden_layers": 2,
73
  "num_key_value_heads": 2,
generation_config.json CHANGED
@@ -2,5 +2,5 @@
2
  "_from_model_config": true,
3
  "bos_token_id": 151643,
4
  "eos_token_id": 151645,
5
- "transformers_version": "4.57.3"
6
  }
 
2
  "_from_model_config": true,
3
  "bos_token_id": 151643,
4
  "eos_token_id": 151645,
5
+ "transformers_version": "4.56.2"
6
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:91776257cffdd06b714ed45d1a9dbd460f6d25c68ea78d98626cf9153b4958c8
3
- size 13956416
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8f00af504b52d9ab1328d0135e4b0428d6b37de32eb1533f365bb868d7c4bbe1
3
+ size 13959624
preprocessor_config.json CHANGED
@@ -8,7 +8,6 @@
8
  "do_center_crop": null,
9
  "do_convert_rgb": true,
10
  "do_normalize": true,
11
- "do_pad": null,
12
  "do_rescale": true,
13
  "do_resize": true,
14
  "image_mean": [
@@ -25,7 +24,6 @@
25
  "input_data_format": null,
26
  "max_patches": 12,
27
  "min_patches": 1,
28
- "pad_size": null,
29
  "processor_class": "InternVLProcessor",
30
  "resample": 3,
31
  "rescale_factor": 0.00392156862745098,
 
8
  "do_center_crop": null,
9
  "do_convert_rgb": true,
10
  "do_normalize": true,
 
11
  "do_rescale": true,
12
  "do_resize": true,
13
  "image_mean": [
 
24
  "input_data_format": null,
25
  "max_patches": 12,
26
  "min_patches": 1,
 
27
  "processor_class": "InternVLProcessor",
28
  "resample": 3,
29
  "rescale_factor": 0.00392156862745098,
tokenizer.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7cc80b7e20adf8bf6f6ca442bf1abfac8056bb3b7d3e0b11c9d497d3e79398c9
3
- size 11423732
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0b84005711408c06150961105c403a3011aad86bcf6c5f075c7e13d4ba3b5ad1
3
+ size 11423899
video_preprocessor_config.json CHANGED
@@ -7,6 +7,7 @@
7
  "do_center_crop": null,
8
  "do_convert_rgb": true,
9
  "do_normalize": true,
 
10
  "do_rescale": true,
11
  "do_resize": true,
12
  "do_sample_frames": false,
@@ -27,7 +28,6 @@
27
  "max_patches": 12,
28
  "min_patches": 1,
29
  "num_frames": null,
30
- "pad_size": null,
31
  "processor_class": "InternVLProcessor",
32
  "resample": 3,
33
  "rescale_factor": 0.00392156862745098,
@@ -37,6 +37,7 @@
37
  "height": 448,
38
  "width": 448
39
  },
 
40
  "video_metadata": null,
41
  "video_processor_type": "InternVLVideoProcessor"
42
  }
 
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
  "do_sample_frames": false,
 
28
  "max_patches": 12,
29
  "min_patches": 1,
30
  "num_frames": null,
 
31
  "processor_class": "InternVLProcessor",
32
  "resample": 3,
33
  "rescale_factor": 0.00392156862745098,
 
37
  "height": 448,
38
  "width": 448
39
  },
40
+ "size_divisor": null,
41
  "video_metadata": null,
42
  "video_processor_type": "InternVLVideoProcessor"
43
  }