Commit
•
188446f
0
Parent(s):
Duplicate from listen2you002/ChartLlama-13b
Browse filesCo-authored-by: Yucheng Han <listen2you002@users.noreply.huggingface.co>
- .gitattributes +35 -0
- README.md +10 -0
- adapter_config.json +26 -0
- adapter_model.bin +3 -0
- config.json +43 -0
- non_lora_trainables.bin +3 -0
- trainer_state.json +0 -0
.gitattributes
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
28 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
29 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
30 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
31 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
32 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
33 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
datasets:
|
4 |
+
- listen2you002/ChartLlama-Dataset
|
5 |
+
language:
|
6 |
+
- en
|
7 |
+
---
|
8 |
+
|
9 |
+
ChartLlama is trained on our proposed dataset, based on LLaVA-1.5.
|
10 |
+
You can first download the Lora weights and then combine them using your local LLaVA-1.5 scripts.
|
adapter_config.json
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"auto_mapping": null,
|
3 |
+
"base_model_name_or_path": "/mnt/private_yucheng/huggingface_hub/llava-v1.5-13b",
|
4 |
+
"bias": "none",
|
5 |
+
"fan_in_fan_out": false,
|
6 |
+
"inference_mode": true,
|
7 |
+
"init_lora_weights": true,
|
8 |
+
"layers_pattern": null,
|
9 |
+
"layers_to_transform": null,
|
10 |
+
"lora_alpha": 16,
|
11 |
+
"lora_dropout": 0.05,
|
12 |
+
"modules_to_save": null,
|
13 |
+
"peft_type": "LORA",
|
14 |
+
"r": 64,
|
15 |
+
"revision": null,
|
16 |
+
"target_modules": [
|
17 |
+
"gate_proj",
|
18 |
+
"q_proj",
|
19 |
+
"down_proj",
|
20 |
+
"o_proj",
|
21 |
+
"k_proj",
|
22 |
+
"up_proj",
|
23 |
+
"v_proj"
|
24 |
+
],
|
25 |
+
"task_type": "CAUSAL_LM"
|
26 |
+
}
|
adapter_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c6c974e45b5a41328f18341dad4980479167eaabb636a8b8b55ed55b181bba45
|
3 |
+
size 500889293
|
config.json
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/mnt/private_yucheng/huggingface_hub/llava-v1.5-13b",
|
3 |
+
"architectures": [
|
4 |
+
"LlavaLlamaForCausalLM"
|
5 |
+
],
|
6 |
+
"bos_token_id": 1,
|
7 |
+
"eos_token_id": 2,
|
8 |
+
"freeze_mm_mlp_adapter": false,
|
9 |
+
"freeze_mm_vision_resampler": false,
|
10 |
+
"hidden_act": "silu",
|
11 |
+
"hidden_size": 5120,
|
12 |
+
"image_aspect_ratio": "pad",
|
13 |
+
"image_grid_pinpoints": null,
|
14 |
+
"initializer_range": 0.02,
|
15 |
+
"intermediate_size": 13824,
|
16 |
+
"max_length": 4096,
|
17 |
+
"max_position_embeddings": 4096,
|
18 |
+
"mm_hidden_size": 1024,
|
19 |
+
"mm_projector_type": "mlp2x_gelu",
|
20 |
+
"mm_resampler_type": null,
|
21 |
+
"mm_use_im_patch_token": false,
|
22 |
+
"mm_use_im_start_end": false,
|
23 |
+
"mm_vision_select_feature": "patch",
|
24 |
+
"mm_vision_select_layer": -2,
|
25 |
+
"mm_vision_tower": "/mnt/share_1227775/yandali/multimodal/models/ft_local/clip-vit-large-patch14-336/",
|
26 |
+
"model_type": "llava",
|
27 |
+
"num_attention_heads": 40,
|
28 |
+
"num_hidden_layers": 40,
|
29 |
+
"num_key_value_heads": 40,
|
30 |
+
"pad_token_id": 0,
|
31 |
+
"pretraining_tp": 1,
|
32 |
+
"rms_norm_eps": 1e-05,
|
33 |
+
"rope_scaling": null,
|
34 |
+
"tie_word_embeddings": false,
|
35 |
+
"torch_dtype": "float16",
|
36 |
+
"transformers_version": "4.31.0",
|
37 |
+
"tune_mm_mlp_adapter": false,
|
38 |
+
"tune_mm_vision_resampler": false,
|
39 |
+
"unfreeze_mm_vision_tower": false,
|
40 |
+
"use_cache": true,
|
41 |
+
"use_mm_proj": true,
|
42 |
+
"vocab_size": 32000
|
43 |
+
}
|
non_lora_trainables.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c7d09ef7e84bb365de0f8c059a7cfd2a1a01422db001f2737bccb71f6076cd97
|
3 |
+
size 62936807
|
trainer_state.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|