nlpzhaof commited on
Commit
94fee7b
1 Parent(s): 4464c0d

aligngpt-7b-pretrain

Browse files
Files changed (3) hide show
  1. config.json +40 -0
  2. mm_projector_align.bin +3 -0
  3. trainer_state.json +0 -0
config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "aligngpt-7b",
3
+ "architectures": [
4
+ "LlamaForCausalLM"
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": "square",
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 11008,
14
+ "max_position_embeddings": 4096,
15
+ "mm_hidden_size": 1024,
16
+ "mm_projector_lr": null,
17
+ "mm_projector_type": "mlp2x_gelu",
18
+ "mm_use_im_patch_token": false,
19
+ "mm_use_im_start_end": false,
20
+ "mm_vision_select_feature": "patch",
21
+ "mm_vision_select_layer": -2,
22
+ "mm_vision_tower": "openai/clip-vit-large-patch14-336",
23
+ "model_type": "aligngpt",
24
+ "num_attention_heads": 32,
25
+ "num_hidden_layers": 32,
26
+ "num_key_value_heads": 32,
27
+ "pad_token_id": 0,
28
+ "pretraining_tp": 1,
29
+ "rms_norm_eps": 1e-05,
30
+ "rope_scaling": null,
31
+ "tie_word_embeddings": false,
32
+ "tokenizer_model_max_length": 2048,
33
+ "tokenizer_padding_side": "right",
34
+ "torch_dtype": "float16",
35
+ "transformers_version": "4.31.0",
36
+ "tune_mm_mlp_adapter": true,
37
+ "use_cache": true,
38
+ "use_mm_proj": true,
39
+ "vocab_size": 32000
40
+ }
mm_projector_align.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:76e0f406dff0dda4227d139b6ddb352d0dfe6d6aa8f79274240d20abde9ed838
3
+ size 42027375
trainer_state.json ADDED
The diff for this file is too large to render. See raw diff