Upload checkpoints
Browse files- README.md +12 -0
- config.json +42 -0
- mm_projector.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-pretrain-stablelm-2-siglip is the pretrained weights for [bunny-stablelm-2-siglip-lora](https://huggingface.co/BoyaWu10/bunny-stablelm-2-siglip-lora), which leverages StableLM-2 as the language model backbone and SigLIP as the vision encoder.
|
10 |
+
It is pretrained on LAION-2M.
|
11 |
+
|
12 |
+
More details about this model can be found in [GitHub](https://github.com/BAAI-DCAI/Bunny).
|
config.json
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "bunny-pretrain-stablelm-2-siglip",
|
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": "square",
|
16 |
+
"initializer_range": 0.02,
|
17 |
+
"intermediate_size": 5632,
|
18 |
+
"max_position_embeddings": 4096,
|
19 |
+
"mm_hidden_size": 1152,
|
20 |
+
"mm_projector_lr": null,
|
21 |
+
"mm_projector_type": "mlp2x_gelu",
|
22 |
+
"mm_vision_tower": "google/siglip-so400m-patch14-384",
|
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": true,
|
38 |
+
"use_cache": true,
|
39 |
+
"use_mm_proj": true,
|
40 |
+
"use_qkv_bias": true,
|
41 |
+
"vocab_size": 100352
|
42 |
+
}
|
mm_projector.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:537299b5730f459f84f325c55ee98a8170acdcd2530077692640349a69e39127
|
3 |
+
size 13117496
|
trainer_state.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|