BoyaWu10 commited on
Commit
2cb1c19
1 Parent(s): 6dc4172

Upload checkpoints

Browse files
README.md CHANGED
@@ -1,3 +1,17 @@
1
  ---
 
2
  license: apache-2.0
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ inference: false
3
  license: apache-2.0
4
  ---
5
+
6
+ # Model Card
7
+
8
+ Bunny is a family of lightweight multimodal models.
9
+
10
+ Bunny-minicpm-siglip-lora leverages MiniCPM-2B as the language model backbone and SigLIP as the vision encoder.
11
+ It is pretrained on LAION-2M and finetuned on Bunny-695K.
12
+
13
+ More details about this model can be found in [GitHub](https://github.com/BAAI-DCAI/Bunny).
14
+
15
+ # License
16
+ This project utilizes certain datasets and checkpoints that are subject to their respective original licenses. Users must comply with all terms and conditions of these original licenses.
17
+ The content of this project itself is licensed under the Apache license 2.0.
adapter_config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "/share/bunny/models/MiniCPM_step280000",
5
+ "bias": "none",
6
+ "fan_in_fan_out": false,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layers_pattern": null,
10
+ "layers_to_transform": null,
11
+ "loftq_config": {},
12
+ "lora_alpha": 256,
13
+ "lora_dropout": 0.05,
14
+ "megatron_config": null,
15
+ "megatron_core": "megatron.core",
16
+ "modules_to_save": null,
17
+ "peft_type": "LORA",
18
+ "r": 128,
19
+ "rank_pattern": {},
20
+ "revision": null,
21
+ "target_modules": [
22
+ "v_proj",
23
+ "q_proj",
24
+ "gate_proj",
25
+ "down_proj",
26
+ "o_proj",
27
+ "up_proj",
28
+ "k_proj"
29
+ ],
30
+ "task_type": "CAUSAL_LM",
31
+ "use_rslora": false
32
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9b2dc8a16e74c586d722dc77fac8c3fd1c98ae1cb7ba59273bb6f451276a5de7
3
+ size 436546336
config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "bunny-minicpm-siglip-lora",
3
+ "architectures": [
4
+ "MiniCPMForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "auto_map": {
9
+ "AutoConfig": "configuration_minicpm.MiniCPMConfig",
10
+ "AutoModel": "modeling_minicpm.MiniCPMModel",
11
+ "AutoModelForCausalLM": "modeling_minicpm.MiniCPMForCausalLM",
12
+ "AutoModelForSeq2SeqLM": "modeling_minicpm.MiniCPMForCausalLM",
13
+ "AutoModelForSequenceClassification": "modeling_minicpm.MiniCPMForSequenceClassification"
14
+ },
15
+ "bos_token_id": 1,
16
+ "dim_model_base": 256,
17
+ "eos_token_id": 2,
18
+ "freeze_mm_mlp_adapter": false,
19
+ "hidden_act": "silu",
20
+ "hidden_size": 2304,
21
+ "image_aspect_ratio": "pad",
22
+ "initializer_range": 0.1,
23
+ "intermediate_size": 5760,
24
+ "max_position_embeddings": 2048,
25
+ "mm_hidden_size": 1152,
26
+ "mm_projector_lr": 2e-05,
27
+ "mm_projector_type": "mlp2x_gelu",
28
+ "mm_vision_tower": "google/siglip-so400m-patch14-384",
29
+ "model_type": "bunny-minicpm",
30
+ "num_attention_heads": 36,
31
+ "num_hidden_layers": 40,
32
+ "num_key_value_heads": 36,
33
+ "pretraining_tp": 1,
34
+ "rms_norm_eps": 1e-05,
35
+ "rope_scaling": null,
36
+ "rope_theta": 10000.0,
37
+ "scale_depth": 1.4,
38
+ "scale_emb": 12,
39
+ "tokenizer_model_max_length": 2048,
40
+ "tokenizer_padding_side": "right",
41
+ "torch_dtype": "bfloat16",
42
+ "transformers_version": "4.38.2",
43
+ "tune_mm_mlp_adapter": false,
44
+ "unfreeze_vision_tower": false,
45
+ "use_cache": true,
46
+ "use_mm_proj": true,
47
+ "vocab_size": 122753
48
+ }
non_lora_trainables.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:99b0010e5f1288147776f439f55701d9ef51f3bf0f191f56107ce992b39d30f0
3
+ size 15936688
trainer_state.json ADDED
The diff for this file is too large to render. See raw diff