Upload checkpoints
Browse files- README.md +12 -0
- adapter_config.json +31 -0
- adapter_model.safetensors +3 -0
- config.json +42 -0
- non_lora_trainables.bin +3 -0
- trainer_state.json +0 -0
README.md
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
inference: false
|
3 |
+
---
|
4 |
+
|
5 |
+
# Model Card
|
6 |
+
|
7 |
+
Bunny is a family of lightweight multimodal models.
|
8 |
+
|
9 |
+
Bunny-stablelm-2-eva-lora leverages StableLM-2 as the language model backbone and EVA-CLIP as the vision encoder.
|
10 |
+
It is pretrained on LAION-2M and finetuned on Bunny-695K.
|
11 |
+
|
12 |
+
More details about this model can be found in [GitHub](https://github.com/BAAI-DCAI/Bunny).
|
adapter_config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "stabilityai/stablelm-2-1_6b",
|
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 |
+
"up_proj",
|
23 |
+
"gate_proj",
|
24 |
+
"down_proj",
|
25 |
+
"v_proj",
|
26 |
+
"q_proj",
|
27 |
+
"k_proj",
|
28 |
+
"o_proj"
|
29 |
+
],
|
30 |
+
"task_type": "CAUSAL_LM"
|
31 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b06802abe1589b62f5d1826bb43fd8204a63575cfa3e1fcb3fb471e9ec1daa34
|
3 |
+
size 242266824
|
config.json
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "bunny-stablelm-2-eva-lora",
|
3 |
+
"architectures": [
|
4 |
+
"StableLMEpochForCausalLM"
|
5 |
+
],
|
6 |
+
"auto_map": {
|
7 |
+
"AutoConfig": "bunny_stablelm.BunnyStableLMConfig",
|
8 |
+
"AutoModelForCausalLM": "modeling_stablelm_epoch.StableLMEpochForCausalLM"
|
9 |
+
},
|
10 |
+
"bos_token_id": null,
|
11 |
+
"eos_token_id": 100257,
|
12 |
+
"freeze_mm_mlp_adapter": false,
|
13 |
+
"hidden_act": "silu",
|
14 |
+
"hidden_size": 2048,
|
15 |
+
"image_aspect_ratio": "pad",
|
16 |
+
"initializer_range": 0.02,
|
17 |
+
"intermediate_size": 5632,
|
18 |
+
"max_position_embeddings": 4096,
|
19 |
+
"mm_hidden_size": 1024,
|
20 |
+
"mm_projector_lr": 2e-05,
|
21 |
+
"mm_projector_type": "mlp2x_gelu",
|
22 |
+
"mm_vision_tower": "/path/to/EVA02_CLIP_L_336_psz14_s6B.pt",
|
23 |
+
"model_type": "bunny-stablelm",
|
24 |
+
"norm_eps": 1e-05,
|
25 |
+
"num_attention_heads": 32,
|
26 |
+
"num_heads": 32,
|
27 |
+
"num_hidden_layers": 24,
|
28 |
+
"num_key_value_heads": 32,
|
29 |
+
"rope_pct": 0.25,
|
30 |
+
"rope_theta": 10000,
|
31 |
+
"rotary_scaling_factor": 1.0,
|
32 |
+
"tie_word_embeddings": false,
|
33 |
+
"tokenizer_model_max_length": 2048,
|
34 |
+
"tokenizer_padding_side": "right",
|
35 |
+
"torch_dtype": "bfloat16",
|
36 |
+
"transformers_version": "4.36.2",
|
37 |
+
"tune_mm_mlp_adapter": false,
|
38 |
+
"use_cache": true,
|
39 |
+
"use_mm_proj": true,
|
40 |
+
"use_qkv_bias": true,
|
41 |
+
"vocab_size": 100352
|
42 |
+
}
|
non_lora_trainables.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:61f1b4ac0b5bbe2ede0f67d8b187533477e21bf1133c5d131a8538eb32e61968
|
3 |
+
size 12593328
|
trainer_state.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|