Text Generation
Transformers
PyTorch
llava
Inference Endpoints
ChunjiangGe commited on
Commit
d218c8c
1 Parent(s): eef26e9

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +45 -0
config.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "ConvLLaVA/ConvLLaVA-pretrain-1024",
3
+ "architectures": [
4
+ "LlavaLlamaForCausalLM"
5
+ ],
6
+ "bos_token_id": 1,
7
+ "eos_token_id": 2,
8
+ "freeze_mm_mlp_adapter": false,
9
+ "hidden_act": "silu",
10
+ "hidden_size": 4096,
11
+ "image_aspect_ratio": "pad",
12
+ "image_grid_pinpoints": null,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 11008,
15
+ "max_position_embeddings": 4096,
16
+ "mm_hidden_size": 3072,
17
+ "mm_projector_lr": null,
18
+ "mm_projector_type": "mlp2x_gelu",
19
+ "mm_use_im_patch_token": false,
20
+ "mm_use_im_start_end": false,
21
+ "mm_vision_select_feature": "patch",
22
+ "mm_vision_select_layer": -1,
23
+ "mm_vision_tower": "ConvLLaVA/ConvLLaVA-ConvNeXt-1024",
24
+ "model_type": "llava",
25
+ "num_attention_heads": 32,
26
+ "num_hidden_layers": 32,
27
+ "num_key_value_heads": 32,
28
+ "pad_token_id": 0,
29
+ "pretraining_tp": 1,
30
+ "rms_norm_eps": 1e-05,
31
+ "rope_scaling": null,
32
+ "rope_theta": 10000.0,
33
+ "tie_word_embeddings": false,
34
+ "tokenizer_model_max_length": 2048,
35
+ "tokenizer_padding_side": "right",
36
+ "torch_dtype": "bfloat16",
37
+ "transformers_version": "4.33.2",
38
+ "tune_entire_model": false,
39
+ "tune_mm_mlp_adapter": false,
40
+ "tune_vision_tower": true,
41
+ "use_cache": false,
42
+ "use_mm_proj": true,
43
+ "vision_tower_lr": null,
44
+ "vocab_size": 32000
45
+ }