RaushanTurganbay HF staff commited on
Commit
4cf2844
1 Parent(s): 0720fae

Upload LlavaForConditionalGeneration

Browse files
Files changed (3) hide show
  1. config.json +47 -0
  2. generation_config.json +6 -0
  3. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "LlavaForConditionalGeneration"
4
+ ],
5
+ "ignore_index": -100,
6
+ "image_token_index": 151646,
7
+ "model_type": "llava",
8
+ "projector_hidden_act": "gelu",
9
+ "text_config": {
10
+ "_name_or_path": "Qwen/Qwen1.5-0.5B-Chat",
11
+ "architectures": [
12
+ "Qwen2ForCausalLM"
13
+ ],
14
+ "bos_token_id": 151643,
15
+ "eos_token_id": 151645,
16
+ "hidden_size": 1024,
17
+ "intermediate_size": 2816,
18
+ "max_position_embeddings": 32768,
19
+ "max_window_layers": 21,
20
+ "model_type": "qwen2",
21
+ "num_attention_heads": 16,
22
+ "num_hidden_layers": 24,
23
+ "num_key_value_heads": 16,
24
+ "rope_theta": 1000000.0,
25
+ "sliding_window": 32768,
26
+ "tie_word_embeddings": true,
27
+ "torch_dtype": "bfloat16",
28
+ "use_sliding_window": false,
29
+ "vocab_size": 152000
30
+ },
31
+ "torch_dtype": "bfloat16",
32
+ "transformers_version": "4.43.0.dev0",
33
+ "vision_config": {
34
+ "hidden_act": "gelu_pytorch_tanh",
35
+ "hidden_size": 1152,
36
+ "image_size": 384,
37
+ "intermediate_size": 4304,
38
+ "layer_norm_eps": 1e-06,
39
+ "model_type": "siglip_vision_model",
40
+ "num_attention_heads": 16,
41
+ "num_hidden_layers": 26,
42
+ "patch_size": 14,
43
+ "vision_use_head": false
44
+ },
45
+ "vision_feature_layer": -1,
46
+ "vision_feature_select_strategy": "full"
47
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 151643,
4
+ "eos_token_id": 151645,
5
+ "transformers_version": "4.43.0.dev0"
6
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec7b02696781afdb1f27871fdffe0f71ef030932d10fbd759bc59392669605f7
3
+ size 1728158072