Upload checkpoints
Browse files- README.md +12 -0
- adapter_config.json +28 -0
- adapter_model.safetensors +3 -0
- config.json +40 -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-phi-1.5-eva-lora leverages Phi-1.5 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,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "susnato/phi-1_5_dev",
|
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 |
+
"dense",
|
23 |
+
"fc2",
|
24 |
+
"query_key_value",
|
25 |
+
"fc1"
|
26 |
+
],
|
27 |
+
"task_type": "CAUSAL_LM"
|
28 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:20608beb063b8167803965ec2f926f47b3d0a41376d44ec45b6f8adddd81e7b4
|
3 |
+
size 201352544
|
config.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "bunny-phi-1.5-eva-lora",
|
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": "pad",
|
14 |
+
"initializer_range": 0.02,
|
15 |
+
"intermediate_size": 8192,
|
16 |
+
"layer_norm_eps": 1e-05,
|
17 |
+
"max_position_embeddings": 2048,
|
18 |
+
"mm_hidden_size": 1024,
|
19 |
+
"mm_projector_lr": 2e-05,
|
20 |
+
"mm_projector_type": "mlp2x_gelu",
|
21 |
+
"mm_vision_select_feature": "patch",
|
22 |
+
"mm_vision_tower": "/path/to/EVA02_CLIP_L_336_psz14_s6B.pt",
|
23 |
+
"model_type": "bunny-phi",
|
24 |
+
"num_attention_heads": 32,
|
25 |
+
"num_hidden_layers": 24,
|
26 |
+
"partial_rotary_factor": 0.5,
|
27 |
+
"pretraining_tp": 1,
|
28 |
+
"qk_layernorm": false,
|
29 |
+
"resid_pdrop": 0.0,
|
30 |
+
"rope_scaling": null,
|
31 |
+
"rope_theta": 10000.0,
|
32 |
+
"tie_word_embeddings": false,
|
33 |
+
"tokenizer_model_max_length": 2048,
|
34 |
+
"tokenizer_padding_side": "right",
|
35 |
+
"transformers_version": "4.36.2",
|
36 |
+
"tune_mm_mlp_adapter": false,
|
37 |
+
"use_cache": true,
|
38 |
+
"use_mm_proj": true,
|
39 |
+
"vocab_size": 51200
|
40 |
+
}
|
non_lora_trainables.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0ec81c88b43fb43ffed9f606353e620667d378d95eccdbdfaa86b0ecfe77fde0
|
3 |
+
size 12593328
|
trainer_state.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|