init commit
Browse files- README.md +7 -3
- adapter_config.json +34 -0
- adapter_model.safetensors +3 -0
- config.json +74 -0
- non_lora_trainables.bin +3 -0
- trainer_state.json +0 -0
README.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1 |
-
---
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: peft
|
3 |
+
base_model: lmms-lab/llama3-llava-next-8b
|
4 |
+
---
|
5 |
+
|
6 |
+
# Model Card for Model ID
|
7 |
+
RACER-LlaVA trained with rich instructions.
|
adapter_config.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "lmms-lab/llama3-llava-next-8b",
|
5 |
+
"bias": "none",
|
6 |
+
"fan_in_fan_out": false,
|
7 |
+
"inference_mode": true,
|
8 |
+
"init_lora_weights": true,
|
9 |
+
"layer_replication": null,
|
10 |
+
"layers_pattern": null,
|
11 |
+
"layers_to_transform": null,
|
12 |
+
"loftq_config": {},
|
13 |
+
"lora_alpha": 256,
|
14 |
+
"lora_dropout": 0.05,
|
15 |
+
"megatron_config": null,
|
16 |
+
"megatron_core": "megatron.core",
|
17 |
+
"modules_to_save": null,
|
18 |
+
"peft_type": "LORA",
|
19 |
+
"r": 128,
|
20 |
+
"rank_pattern": {},
|
21 |
+
"revision": null,
|
22 |
+
"target_modules": [
|
23 |
+
"down_proj",
|
24 |
+
"q_proj",
|
25 |
+
"gate_proj",
|
26 |
+
"k_proj",
|
27 |
+
"up_proj",
|
28 |
+
"o_proj",
|
29 |
+
"v_proj"
|
30 |
+
],
|
31 |
+
"task_type": "CAUSAL_LM",
|
32 |
+
"use_dora": false,
|
33 |
+
"use_rslora": false
|
34 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:30b24a887c78e0c80d84d52953598dde200a73570a851b1f87a85dfb6c324989
|
3 |
+
size 708925520
|
config.json
ADDED
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "lmms-lab/llama3-llava-next-8b",
|
3 |
+
"architectures": [
|
4 |
+
"LlavaLlamaForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_bias": false,
|
7 |
+
"attention_dropout": 0.0,
|
8 |
+
"bos_token_id": 128000,
|
9 |
+
"eos_token_id": 128001,
|
10 |
+
"freeze_mm_mlp_adapter": false,
|
11 |
+
"hidden_act": "silu",
|
12 |
+
"hidden_size": 4096,
|
13 |
+
"image_aspect_ratio": "anyres",
|
14 |
+
"image_crop_resolution": 224,
|
15 |
+
"image_grid_pinpoints": [
|
16 |
+
[
|
17 |
+
336,
|
18 |
+
672
|
19 |
+
],
|
20 |
+
[
|
21 |
+
672,
|
22 |
+
336
|
23 |
+
],
|
24 |
+
[
|
25 |
+
672,
|
26 |
+
672
|
27 |
+
],
|
28 |
+
[
|
29 |
+
1008,
|
30 |
+
336
|
31 |
+
],
|
32 |
+
[
|
33 |
+
336,
|
34 |
+
1008
|
35 |
+
]
|
36 |
+
],
|
37 |
+
"image_split_resolution": 224,
|
38 |
+
"image_token_index": 128256,
|
39 |
+
"initializer_range": 0.02,
|
40 |
+
"intermediate_size": 14336,
|
41 |
+
"max_position_embeddings": 8192,
|
42 |
+
"mm_hidden_size": 1024,
|
43 |
+
"mm_patch_merge_type": "spatial_unpad",
|
44 |
+
"mm_projector_lr": 2e-05,
|
45 |
+
"mm_projector_type": "mlp2x_gelu",
|
46 |
+
"mm_resampler_type": null,
|
47 |
+
"mm_tunable_parts": "mm_vision_tower,mm_mlp_adapter,mm_language_model",
|
48 |
+
"mm_use_im_patch_token": false,
|
49 |
+
"mm_use_im_start_end": false,
|
50 |
+
"mm_vision_select_feature": "patch",
|
51 |
+
"mm_vision_select_layer": -2,
|
52 |
+
"mm_vision_tower": "openai/clip-vit-large-patch14-336",
|
53 |
+
"mm_vision_tower_lr": null,
|
54 |
+
"model_type": "llava_llama",
|
55 |
+
"num_attention_heads": 32,
|
56 |
+
"num_hidden_layers": 32,
|
57 |
+
"num_key_value_heads": 8,
|
58 |
+
"pad_token_id": 128010,
|
59 |
+
"pretraining_tp": 1,
|
60 |
+
"rms_norm_eps": 1e-05,
|
61 |
+
"rope_scaling": null,
|
62 |
+
"rope_theta": 500000.0,
|
63 |
+
"tie_word_embeddings": false,
|
64 |
+
"tokenizer_model_max_length": 4096,
|
65 |
+
"tokenizer_padding_side": "right",
|
66 |
+
"torch_dtype": "float16",
|
67 |
+
"transformers_version": "4.37.2",
|
68 |
+
"tune_mm_mlp_adapter": false,
|
69 |
+
"unfreeze_mm_vision_tower": false,
|
70 |
+
"use_cache": true,
|
71 |
+
"use_mm_proj": true,
|
72 |
+
"vision_tower_pretrained": null,
|
73 |
+
"vocab_size": 128256
|
74 |
+
}
|
non_lora_trainables.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f7e55b4c84d5dce58e6c8991d0fb671be72510e6b4b3284b8c475c6ece170ee3
|
3 |
+
size 41961648
|
trainer_state.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|