Upload checkpoints
Browse files- README.md +12 -0
- config.json +39 -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-phi-1.5-siglip is the pretrained weights for [bunny-phi-1.5-siglip-lora](https://huggingface.co/BoyaWu10/bunny-phi-1.5-siglip-lora), which leverages Phi-1.5 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,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "bunny-pretrain-phi-1.5-siglip",
|
3 |
+
"architectures": [
|
4 |
+
"PhiForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"bos_token_id": 50256,
|
8 |
+
"embd_pdrop": 0.0,
|
9 |
+
"eos_token_id": 50256,
|
10 |
+
"freeze_mm_mlp_adapter": false,
|
11 |
+
"hidden_act": "gelu_new",
|
12 |
+
"hidden_size": 2048,
|
13 |
+
"image_aspect_ratio": "square",
|
14 |
+
"initializer_range": 0.02,
|
15 |
+
"intermediate_size": 8192,
|
16 |
+
"layer_norm_eps": 1e-05,
|
17 |
+
"max_position_embeddings": 2048,
|
18 |
+
"mm_hidden_size": 1152,
|
19 |
+
"mm_projector_lr": null,
|
20 |
+
"mm_projector_type": "mlp2x_gelu",
|
21 |
+
"mm_vision_tower": "google/siglip-so400m-patch14-384",
|
22 |
+
"model_type": "bunny-phi",
|
23 |
+
"num_attention_heads": 32,
|
24 |
+
"num_hidden_layers": 24,
|
25 |
+
"partial_rotary_factor": 0.5,
|
26 |
+
"pretraining_tp": 1,
|
27 |
+
"qk_layernorm": false,
|
28 |
+
"resid_pdrop": 0.0,
|
29 |
+
"rope_scaling": null,
|
30 |
+
"rope_theta": 10000.0,
|
31 |
+
"tie_word_embeddings": false,
|
32 |
+
"tokenizer_model_max_length": 2048,
|
33 |
+
"tokenizer_padding_side": "right",
|
34 |
+
"transformers_version": "4.36.2",
|
35 |
+
"tune_mm_mlp_adapter": true,
|
36 |
+
"use_cache": true,
|
37 |
+
"use_mm_proj": true,
|
38 |
+
"vocab_size": 51200
|
39 |
+
}
|
mm_projector.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:10b3f94e438d210a9a2d7b792d983592fa4bbad18d47761497fb2a5b5b2085a2
|
3 |
+
size 13117496
|
trainer_state.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|