Upload model weights
Browse files- README.md +14 -0
- adapter_config.json +32 -0
- adapter_model.safetensors +3 -0
- config.json +38 -0
- non_lora_trainables.bin +3 -0
- trainer_state.json +0 -0
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-qwen1.5-1.8b-siglip-lora leverages Qwen1.5-1.8B 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": "Qwen/Qwen1.5-1.8B",
|
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 |
+
"down_proj",
|
23 |
+
"o_proj",
|
24 |
+
"up_proj",
|
25 |
+
"k_proj",
|
26 |
+
"q_proj",
|
27 |
+
"v_proj",
|
28 |
+
"gate_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:c69f3e146c07e3bb8f218cee1d84d565c05790b8692054b436a624c7d099decb
|
3 |
+
size 239907520
|
config.json
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "bunny-qwen1.5-1.8b-siglip-lora",
|
3 |
+
"architectures": [
|
4 |
+
"Qwen2ForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"bos_token_id": 151643,
|
8 |
+
"eos_token_id": 151643,
|
9 |
+
"freeze_mm_mlp_adapter": false,
|
10 |
+
"hidden_act": "silu",
|
11 |
+
"hidden_size": 2048,
|
12 |
+
"image_aspect_ratio": "pad",
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"intermediate_size": 5504,
|
15 |
+
"max_position_embeddings": 32768,
|
16 |
+
"max_window_layers": 21,
|
17 |
+
"mm_hidden_size": 1152,
|
18 |
+
"mm_projector_lr": 2e-05,
|
19 |
+
"mm_projector_type": "mlp2x_gelu",
|
20 |
+
"mm_vision_tower": "google/siglip-so400m-patch14-384",
|
21 |
+
"model_type": "bunny-qwen2",
|
22 |
+
"num_attention_heads": 16,
|
23 |
+
"num_hidden_layers": 24,
|
24 |
+
"num_key_value_heads": 16,
|
25 |
+
"rms_norm_eps": 1e-06,
|
26 |
+
"rope_theta": 1000000.0,
|
27 |
+
"sliding_window": 32768,
|
28 |
+
"tie_word_embeddings": false,
|
29 |
+
"tokenizer_model_max_length": 2048,
|
30 |
+
"tokenizer_padding_side": "right",
|
31 |
+
"torch_dtype": "bfloat16",
|
32 |
+
"transformers_version": "4.38.2",
|
33 |
+
"tune_mm_mlp_adapter": false,
|
34 |
+
"use_cache": true,
|
35 |
+
"use_mm_proj": true,
|
36 |
+
"use_sliding_window": false,
|
37 |
+
"vocab_size": 151936
|
38 |
+
}
|
non_lora_trainables.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3575c748c643c9571c3cd44f533cadea7ba19103c34d689797e820899ee8e78a
|
3 |
+
size 13117616
|
trainer_state.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|