Init model.
Browse files- README.md +61 -0
- adapter_config.json +132 -0
- adapter_model.safetensors +3 -0
- added_tokens.json +4 -0
- all_results.json +9 -0
- chat_template.jinja +1 -0
- checkpoint-64/README.md +202 -0
- checkpoint-64/adapter_config.json +132 -0
- checkpoint-64/adapter_model.safetensors +3 -0
- checkpoint-64/added_tokens.json +4 -0
- checkpoint-64/chat_template.jinja +2 -0
- checkpoint-64/optimizer.pt +3 -0
- checkpoint-64/preprocessor_config.json +28 -0
- checkpoint-64/processor_config.json +7 -0
- checkpoint-64/rng_state_0.pth +3 -0
- checkpoint-64/rng_state_1.pth +3 -0
- checkpoint-64/scheduler.pt +3 -0
- checkpoint-64/special_tokens_map.json +31 -0
- checkpoint-64/tokenizer.json +0 -0
- checkpoint-64/tokenizer.model +3 -0
- checkpoint-64/tokenizer_config.json +65 -0
- checkpoint-64/trainer_state.json +154 -0
- checkpoint-64/training_args.bin +3 -0
- llamaboard_config.yaml +85 -0
- preprocessor_config.json +28 -0
- processor_config.json +7 -0
- running_log.txt +459 -0
- special_tokens_map.json +31 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +65 -0
- train_results.json +9 -0
- trainer_log.jsonl +13 -0
- trainer_state.json +164 -0
- training_args.bin +3 -0
- training_args.yaml +40 -0
- training_loss.png +0 -0
README.md
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: peft
|
| 3 |
+
license: other
|
| 4 |
+
base_model: llava-hf/llava-1.5-7b-hf
|
| 5 |
+
tags:
|
| 6 |
+
- llama-factory
|
| 7 |
+
- lora
|
| 8 |
+
- generated_from_trainer
|
| 9 |
+
model-index:
|
| 10 |
+
- name: train_zh_1_fold_4_epochs
|
| 11 |
+
results: []
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 15 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 16 |
+
|
| 17 |
+
# train_zh_1_fold_4_epochs
|
| 18 |
+
|
| 19 |
+
This model is a fine-tuned version of [llava-hf/llava-1.5-7b-hf](https://huggingface.co/llava-hf/llava-1.5-7b-hf) on the sticker_labels_kfolds_train_zh_1 dataset.
|
| 20 |
+
|
| 21 |
+
## Model description
|
| 22 |
+
|
| 23 |
+
More information needed
|
| 24 |
+
|
| 25 |
+
## Intended uses & limitations
|
| 26 |
+
|
| 27 |
+
More information needed
|
| 28 |
+
|
| 29 |
+
## Training and evaluation data
|
| 30 |
+
|
| 31 |
+
More information needed
|
| 32 |
+
|
| 33 |
+
## Training procedure
|
| 34 |
+
|
| 35 |
+
### Training hyperparameters
|
| 36 |
+
|
| 37 |
+
The following hyperparameters were used during training:
|
| 38 |
+
- learning_rate: 5e-05
|
| 39 |
+
- train_batch_size: 2
|
| 40 |
+
- eval_batch_size: 8
|
| 41 |
+
- seed: 42
|
| 42 |
+
- distributed_type: multi-GPU
|
| 43 |
+
- num_devices: 2
|
| 44 |
+
- gradient_accumulation_steps: 8
|
| 45 |
+
- total_train_batch_size: 32
|
| 46 |
+
- total_eval_batch_size: 16
|
| 47 |
+
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 48 |
+
- lr_scheduler_type: cosine
|
| 49 |
+
- num_epochs: 4.0
|
| 50 |
+
|
| 51 |
+
### Training results
|
| 52 |
+
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
### Framework versions
|
| 56 |
+
|
| 57 |
+
- PEFT 0.15.2
|
| 58 |
+
- Transformers 4.52.1
|
| 59 |
+
- Pytorch 2.7.0+cu126
|
| 60 |
+
- Datasets 3.6.0
|
| 61 |
+
- Tokenizers 0.21.1
|
adapter_config.json
ADDED
|
@@ -0,0 +1,132 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "llava-hf/llava-1.5-7b-hf",
|
| 5 |
+
"bias": "none",
|
| 6 |
+
"corda_config": null,
|
| 7 |
+
"eva_config": null,
|
| 8 |
+
"exclude_modules": null,
|
| 9 |
+
"fan_in_fan_out": false,
|
| 10 |
+
"inference_mode": true,
|
| 11 |
+
"init_lora_weights": true,
|
| 12 |
+
"layer_replication": null,
|
| 13 |
+
"layers_pattern": null,
|
| 14 |
+
"layers_to_transform": null,
|
| 15 |
+
"loftq_config": {},
|
| 16 |
+
"lora_alpha": 16,
|
| 17 |
+
"lora_bias": false,
|
| 18 |
+
"lora_dropout": 0,
|
| 19 |
+
"megatron_config": null,
|
| 20 |
+
"megatron_core": "megatron.core",
|
| 21 |
+
"modules_to_save": null,
|
| 22 |
+
"peft_type": "LORA",
|
| 23 |
+
"r": 8,
|
| 24 |
+
"rank_pattern": {},
|
| 25 |
+
"revision": null,
|
| 26 |
+
"target_modules": [
|
| 27 |
+
"language_model.layers.15.self_attn.v_proj",
|
| 28 |
+
"language_model.layers.15.self_attn.k_proj",
|
| 29 |
+
"language_model.layers.2.self_attn.v_proj",
|
| 30 |
+
"language_model.layers.11.self_attn.v_proj",
|
| 31 |
+
"language_model.layers.2.self_attn.q_proj",
|
| 32 |
+
"language_model.layers.23.self_attn.k_proj",
|
| 33 |
+
"28.self_attn.q_proj",
|
| 34 |
+
"language_model.layers.9.self_attn.v_proj",
|
| 35 |
+
"31.self_attn.k_proj",
|
| 36 |
+
"o_proj",
|
| 37 |
+
"language_model.layers.13.self_attn.k_proj",
|
| 38 |
+
"language_model.layers.5.self_attn.v_proj",
|
| 39 |
+
"language_model.layers.3.self_attn.k_proj",
|
| 40 |
+
"language_model.layers.21.self_attn.k_proj",
|
| 41 |
+
"language_model.layers.14.self_attn.v_proj",
|
| 42 |
+
"language_model.layers.6.self_attn.k_proj",
|
| 43 |
+
"language_model.layers.4.self_attn.q_proj",
|
| 44 |
+
"24.self_attn.v_proj",
|
| 45 |
+
"27.self_attn.q_proj",
|
| 46 |
+
"language_model.layers.10.self_attn.v_proj",
|
| 47 |
+
"language_model.layers.11.self_attn.k_proj",
|
| 48 |
+
"language_model.layers.12.self_attn.q_proj",
|
| 49 |
+
"27.self_attn.k_proj",
|
| 50 |
+
"gate_proj",
|
| 51 |
+
"language_model.layers.12.self_attn.v_proj",
|
| 52 |
+
"language_model.layers.9.self_attn.q_proj",
|
| 53 |
+
"language_model.layers.18.self_attn.v_proj",
|
| 54 |
+
"24.self_attn.q_proj",
|
| 55 |
+
"language_model.layers.7.self_attn.k_proj",
|
| 56 |
+
"language_model.layers.14.self_attn.q_proj",
|
| 57 |
+
"language_model.layers.22.self_attn.k_proj",
|
| 58 |
+
"31.self_attn.q_proj",
|
| 59 |
+
"language_model.layers.13.self_attn.v_proj",
|
| 60 |
+
"language_model.layers.16.self_attn.v_proj",
|
| 61 |
+
"language_model.layers.3.self_attn.q_proj",
|
| 62 |
+
"language_model.layers.19.self_attn.q_proj",
|
| 63 |
+
"29.self_attn.q_proj",
|
| 64 |
+
"27.self_attn.v_proj",
|
| 65 |
+
"language_model.layers.19.self_attn.v_proj",
|
| 66 |
+
"26.self_attn.q_proj",
|
| 67 |
+
"language_model.layers.10.self_attn.k_proj",
|
| 68 |
+
"language_model.layers.0.self_attn.v_proj",
|
| 69 |
+
"30.self_attn.v_proj",
|
| 70 |
+
"language_model.layers.18.self_attn.k_proj",
|
| 71 |
+
"language_model.layers.7.self_attn.v_proj",
|
| 72 |
+
"language_model.layers.8.self_attn.q_proj",
|
| 73 |
+
"language_model.layers.20.self_attn.q_proj",
|
| 74 |
+
"language_model.layers.11.self_attn.q_proj",
|
| 75 |
+
"28.self_attn.k_proj",
|
| 76 |
+
"language_model.layers.23.self_attn.v_proj",
|
| 77 |
+
"language_model.layers.20.self_attn.v_proj",
|
| 78 |
+
"language_model.layers.0.self_attn.q_proj",
|
| 79 |
+
"language_model.layers.7.self_attn.q_proj",
|
| 80 |
+
"language_model.layers.0.self_attn.k_proj",
|
| 81 |
+
"25.self_attn.k_proj",
|
| 82 |
+
"language_model.layers.12.self_attn.k_proj",
|
| 83 |
+
"29.self_attn.k_proj",
|
| 84 |
+
"language_model.layers.3.self_attn.v_proj",
|
| 85 |
+
"language_model.layers.18.self_attn.q_proj",
|
| 86 |
+
"language_model.layers.22.self_attn.v_proj",
|
| 87 |
+
"26.self_attn.k_proj",
|
| 88 |
+
"language_model.layers.4.self_attn.k_proj",
|
| 89 |
+
"language_model.layers.22.self_attn.q_proj",
|
| 90 |
+
"30.self_attn.q_proj",
|
| 91 |
+
"language_model.layers.23.self_attn.q_proj",
|
| 92 |
+
"language_model.layers.1.self_attn.q_proj",
|
| 93 |
+
"language_model.layers.16.self_attn.k_proj",
|
| 94 |
+
"language_model.layers.13.self_attn.q_proj",
|
| 95 |
+
"down_proj",
|
| 96 |
+
"language_model.layers.10.self_attn.q_proj",
|
| 97 |
+
"language_model.layers.1.self_attn.k_proj",
|
| 98 |
+
"language_model.layers.2.self_attn.k_proj",
|
| 99 |
+
"31.self_attn.v_proj",
|
| 100 |
+
"language_model.layers.21.self_attn.q_proj",
|
| 101 |
+
"28.self_attn.v_proj",
|
| 102 |
+
"language_model.layers.15.self_attn.q_proj",
|
| 103 |
+
"language_model.layers.6.self_attn.q_proj",
|
| 104 |
+
"25.self_attn.v_proj",
|
| 105 |
+
"26.self_attn.v_proj",
|
| 106 |
+
"language_model.layers.20.self_attn.k_proj",
|
| 107 |
+
"language_model.layers.6.self_attn.v_proj",
|
| 108 |
+
"language_model.layers.17.self_attn.q_proj",
|
| 109 |
+
"language_model.layers.9.self_attn.k_proj",
|
| 110 |
+
"language_model.layers.5.self_attn.k_proj",
|
| 111 |
+
"language_model.layers.8.self_attn.k_proj",
|
| 112 |
+
"language_model.layers.17.self_attn.v_proj",
|
| 113 |
+
"language_model.layers.21.self_attn.v_proj",
|
| 114 |
+
"language_model.layers.16.self_attn.q_proj",
|
| 115 |
+
"language_model.layers.14.self_attn.k_proj",
|
| 116 |
+
"language_model.layers.5.self_attn.q_proj",
|
| 117 |
+
"29.self_attn.v_proj",
|
| 118 |
+
"up_proj",
|
| 119 |
+
"24.self_attn.k_proj",
|
| 120 |
+
"30.self_attn.k_proj",
|
| 121 |
+
"language_model.layers.8.self_attn.v_proj",
|
| 122 |
+
"language_model.layers.4.self_attn.v_proj",
|
| 123 |
+
"language_model.layers.17.self_attn.k_proj",
|
| 124 |
+
"25.self_attn.q_proj",
|
| 125 |
+
"language_model.layers.1.self_attn.v_proj",
|
| 126 |
+
"language_model.layers.19.self_attn.k_proj"
|
| 127 |
+
],
|
| 128 |
+
"task_type": "CAUSAL_LM",
|
| 129 |
+
"trainable_token_indices": null,
|
| 130 |
+
"use_dora": false,
|
| 131 |
+
"use_rslora": false
|
| 132 |
+
}
|
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1353f770eadba537a1aeef0aed0ad61ec839df901a204edf59c09b8f0dae88e3
|
| 3 |
+
size 80019840
|
added_tokens.json
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"<image>": 32000,
|
| 3 |
+
"<pad>": 32001
|
| 4 |
+
}
|
all_results.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 4.0,
|
| 3 |
+
"num_input_tokens_seen": 1471136,
|
| 4 |
+
"total_flos": 6.135952763047117e+16,
|
| 5 |
+
"train_loss": 1.7421463951468468,
|
| 6 |
+
"train_runtime": 339.8451,
|
| 7 |
+
"train_samples_per_second": 5.756,
|
| 8 |
+
"train_steps_per_second": 0.188
|
| 9 |
+
}
|
chat_template.jinja
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{% set system_message = 'A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user\'s questions.' %}{% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% else %}{% set loop_messages = messages %}{% endif %}{% if system_message is defined %}{{ system_message }}{% endif %}{% for message in loop_messages %}{% set content = message['content'] %}{% if message['role'] == 'user' %}{{ 'USER: ' + content + ' ASSISTANT:' }}{% elif message['role'] == 'assistant' %}{{ content + '</s>' }}{% endif %}{% endfor %}
|
checkpoint-64/README.md
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: llava-hf/llava-1.5-7b-hf
|
| 3 |
+
library_name: peft
|
| 4 |
+
---
|
| 5 |
+
|
| 6 |
+
# Model Card for Model ID
|
| 7 |
+
|
| 8 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
## Model Details
|
| 13 |
+
|
| 14 |
+
### Model Description
|
| 15 |
+
|
| 16 |
+
<!-- Provide a longer summary of what this model is. -->
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
- **Developed by:** [More Information Needed]
|
| 21 |
+
- **Funded by [optional]:** [More Information Needed]
|
| 22 |
+
- **Shared by [optional]:** [More Information Needed]
|
| 23 |
+
- **Model type:** [More Information Needed]
|
| 24 |
+
- **Language(s) (NLP):** [More Information Needed]
|
| 25 |
+
- **License:** [More Information Needed]
|
| 26 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
| 27 |
+
|
| 28 |
+
### Model Sources [optional]
|
| 29 |
+
|
| 30 |
+
<!-- Provide the basic links for the model. -->
|
| 31 |
+
|
| 32 |
+
- **Repository:** [More Information Needed]
|
| 33 |
+
- **Paper [optional]:** [More Information Needed]
|
| 34 |
+
- **Demo [optional]:** [More Information Needed]
|
| 35 |
+
|
| 36 |
+
## Uses
|
| 37 |
+
|
| 38 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 39 |
+
|
| 40 |
+
### Direct Use
|
| 41 |
+
|
| 42 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
| 43 |
+
|
| 44 |
+
[More Information Needed]
|
| 45 |
+
|
| 46 |
+
### Downstream Use [optional]
|
| 47 |
+
|
| 48 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
| 49 |
+
|
| 50 |
+
[More Information Needed]
|
| 51 |
+
|
| 52 |
+
### Out-of-Scope Use
|
| 53 |
+
|
| 54 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
| 55 |
+
|
| 56 |
+
[More Information Needed]
|
| 57 |
+
|
| 58 |
+
## Bias, Risks, and Limitations
|
| 59 |
+
|
| 60 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
| 61 |
+
|
| 62 |
+
[More Information Needed]
|
| 63 |
+
|
| 64 |
+
### Recommendations
|
| 65 |
+
|
| 66 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
| 67 |
+
|
| 68 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 69 |
+
|
| 70 |
+
## How to Get Started with the Model
|
| 71 |
+
|
| 72 |
+
Use the code below to get started with the model.
|
| 73 |
+
|
| 74 |
+
[More Information Needed]
|
| 75 |
+
|
| 76 |
+
## Training Details
|
| 77 |
+
|
| 78 |
+
### Training Data
|
| 79 |
+
|
| 80 |
+
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
| 81 |
+
|
| 82 |
+
[More Information Needed]
|
| 83 |
+
|
| 84 |
+
### Training Procedure
|
| 85 |
+
|
| 86 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 87 |
+
|
| 88 |
+
#### Preprocessing [optional]
|
| 89 |
+
|
| 90 |
+
[More Information Needed]
|
| 91 |
+
|
| 92 |
+
|
| 93 |
+
#### Training Hyperparameters
|
| 94 |
+
|
| 95 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 96 |
+
|
| 97 |
+
#### Speeds, Sizes, Times [optional]
|
| 98 |
+
|
| 99 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 100 |
+
|
| 101 |
+
[More Information Needed]
|
| 102 |
+
|
| 103 |
+
## Evaluation
|
| 104 |
+
|
| 105 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 106 |
+
|
| 107 |
+
### Testing Data, Factors & Metrics
|
| 108 |
+
|
| 109 |
+
#### Testing Data
|
| 110 |
+
|
| 111 |
+
<!-- This should link to a Dataset Card if possible. -->
|
| 112 |
+
|
| 113 |
+
[More Information Needed]
|
| 114 |
+
|
| 115 |
+
#### Factors
|
| 116 |
+
|
| 117 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 118 |
+
|
| 119 |
+
[More Information Needed]
|
| 120 |
+
|
| 121 |
+
#### Metrics
|
| 122 |
+
|
| 123 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 124 |
+
|
| 125 |
+
[More Information Needed]
|
| 126 |
+
|
| 127 |
+
### Results
|
| 128 |
+
|
| 129 |
+
[More Information Needed]
|
| 130 |
+
|
| 131 |
+
#### Summary
|
| 132 |
+
|
| 133 |
+
|
| 134 |
+
|
| 135 |
+
## Model Examination [optional]
|
| 136 |
+
|
| 137 |
+
<!-- Relevant interpretability work for the model goes here -->
|
| 138 |
+
|
| 139 |
+
[More Information Needed]
|
| 140 |
+
|
| 141 |
+
## Environmental Impact
|
| 142 |
+
|
| 143 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
| 144 |
+
|
| 145 |
+
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
| 146 |
+
|
| 147 |
+
- **Hardware Type:** [More Information Needed]
|
| 148 |
+
- **Hours used:** [More Information Needed]
|
| 149 |
+
- **Cloud Provider:** [More Information Needed]
|
| 150 |
+
- **Compute Region:** [More Information Needed]
|
| 151 |
+
- **Carbon Emitted:** [More Information Needed]
|
| 152 |
+
|
| 153 |
+
## Technical Specifications [optional]
|
| 154 |
+
|
| 155 |
+
### Model Architecture and Objective
|
| 156 |
+
|
| 157 |
+
[More Information Needed]
|
| 158 |
+
|
| 159 |
+
### Compute Infrastructure
|
| 160 |
+
|
| 161 |
+
[More Information Needed]
|
| 162 |
+
|
| 163 |
+
#### Hardware
|
| 164 |
+
|
| 165 |
+
[More Information Needed]
|
| 166 |
+
|
| 167 |
+
#### Software
|
| 168 |
+
|
| 169 |
+
[More Information Needed]
|
| 170 |
+
|
| 171 |
+
## Citation [optional]
|
| 172 |
+
|
| 173 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 174 |
+
|
| 175 |
+
**BibTeX:**
|
| 176 |
+
|
| 177 |
+
[More Information Needed]
|
| 178 |
+
|
| 179 |
+
**APA:**
|
| 180 |
+
|
| 181 |
+
[More Information Needed]
|
| 182 |
+
|
| 183 |
+
## Glossary [optional]
|
| 184 |
+
|
| 185 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
| 186 |
+
|
| 187 |
+
[More Information Needed]
|
| 188 |
+
|
| 189 |
+
## More Information [optional]
|
| 190 |
+
|
| 191 |
+
[More Information Needed]
|
| 192 |
+
|
| 193 |
+
## Model Card Authors [optional]
|
| 194 |
+
|
| 195 |
+
[More Information Needed]
|
| 196 |
+
|
| 197 |
+
## Model Card Contact
|
| 198 |
+
|
| 199 |
+
[More Information Needed]
|
| 200 |
+
### Framework versions
|
| 201 |
+
|
| 202 |
+
- PEFT 0.15.2
|
checkpoint-64/adapter_config.json
ADDED
|
@@ -0,0 +1,132 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "llava-hf/llava-1.5-7b-hf",
|
| 5 |
+
"bias": "none",
|
| 6 |
+
"corda_config": null,
|
| 7 |
+
"eva_config": null,
|
| 8 |
+
"exclude_modules": null,
|
| 9 |
+
"fan_in_fan_out": false,
|
| 10 |
+
"inference_mode": true,
|
| 11 |
+
"init_lora_weights": true,
|
| 12 |
+
"layer_replication": null,
|
| 13 |
+
"layers_pattern": null,
|
| 14 |
+
"layers_to_transform": null,
|
| 15 |
+
"loftq_config": {},
|
| 16 |
+
"lora_alpha": 16,
|
| 17 |
+
"lora_bias": false,
|
| 18 |
+
"lora_dropout": 0,
|
| 19 |
+
"megatron_config": null,
|
| 20 |
+
"megatron_core": "megatron.core",
|
| 21 |
+
"modules_to_save": null,
|
| 22 |
+
"peft_type": "LORA",
|
| 23 |
+
"r": 8,
|
| 24 |
+
"rank_pattern": {},
|
| 25 |
+
"revision": null,
|
| 26 |
+
"target_modules": [
|
| 27 |
+
"language_model.layers.15.self_attn.v_proj",
|
| 28 |
+
"language_model.layers.15.self_attn.k_proj",
|
| 29 |
+
"language_model.layers.2.self_attn.v_proj",
|
| 30 |
+
"language_model.layers.11.self_attn.v_proj",
|
| 31 |
+
"language_model.layers.2.self_attn.q_proj",
|
| 32 |
+
"language_model.layers.23.self_attn.k_proj",
|
| 33 |
+
"28.self_attn.q_proj",
|
| 34 |
+
"language_model.layers.9.self_attn.v_proj",
|
| 35 |
+
"31.self_attn.k_proj",
|
| 36 |
+
"o_proj",
|
| 37 |
+
"language_model.layers.13.self_attn.k_proj",
|
| 38 |
+
"language_model.layers.5.self_attn.v_proj",
|
| 39 |
+
"language_model.layers.3.self_attn.k_proj",
|
| 40 |
+
"language_model.layers.21.self_attn.k_proj",
|
| 41 |
+
"language_model.layers.14.self_attn.v_proj",
|
| 42 |
+
"language_model.layers.6.self_attn.k_proj",
|
| 43 |
+
"language_model.layers.4.self_attn.q_proj",
|
| 44 |
+
"24.self_attn.v_proj",
|
| 45 |
+
"27.self_attn.q_proj",
|
| 46 |
+
"language_model.layers.10.self_attn.v_proj",
|
| 47 |
+
"language_model.layers.11.self_attn.k_proj",
|
| 48 |
+
"language_model.layers.12.self_attn.q_proj",
|
| 49 |
+
"27.self_attn.k_proj",
|
| 50 |
+
"gate_proj",
|
| 51 |
+
"language_model.layers.12.self_attn.v_proj",
|
| 52 |
+
"language_model.layers.9.self_attn.q_proj",
|
| 53 |
+
"language_model.layers.18.self_attn.v_proj",
|
| 54 |
+
"24.self_attn.q_proj",
|
| 55 |
+
"language_model.layers.7.self_attn.k_proj",
|
| 56 |
+
"language_model.layers.14.self_attn.q_proj",
|
| 57 |
+
"language_model.layers.22.self_attn.k_proj",
|
| 58 |
+
"31.self_attn.q_proj",
|
| 59 |
+
"language_model.layers.13.self_attn.v_proj",
|
| 60 |
+
"language_model.layers.16.self_attn.v_proj",
|
| 61 |
+
"language_model.layers.3.self_attn.q_proj",
|
| 62 |
+
"language_model.layers.19.self_attn.q_proj",
|
| 63 |
+
"29.self_attn.q_proj",
|
| 64 |
+
"27.self_attn.v_proj",
|
| 65 |
+
"language_model.layers.19.self_attn.v_proj",
|
| 66 |
+
"26.self_attn.q_proj",
|
| 67 |
+
"language_model.layers.10.self_attn.k_proj",
|
| 68 |
+
"language_model.layers.0.self_attn.v_proj",
|
| 69 |
+
"30.self_attn.v_proj",
|
| 70 |
+
"language_model.layers.18.self_attn.k_proj",
|
| 71 |
+
"language_model.layers.7.self_attn.v_proj",
|
| 72 |
+
"language_model.layers.8.self_attn.q_proj",
|
| 73 |
+
"language_model.layers.20.self_attn.q_proj",
|
| 74 |
+
"language_model.layers.11.self_attn.q_proj",
|
| 75 |
+
"28.self_attn.k_proj",
|
| 76 |
+
"language_model.layers.23.self_attn.v_proj",
|
| 77 |
+
"language_model.layers.20.self_attn.v_proj",
|
| 78 |
+
"language_model.layers.0.self_attn.q_proj",
|
| 79 |
+
"language_model.layers.7.self_attn.q_proj",
|
| 80 |
+
"language_model.layers.0.self_attn.k_proj",
|
| 81 |
+
"25.self_attn.k_proj",
|
| 82 |
+
"language_model.layers.12.self_attn.k_proj",
|
| 83 |
+
"29.self_attn.k_proj",
|
| 84 |
+
"language_model.layers.3.self_attn.v_proj",
|
| 85 |
+
"language_model.layers.18.self_attn.q_proj",
|
| 86 |
+
"language_model.layers.22.self_attn.v_proj",
|
| 87 |
+
"26.self_attn.k_proj",
|
| 88 |
+
"language_model.layers.4.self_attn.k_proj",
|
| 89 |
+
"language_model.layers.22.self_attn.q_proj",
|
| 90 |
+
"30.self_attn.q_proj",
|
| 91 |
+
"language_model.layers.23.self_attn.q_proj",
|
| 92 |
+
"language_model.layers.1.self_attn.q_proj",
|
| 93 |
+
"language_model.layers.16.self_attn.k_proj",
|
| 94 |
+
"language_model.layers.13.self_attn.q_proj",
|
| 95 |
+
"down_proj",
|
| 96 |
+
"language_model.layers.10.self_attn.q_proj",
|
| 97 |
+
"language_model.layers.1.self_attn.k_proj",
|
| 98 |
+
"language_model.layers.2.self_attn.k_proj",
|
| 99 |
+
"31.self_attn.v_proj",
|
| 100 |
+
"language_model.layers.21.self_attn.q_proj",
|
| 101 |
+
"28.self_attn.v_proj",
|
| 102 |
+
"language_model.layers.15.self_attn.q_proj",
|
| 103 |
+
"language_model.layers.6.self_attn.q_proj",
|
| 104 |
+
"25.self_attn.v_proj",
|
| 105 |
+
"26.self_attn.v_proj",
|
| 106 |
+
"language_model.layers.20.self_attn.k_proj",
|
| 107 |
+
"language_model.layers.6.self_attn.v_proj",
|
| 108 |
+
"language_model.layers.17.self_attn.q_proj",
|
| 109 |
+
"language_model.layers.9.self_attn.k_proj",
|
| 110 |
+
"language_model.layers.5.self_attn.k_proj",
|
| 111 |
+
"language_model.layers.8.self_attn.k_proj",
|
| 112 |
+
"language_model.layers.17.self_attn.v_proj",
|
| 113 |
+
"language_model.layers.21.self_attn.v_proj",
|
| 114 |
+
"language_model.layers.16.self_attn.q_proj",
|
| 115 |
+
"language_model.layers.14.self_attn.k_proj",
|
| 116 |
+
"language_model.layers.5.self_attn.q_proj",
|
| 117 |
+
"29.self_attn.v_proj",
|
| 118 |
+
"up_proj",
|
| 119 |
+
"24.self_attn.k_proj",
|
| 120 |
+
"30.self_attn.k_proj",
|
| 121 |
+
"language_model.layers.8.self_attn.v_proj",
|
| 122 |
+
"language_model.layers.4.self_attn.v_proj",
|
| 123 |
+
"language_model.layers.17.self_attn.k_proj",
|
| 124 |
+
"25.self_attn.q_proj",
|
| 125 |
+
"language_model.layers.1.self_attn.v_proj",
|
| 126 |
+
"language_model.layers.19.self_attn.k_proj"
|
| 127 |
+
],
|
| 128 |
+
"task_type": "CAUSAL_LM",
|
| 129 |
+
"trainable_token_indices": null,
|
| 130 |
+
"use_dora": false,
|
| 131 |
+
"use_rslora": false
|
| 132 |
+
}
|
checkpoint-64/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1353f770eadba537a1aeef0aed0ad61ec839df901a204edf59c09b8f0dae88e3
|
| 3 |
+
size 80019840
|
checkpoint-64/added_tokens.json
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"<image>": 32000,
|
| 3 |
+
"<pad>": 32001
|
| 4 |
+
}
|
checkpoint-64/chat_template.jinja
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{% for message in messages %}{% if message['role'] != 'system' %}{{ message['role'].upper() + ': '}}{% endif %}{# Render all images first #}{% for content in message['content'] | selectattr('type', 'equalto', 'image') %}{{ '<image>
|
| 2 |
+
' }}{% endfor %}{# Render all text next #}{% if message['role'] != 'assistant' %}{% for content in message['content'] | selectattr('type', 'equalto', 'text') %}{{ content['text'] + ' '}}{% endfor %}{% else %}{% for content in message['content'] | selectattr('type', 'equalto', 'text') %}{% generation %}{{ content['text'] + ' '}}{% endgeneration %}{% endfor %}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ 'ASSISTANT:' }}{% endif %}
|
checkpoint-64/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e1828e38a4c554859aa0328b980b1470cea518a17fe1b5fbedf8861363884385
|
| 3 |
+
size 160285219
|
checkpoint-64/preprocessor_config.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"crop_size": {
|
| 3 |
+
"height": 336,
|
| 4 |
+
"width": 336
|
| 5 |
+
},
|
| 6 |
+
"do_center_crop": true,
|
| 7 |
+
"do_convert_rgb": true,
|
| 8 |
+
"do_normalize": true,
|
| 9 |
+
"do_rescale": true,
|
| 10 |
+
"do_resize": true,
|
| 11 |
+
"image_mean": [
|
| 12 |
+
0.48145466,
|
| 13 |
+
0.4578275,
|
| 14 |
+
0.40821073
|
| 15 |
+
],
|
| 16 |
+
"image_processor_type": "CLIPImageProcessor",
|
| 17 |
+
"image_std": [
|
| 18 |
+
0.26862954,
|
| 19 |
+
0.26130258,
|
| 20 |
+
0.27577711
|
| 21 |
+
],
|
| 22 |
+
"processor_class": "LlavaProcessor",
|
| 23 |
+
"resample": 3,
|
| 24 |
+
"rescale_factor": 0.00392156862745098,
|
| 25 |
+
"size": {
|
| 26 |
+
"shortest_edge": 336
|
| 27 |
+
}
|
| 28 |
+
}
|
checkpoint-64/processor_config.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"image_token": "<image>",
|
| 3 |
+
"num_additional_image_tokens": 1,
|
| 4 |
+
"patch_size": 14,
|
| 5 |
+
"processor_class": "LlavaProcessor",
|
| 6 |
+
"vision_feature_select_strategy": "default"
|
| 7 |
+
}
|
checkpoint-64/rng_state_0.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:02ea5dcfd1b4a49b41b4fa01a8b24bba6186957162c3fd555ebff28620c7268b
|
| 3 |
+
size 14917
|
checkpoint-64/rng_state_1.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c2a5af18bb5eae8b7fd6bdef66259014d98ba87ffb16d614bba38f2c32030798
|
| 3 |
+
size 14917
|
checkpoint-64/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fcbcddf99e9968b159b35666b0f12cc660b256795ba1422c789366592404af5e
|
| 3 |
+
size 1465
|
checkpoint-64/special_tokens_map.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": {
|
| 3 |
+
"content": "<s>",
|
| 4 |
+
"lstrip": false,
|
| 5 |
+
"normalized": false,
|
| 6 |
+
"rstrip": false,
|
| 7 |
+
"single_word": false
|
| 8 |
+
},
|
| 9 |
+
"eos_token": {
|
| 10 |
+
"content": "</s>",
|
| 11 |
+
"lstrip": false,
|
| 12 |
+
"normalized": false,
|
| 13 |
+
"rstrip": false,
|
| 14 |
+
"single_word": false
|
| 15 |
+
},
|
| 16 |
+
"image_token": "<image>",
|
| 17 |
+
"pad_token": {
|
| 18 |
+
"content": "<pad>",
|
| 19 |
+
"lstrip": false,
|
| 20 |
+
"normalized": false,
|
| 21 |
+
"rstrip": false,
|
| 22 |
+
"single_word": false
|
| 23 |
+
},
|
| 24 |
+
"unk_token": {
|
| 25 |
+
"content": "<unk>",
|
| 26 |
+
"lstrip": false,
|
| 27 |
+
"normalized": false,
|
| 28 |
+
"rstrip": false,
|
| 29 |
+
"single_word": false
|
| 30 |
+
}
|
| 31 |
+
}
|
checkpoint-64/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
checkpoint-64/tokenizer.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
|
| 3 |
+
size 499723
|
checkpoint-64/tokenizer_config.json
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_bos_token": true,
|
| 3 |
+
"add_eos_token": false,
|
| 4 |
+
"add_prefix_space": null,
|
| 5 |
+
"added_tokens_decoder": {
|
| 6 |
+
"0": {
|
| 7 |
+
"content": "<unk>",
|
| 8 |
+
"lstrip": false,
|
| 9 |
+
"normalized": false,
|
| 10 |
+
"rstrip": false,
|
| 11 |
+
"single_word": false,
|
| 12 |
+
"special": true
|
| 13 |
+
},
|
| 14 |
+
"1": {
|
| 15 |
+
"content": "<s>",
|
| 16 |
+
"lstrip": false,
|
| 17 |
+
"normalized": false,
|
| 18 |
+
"rstrip": false,
|
| 19 |
+
"single_word": false,
|
| 20 |
+
"special": true
|
| 21 |
+
},
|
| 22 |
+
"2": {
|
| 23 |
+
"content": "</s>",
|
| 24 |
+
"lstrip": false,
|
| 25 |
+
"normalized": false,
|
| 26 |
+
"rstrip": false,
|
| 27 |
+
"single_word": false,
|
| 28 |
+
"special": true
|
| 29 |
+
},
|
| 30 |
+
"32000": {
|
| 31 |
+
"content": "<image>",
|
| 32 |
+
"lstrip": false,
|
| 33 |
+
"normalized": false,
|
| 34 |
+
"rstrip": false,
|
| 35 |
+
"single_word": false,
|
| 36 |
+
"special": true
|
| 37 |
+
},
|
| 38 |
+
"32001": {
|
| 39 |
+
"content": "<pad>",
|
| 40 |
+
"lstrip": false,
|
| 41 |
+
"normalized": false,
|
| 42 |
+
"rstrip": false,
|
| 43 |
+
"single_word": false,
|
| 44 |
+
"special": true
|
| 45 |
+
}
|
| 46 |
+
},
|
| 47 |
+
"bos_token": "<s>",
|
| 48 |
+
"clean_up_tokenization_spaces": false,
|
| 49 |
+
"eos_token": "</s>",
|
| 50 |
+
"extra_special_tokens": {
|
| 51 |
+
"image_token": "<image>"
|
| 52 |
+
},
|
| 53 |
+
"image_token": "<image>",
|
| 54 |
+
"legacy": false,
|
| 55 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 56 |
+
"pad_token": "<pad>",
|
| 57 |
+
"padding_side": "right",
|
| 58 |
+
"processor_class": "LlavaProcessor",
|
| 59 |
+
"sp_model_kwargs": {},
|
| 60 |
+
"split_special_tokens": false,
|
| 61 |
+
"tokenizer_class": "LlamaTokenizer",
|
| 62 |
+
"trust_remote_code": false,
|
| 63 |
+
"unk_token": "<unk>",
|
| 64 |
+
"use_default_system_prompt": false
|
| 65 |
+
}
|
checkpoint-64/trainer_state.json
ADDED
|
@@ -0,0 +1,154 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 4.0,
|
| 6 |
+
"eval_steps": 500,
|
| 7 |
+
"global_step": 64,
|
| 8 |
+
"is_hyper_param_search": false,
|
| 9 |
+
"is_local_process_zero": true,
|
| 10 |
+
"is_world_process_zero": true,
|
| 11 |
+
"log_history": [
|
| 12 |
+
{
|
| 13 |
+
"epoch": 0.3252032520325203,
|
| 14 |
+
"grad_norm": 1.3156858682632446,
|
| 15 |
+
"learning_rate": 4.951963201008076e-05,
|
| 16 |
+
"loss": 2.2304,
|
| 17 |
+
"num_input_tokens_seen": 119024,
|
| 18 |
+
"step": 5,
|
| 19 |
+
"train_runtime": 28.3475,
|
| 20 |
+
"train_tokens_per_second": 4198.75
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"epoch": 0.6504065040650406,
|
| 24 |
+
"grad_norm": 0.7530735731124878,
|
| 25 |
+
"learning_rate": 4.759973232808609e-05,
|
| 26 |
+
"loss": 2.147,
|
| 27 |
+
"num_input_tokens_seen": 238880,
|
| 28 |
+
"step": 10,
|
| 29 |
+
"train_runtime": 55.416,
|
| 30 |
+
"train_tokens_per_second": 4310.67
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"epoch": 0.975609756097561,
|
| 34 |
+
"grad_norm": 0.6344960927963257,
|
| 35 |
+
"learning_rate": 4.4325261334068426e-05,
|
| 36 |
+
"loss": 1.9562,
|
| 37 |
+
"num_input_tokens_seen": 358608,
|
| 38 |
+
"step": 15,
|
| 39 |
+
"train_runtime": 82.5363,
|
| 40 |
+
"train_tokens_per_second": 4344.849
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"epoch": 1.2601626016260163,
|
| 44 |
+
"grad_norm": 0.5793188214302063,
|
| 45 |
+
"learning_rate": 3.9892482612310836e-05,
|
| 46 |
+
"loss": 1.5887,
|
| 47 |
+
"num_input_tokens_seen": 463568,
|
| 48 |
+
"step": 20,
|
| 49 |
+
"train_runtime": 106.4581,
|
| 50 |
+
"train_tokens_per_second": 4354.466
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"epoch": 1.5853658536585367,
|
| 54 |
+
"grad_norm": 0.5236935615539551,
|
| 55 |
+
"learning_rate": 3.456708580912725e-05,
|
| 56 |
+
"loss": 1.7952,
|
| 57 |
+
"num_input_tokens_seen": 583360,
|
| 58 |
+
"step": 25,
|
| 59 |
+
"train_runtime": 133.8831,
|
| 60 |
+
"train_tokens_per_second": 4357.233
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"epoch": 1.910569105691057,
|
| 64 |
+
"grad_norm": 0.6524015665054321,
|
| 65 |
+
"learning_rate": 2.8668261861384045e-05,
|
| 66 |
+
"loss": 1.7717,
|
| 67 |
+
"num_input_tokens_seen": 702656,
|
| 68 |
+
"step": 30,
|
| 69 |
+
"train_runtime": 161.3217,
|
| 70 |
+
"train_tokens_per_second": 4355.62
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"epoch": 2.1951219512195124,
|
| 74 |
+
"grad_norm": 0.5044527053833008,
|
| 75 |
+
"learning_rate": 2.2549571491760986e-05,
|
| 76 |
+
"loss": 1.5037,
|
| 77 |
+
"num_input_tokens_seen": 807312,
|
| 78 |
+
"step": 35,
|
| 79 |
+
"train_runtime": 185.3057,
|
| 80 |
+
"train_tokens_per_second": 4356.649
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"epoch": 2.5203252032520327,
|
| 84 |
+
"grad_norm": 0.5686483979225159,
|
| 85 |
+
"learning_rate": 1.65777536651945e-05,
|
| 86 |
+
"loss": 1.7171,
|
| 87 |
+
"num_input_tokens_seen": 926384,
|
| 88 |
+
"step": 40,
|
| 89 |
+
"train_runtime": 212.6983,
|
| 90 |
+
"train_tokens_per_second": 4355.389
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"epoch": 2.845528455284553,
|
| 94 |
+
"grad_norm": 0.4782630205154419,
|
| 95 |
+
"learning_rate": 1.1110744174509952e-05,
|
| 96 |
+
"loss": 1.6151,
|
| 97 |
+
"num_input_tokens_seen": 1046896,
|
| 98 |
+
"step": 45,
|
| 99 |
+
"train_runtime": 240.4926,
|
| 100 |
+
"train_tokens_per_second": 4353.132
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"epoch": 3.130081300813008,
|
| 104 |
+
"grad_norm": 0.518913745880127,
|
| 105 |
+
"learning_rate": 6.476221866126029e-06,
|
| 106 |
+
"loss": 1.4855,
|
| 107 |
+
"num_input_tokens_seen": 1151200,
|
| 108 |
+
"step": 50,
|
| 109 |
+
"train_runtime": 264.5411,
|
| 110 |
+
"train_tokens_per_second": 4351.686
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"epoch": 3.4552845528455283,
|
| 114 |
+
"grad_norm": 0.5394554734230042,
|
| 115 |
+
"learning_rate": 2.9519683912911266e-06,
|
| 116 |
+
"loss": 1.6717,
|
| 117 |
+
"num_input_tokens_seen": 1270640,
|
| 118 |
+
"step": 55,
|
| 119 |
+
"train_runtime": 291.9391,
|
| 120 |
+
"train_tokens_per_second": 4352.414
|
| 121 |
+
},
|
| 122 |
+
{
|
| 123 |
+
"epoch": 3.7804878048780486,
|
| 124 |
+
"grad_norm": 0.7331702709197998,
|
| 125 |
+
"learning_rate": 7.492186701364007e-07,
|
| 126 |
+
"loss": 1.6515,
|
| 127 |
+
"num_input_tokens_seen": 1390528,
|
| 128 |
+
"step": 60,
|
| 129 |
+
"train_runtime": 319.5924,
|
| 130 |
+
"train_tokens_per_second": 4350.941
|
| 131 |
+
}
|
| 132 |
+
],
|
| 133 |
+
"logging_steps": 5,
|
| 134 |
+
"max_steps": 64,
|
| 135 |
+
"num_input_tokens_seen": 1471136,
|
| 136 |
+
"num_train_epochs": 4,
|
| 137 |
+
"save_steps": 100,
|
| 138 |
+
"stateful_callbacks": {
|
| 139 |
+
"TrainerControl": {
|
| 140 |
+
"args": {
|
| 141 |
+
"should_epoch_stop": false,
|
| 142 |
+
"should_evaluate": false,
|
| 143 |
+
"should_log": false,
|
| 144 |
+
"should_save": true,
|
| 145 |
+
"should_training_stop": true
|
| 146 |
+
},
|
| 147 |
+
"attributes": {}
|
| 148 |
+
}
|
| 149 |
+
},
|
| 150 |
+
"total_flos": 6.135952763047117e+16,
|
| 151 |
+
"train_batch_size": 2,
|
| 152 |
+
"trial_name": null,
|
| 153 |
+
"trial_params": null
|
| 154 |
+
}
|
checkpoint-64/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4574205f9aa181199e18c06cfa93ed9296b0cd6271734ef844960a090a18653d
|
| 3 |
+
size 6161
|
llamaboard_config.yaml
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
top.booster: auto
|
| 2 |
+
top.checkpoint_path: []
|
| 3 |
+
top.finetuning_type: lora
|
| 4 |
+
top.model_name: LLaVA-1.5-7B-Chat
|
| 5 |
+
top.quantization_bit: none
|
| 6 |
+
top.quantization_method: bnb
|
| 7 |
+
top.rope_scaling: none
|
| 8 |
+
top.template: llava
|
| 9 |
+
train.additional_target: ''
|
| 10 |
+
train.apollo_rank: 16
|
| 11 |
+
train.apollo_scale: 32
|
| 12 |
+
train.apollo_target: all
|
| 13 |
+
train.apollo_update_interval: 200
|
| 14 |
+
train.badam_mode: layer
|
| 15 |
+
train.badam_switch_interval: 50
|
| 16 |
+
train.badam_switch_mode: ascending
|
| 17 |
+
train.badam_update_ratio: 0.05
|
| 18 |
+
train.batch_size: 2
|
| 19 |
+
train.compute_type: bf16
|
| 20 |
+
train.create_new_adapter: false
|
| 21 |
+
train.cutoff_len: 2048
|
| 22 |
+
train.dataset:
|
| 23 |
+
- sticker_labels_kfolds_train_zh_1
|
| 24 |
+
train.dataset_dir: data
|
| 25 |
+
train.ds_offload: false
|
| 26 |
+
train.ds_stage: none
|
| 27 |
+
train.enable_thinking: true
|
| 28 |
+
train.extra_args: '{"optim": "adamw_torch"}'
|
| 29 |
+
train.freeze_extra_modules: ''
|
| 30 |
+
train.freeze_language_model: false
|
| 31 |
+
train.freeze_multi_modal_projector: true
|
| 32 |
+
train.freeze_trainable_layers: 2
|
| 33 |
+
train.freeze_trainable_modules: all
|
| 34 |
+
train.freeze_vision_tower: true
|
| 35 |
+
train.galore_rank: 16
|
| 36 |
+
train.galore_scale: 2
|
| 37 |
+
train.galore_target: all
|
| 38 |
+
train.galore_update_interval: 200
|
| 39 |
+
train.gradient_accumulation_steps: 8
|
| 40 |
+
train.image_max_pixels: 768*768
|
| 41 |
+
train.image_min_pixels: 32*32
|
| 42 |
+
train.learning_rate: 5e-5
|
| 43 |
+
train.logging_steps: 5
|
| 44 |
+
train.lora_alpha: 16
|
| 45 |
+
train.lora_dropout: 0
|
| 46 |
+
train.lora_rank: 8
|
| 47 |
+
train.lora_target: ''
|
| 48 |
+
train.loraplus_lr_ratio: 0
|
| 49 |
+
train.lr_scheduler_type: cosine
|
| 50 |
+
train.mask_history: false
|
| 51 |
+
train.max_grad_norm: '1.0'
|
| 52 |
+
train.max_samples: '100000'
|
| 53 |
+
train.neat_packing: false
|
| 54 |
+
train.neftune_alpha: 0
|
| 55 |
+
train.num_train_epochs: '4'
|
| 56 |
+
train.packing: false
|
| 57 |
+
train.ppo_score_norm: false
|
| 58 |
+
train.ppo_whiten_rewards: false
|
| 59 |
+
train.pref_beta: 0.1
|
| 60 |
+
train.pref_ftx: 0
|
| 61 |
+
train.pref_loss: sigmoid
|
| 62 |
+
train.report_to: none
|
| 63 |
+
train.resize_vocab: false
|
| 64 |
+
train.reward_model: null
|
| 65 |
+
train.save_steps: 100
|
| 66 |
+
train.swanlab_api_key: ''
|
| 67 |
+
train.swanlab_link: ''
|
| 68 |
+
train.swanlab_mode: cloud
|
| 69 |
+
train.swanlab_project: llamafactory
|
| 70 |
+
train.swanlab_run_name: ''
|
| 71 |
+
train.swanlab_workspace: ''
|
| 72 |
+
train.train_on_prompt: false
|
| 73 |
+
train.training_stage: Supervised Fine-Tuning
|
| 74 |
+
train.use_apollo: false
|
| 75 |
+
train.use_badam: false
|
| 76 |
+
train.use_dora: false
|
| 77 |
+
train.use_galore: false
|
| 78 |
+
train.use_llama_pro: false
|
| 79 |
+
train.use_pissa: false
|
| 80 |
+
train.use_rslora: false
|
| 81 |
+
train.use_swanlab: false
|
| 82 |
+
train.val_size: 0
|
| 83 |
+
train.video_max_pixels: 256*256
|
| 84 |
+
train.video_min_pixels: 16*16
|
| 85 |
+
train.warmup_steps: 0
|
preprocessor_config.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"crop_size": {
|
| 3 |
+
"height": 336,
|
| 4 |
+
"width": 336
|
| 5 |
+
},
|
| 6 |
+
"do_center_crop": true,
|
| 7 |
+
"do_convert_rgb": true,
|
| 8 |
+
"do_normalize": true,
|
| 9 |
+
"do_rescale": true,
|
| 10 |
+
"do_resize": true,
|
| 11 |
+
"image_mean": [
|
| 12 |
+
0.48145466,
|
| 13 |
+
0.4578275,
|
| 14 |
+
0.40821073
|
| 15 |
+
],
|
| 16 |
+
"image_processor_type": "CLIPImageProcessor",
|
| 17 |
+
"image_std": [
|
| 18 |
+
0.26862954,
|
| 19 |
+
0.26130258,
|
| 20 |
+
0.27577711
|
| 21 |
+
],
|
| 22 |
+
"processor_class": "LlavaProcessor",
|
| 23 |
+
"resample": 3,
|
| 24 |
+
"rescale_factor": 0.00392156862745098,
|
| 25 |
+
"size": {
|
| 26 |
+
"shortest_edge": 336
|
| 27 |
+
}
|
| 28 |
+
}
|
processor_config.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"image_token": "<image>",
|
| 3 |
+
"num_additional_image_tokens": 1,
|
| 4 |
+
"patch_size": 14,
|
| 5 |
+
"processor_class": "LlavaProcessor",
|
| 6 |
+
"vision_feature_select_strategy": "default"
|
| 7 |
+
}
|
running_log.txt
ADDED
|
@@ -0,0 +1,459 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[INFO|2025-05-30 02:31:15] tokenization_utils_base.py:2023 >> loading file tokenizer.model from cache at /home/tsinghuaair/.cache/huggingface/hub/models--llava-hf--llava-1.5-7b-hf/snapshots/6ceb2ed33cb8f107a781c431fe2e61574da69369/tokenizer.model
|
| 2 |
+
|
| 3 |
+
[INFO|2025-05-30 02:31:15] tokenization_utils_base.py:2023 >> loading file tokenizer.json from cache at /home/tsinghuaair/.cache/huggingface/hub/models--llava-hf--llava-1.5-7b-hf/snapshots/6ceb2ed33cb8f107a781c431fe2e61574da69369/tokenizer.json
|
| 4 |
+
|
| 5 |
+
[INFO|2025-05-30 02:31:15] tokenization_utils_base.py:2023 >> loading file added_tokens.json from cache at /home/tsinghuaair/.cache/huggingface/hub/models--llava-hf--llava-1.5-7b-hf/snapshots/6ceb2ed33cb8f107a781c431fe2e61574da69369/added_tokens.json
|
| 6 |
+
|
| 7 |
+
[INFO|2025-05-30 02:31:15] tokenization_utils_base.py:2023 >> loading file special_tokens_map.json from cache at /home/tsinghuaair/.cache/huggingface/hub/models--llava-hf--llava-1.5-7b-hf/snapshots/6ceb2ed33cb8f107a781c431fe2e61574da69369/special_tokens_map.json
|
| 8 |
+
|
| 9 |
+
[INFO|2025-05-30 02:31:15] tokenization_utils_base.py:2023 >> loading file tokenizer_config.json from cache at /home/tsinghuaair/.cache/huggingface/hub/models--llava-hf--llava-1.5-7b-hf/snapshots/6ceb2ed33cb8f107a781c431fe2e61574da69369/tokenizer_config.json
|
| 10 |
+
|
| 11 |
+
[INFO|2025-05-30 02:31:15] tokenization_utils_base.py:2023 >> loading file chat_template.jinja from cache at None
|
| 12 |
+
|
| 13 |
+
[INFO|2025-05-30 02:31:15] tokenization_utils_base.py:2299 >> Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
|
| 14 |
+
|
| 15 |
+
[INFO|2025-05-30 02:31:17] processing_utils.py:930 >> loading configuration file processor_config.json from cache at /home/tsinghuaair/.cache/huggingface/hub/models--llava-hf--llava-1.5-7b-hf/snapshots/6ceb2ed33cb8f107a781c431fe2e61574da69369/processor_config.json
|
| 16 |
+
|
| 17 |
+
[WARNING|2025-05-30 02:31:17] logging.py:328 >> Using a slow image processor as `use_fast` is unset and a slow processor was saved with this model. `use_fast=True` will be the default behavior in v4.52, even if the model was saved with a slow processor. This will result in minor differences in outputs. You'll still be able to use a slow processor with `use_fast=False`.
|
| 18 |
+
|
| 19 |
+
[INFO|2025-05-30 02:31:17] image_processing_base.py:380 >> loading configuration file preprocessor_config.json from cache at /home/tsinghuaair/.cache/huggingface/hub/models--llava-hf--llava-1.5-7b-hf/snapshots/6ceb2ed33cb8f107a781c431fe2e61574da69369/preprocessor_config.json
|
| 20 |
+
|
| 21 |
+
[WARNING|2025-05-30 02:31:17] logging.py:328 >> Using a slow image processor as `use_fast` is unset and a slow processor was saved with this model. `use_fast=True` will be the default behavior in v4.52, even if the model was saved with a slow processor. This will result in minor differences in outputs. You'll still be able to use a slow processor with `use_fast=False`.
|
| 22 |
+
|
| 23 |
+
[INFO|2025-05-30 02:31:17] image_processing_base.py:433 >> Image processor CLIPImageProcessor {
|
| 24 |
+
"crop_size": {
|
| 25 |
+
"height": 336,
|
| 26 |
+
"width": 336
|
| 27 |
+
},
|
| 28 |
+
"do_center_crop": true,
|
| 29 |
+
"do_convert_rgb": true,
|
| 30 |
+
"do_normalize": true,
|
| 31 |
+
"do_rescale": true,
|
| 32 |
+
"do_resize": true,
|
| 33 |
+
"image_mean": [
|
| 34 |
+
0.48145466,
|
| 35 |
+
0.4578275,
|
| 36 |
+
0.40821073
|
| 37 |
+
],
|
| 38 |
+
"image_processor_type": "CLIPImageProcessor",
|
| 39 |
+
"image_std": [
|
| 40 |
+
0.26862954,
|
| 41 |
+
0.26130258,
|
| 42 |
+
0.27577711
|
| 43 |
+
],
|
| 44 |
+
"processor_class": "LlavaProcessor",
|
| 45 |
+
"resample": 3,
|
| 46 |
+
"rescale_factor": 0.00392156862745098,
|
| 47 |
+
"size": {
|
| 48 |
+
"shortest_edge": 336
|
| 49 |
+
}
|
| 50 |
+
}
|
| 51 |
+
|
| 52 |
+
|
| 53 |
+
[INFO|2025-05-30 02:31:18] tokenization_utils_base.py:2023 >> loading file tokenizer.model from cache at /home/tsinghuaair/.cache/huggingface/hub/models--llava-hf--llava-1.5-7b-hf/snapshots/6ceb2ed33cb8f107a781c431fe2e61574da69369/tokenizer.model
|
| 54 |
+
|
| 55 |
+
[INFO|2025-05-30 02:31:18] tokenization_utils_base.py:2023 >> loading file tokenizer.json from cache at /home/tsinghuaair/.cache/huggingface/hub/models--llava-hf--llava-1.5-7b-hf/snapshots/6ceb2ed33cb8f107a781c431fe2e61574da69369/tokenizer.json
|
| 56 |
+
|
| 57 |
+
[INFO|2025-05-30 02:31:18] tokenization_utils_base.py:2023 >> loading file added_tokens.json from cache at /home/tsinghuaair/.cache/huggingface/hub/models--llava-hf--llava-1.5-7b-hf/snapshots/6ceb2ed33cb8f107a781c431fe2e61574da69369/added_tokens.json
|
| 58 |
+
|
| 59 |
+
[INFO|2025-05-30 02:31:18] tokenization_utils_base.py:2023 >> loading file special_tokens_map.json from cache at /home/tsinghuaair/.cache/huggingface/hub/models--llava-hf--llava-1.5-7b-hf/snapshots/6ceb2ed33cb8f107a781c431fe2e61574da69369/special_tokens_map.json
|
| 60 |
+
|
| 61 |
+
[INFO|2025-05-30 02:31:18] tokenization_utils_base.py:2023 >> loading file tokenizer_config.json from cache at /home/tsinghuaair/.cache/huggingface/hub/models--llava-hf--llava-1.5-7b-hf/snapshots/6ceb2ed33cb8f107a781c431fe2e61574da69369/tokenizer_config.json
|
| 62 |
+
|
| 63 |
+
[INFO|2025-05-30 02:31:18] tokenization_utils_base.py:2023 >> loading file chat_template.jinja from cache at None
|
| 64 |
+
|
| 65 |
+
[INFO|2025-05-30 02:31:18] tokenization_utils_base.py:2299 >> Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
|
| 66 |
+
|
| 67 |
+
[INFO|2025-05-30 02:31:19] processing_utils.py:930 >> loading configuration file processor_config.json from cache at /home/tsinghuaair/.cache/huggingface/hub/models--llava-hf--llava-1.5-7b-hf/snapshots/6ceb2ed33cb8f107a781c431fe2e61574da69369/processor_config.json
|
| 68 |
+
|
| 69 |
+
[INFO|2025-05-30 02:31:19] processing_utils.py:990 >> Processor LlavaProcessor:
|
| 70 |
+
- image_processor: CLIPImageProcessor {
|
| 71 |
+
"crop_size": {
|
| 72 |
+
"height": 336,
|
| 73 |
+
"width": 336
|
| 74 |
+
},
|
| 75 |
+
"do_center_crop": true,
|
| 76 |
+
"do_convert_rgb": true,
|
| 77 |
+
"do_normalize": true,
|
| 78 |
+
"do_rescale": true,
|
| 79 |
+
"do_resize": true,
|
| 80 |
+
"image_mean": [
|
| 81 |
+
0.48145466,
|
| 82 |
+
0.4578275,
|
| 83 |
+
0.40821073
|
| 84 |
+
],
|
| 85 |
+
"image_processor_type": "CLIPImageProcessor",
|
| 86 |
+
"image_std": [
|
| 87 |
+
0.26862954,
|
| 88 |
+
0.26130258,
|
| 89 |
+
0.27577711
|
| 90 |
+
],
|
| 91 |
+
"processor_class": "LlavaProcessor",
|
| 92 |
+
"resample": 3,
|
| 93 |
+
"rescale_factor": 0.00392156862745098,
|
| 94 |
+
"size": {
|
| 95 |
+
"shortest_edge": 336
|
| 96 |
+
}
|
| 97 |
+
}
|
| 98 |
+
|
| 99 |
+
- tokenizer: LlamaTokenizerFast(name_or_path='llava-hf/llava-1.5-7b-hf', vocab_size=32000, model_max_length=1000000000000000019884624838656, is_fast=True, padding_side='left', truncation_side='right', special_tokens={'bos_token': '<s>', 'eos_token': '</s>', 'unk_token': '<unk>', 'pad_token': '<pad>', 'image_token': '<image>'}, clean_up_tokenization_spaces=False, added_tokens_decoder={
|
| 100 |
+
0: AddedToken("<unk>", rstrip=False, lstrip=False, single_word=False, normalized=False, special=True),
|
| 101 |
+
1: AddedToken("<s>", rstrip=False, lstrip=False, single_word=False, normalized=False, special=True),
|
| 102 |
+
2: AddedToken("</s>", rstrip=False, lstrip=False, single_word=False, normalized=False, special=True),
|
| 103 |
+
32000: AddedToken("<image>", rstrip=False, lstrip=False, single_word=False, normalized=False, special=True),
|
| 104 |
+
32001: AddedToken("<pad>", rstrip=False, lstrip=False, single_word=False, normalized=False, special=True),
|
| 105 |
+
}
|
| 106 |
+
)
|
| 107 |
+
|
| 108 |
+
{
|
| 109 |
+
"image_token": "<image>",
|
| 110 |
+
"num_additional_image_tokens": 1,
|
| 111 |
+
"patch_size": 14,
|
| 112 |
+
"processor_class": "LlavaProcessor",
|
| 113 |
+
"vision_feature_select_strategy": "default"
|
| 114 |
+
}
|
| 115 |
+
|
| 116 |
+
|
| 117 |
+
[INFO|2025-05-30 02:31:19] logging.py:143 >> Loading dataset /home/tsinghuaair/mawz/xxe_metchee/finetune-llms/llava-1.5-7b-hf-sticker-labels/kfold_output_zh/fold_1/stickers_label_train.json...
|
| 118 |
+
|
| 119 |
+
[INFO|2025-05-30 02:31:24] configuration_utils.py:698 >> loading configuration file config.json from cache at /home/tsinghuaair/.cache/huggingface/hub/models--llava-hf--llava-1.5-7b-hf/snapshots/6ceb2ed33cb8f107a781c431fe2e61574da69369/config.json
|
| 120 |
+
|
| 121 |
+
[INFO|2025-05-30 02:31:24] configuration_utils.py:770 >> Model config LlavaConfig {
|
| 122 |
+
"architectures": [
|
| 123 |
+
"LlavaForConditionalGeneration"
|
| 124 |
+
],
|
| 125 |
+
"ignore_index": -100,
|
| 126 |
+
"image_seq_length": 576,
|
| 127 |
+
"image_token_index": 32000,
|
| 128 |
+
"model_type": "llava",
|
| 129 |
+
"multimodal_projector_bias": true,
|
| 130 |
+
"pad_token_id": 32001,
|
| 131 |
+
"projector_hidden_act": "gelu",
|
| 132 |
+
"text_config": {
|
| 133 |
+
"_name_or_path": "lmsys/vicuna-7b-v1.5",
|
| 134 |
+
"architectures": [
|
| 135 |
+
"LlamaForCausalLM"
|
| 136 |
+
],
|
| 137 |
+
"attention_bias": false,
|
| 138 |
+
"attention_dropout": 0.0,
|
| 139 |
+
"head_dim": 128,
|
| 140 |
+
"hidden_act": "silu",
|
| 141 |
+
"hidden_size": 4096,
|
| 142 |
+
"initializer_range": 0.02,
|
| 143 |
+
"intermediate_size": 11008,
|
| 144 |
+
"max_position_embeddings": 4096,
|
| 145 |
+
"mlp_bias": false,
|
| 146 |
+
"model_type": "llama",
|
| 147 |
+
"num_attention_heads": 32,
|
| 148 |
+
"num_hidden_layers": 32,
|
| 149 |
+
"num_key_value_heads": 32,
|
| 150 |
+
"pretraining_tp": 1,
|
| 151 |
+
"rms_norm_eps": 1e-05,
|
| 152 |
+
"rope_scaling": null,
|
| 153 |
+
"rope_theta": 10000.0,
|
| 154 |
+
"torch_dtype": "float16",
|
| 155 |
+
"use_cache": true,
|
| 156 |
+
"vocab_size": 32064
|
| 157 |
+
},
|
| 158 |
+
"tie_word_embeddings": false,
|
| 159 |
+
"torch_dtype": "float16",
|
| 160 |
+
"transformers_version": "4.52.1",
|
| 161 |
+
"vision_config": {
|
| 162 |
+
"attention_dropout": 0.0,
|
| 163 |
+
"hidden_act": "quick_gelu",
|
| 164 |
+
"hidden_size": 1024,
|
| 165 |
+
"image_size": 336,
|
| 166 |
+
"initializer_factor": 1.0,
|
| 167 |
+
"initializer_range": 0.02,
|
| 168 |
+
"intermediate_size": 4096,
|
| 169 |
+
"layer_norm_eps": 1e-05,
|
| 170 |
+
"model_type": "clip_vision_model",
|
| 171 |
+
"num_attention_heads": 16,
|
| 172 |
+
"num_channels": 3,
|
| 173 |
+
"num_hidden_layers": 24,
|
| 174 |
+
"patch_size": 14,
|
| 175 |
+
"projection_dim": 768,
|
| 176 |
+
"vocab_size": 32000
|
| 177 |
+
},
|
| 178 |
+
"vision_feature_layer": -2,
|
| 179 |
+
"vision_feature_select_strategy": "default",
|
| 180 |
+
"vocab_size": 32064
|
| 181 |
+
}
|
| 182 |
+
|
| 183 |
+
|
| 184 |
+
[INFO|2025-05-30 02:31:24] logging.py:143 >> KV cache is disabled during training.
|
| 185 |
+
|
| 186 |
+
[INFO|2025-05-30 02:31:24] modeling_utils.py:1149 >> loading weights file model.safetensors from cache at /home/tsinghuaair/.cache/huggingface/hub/models--llava-hf--llava-1.5-7b-hf/snapshots/6ceb2ed33cb8f107a781c431fe2e61574da69369/model.safetensors.index.json
|
| 187 |
+
|
| 188 |
+
[INFO|2025-05-30 02:31:24] modeling_utils.py:2239 >> Instantiating LlavaForConditionalGeneration model under default dtype torch.bfloat16.
|
| 189 |
+
|
| 190 |
+
[INFO|2025-05-30 02:31:24] configuration_utils.py:1135 >> Generate config GenerationConfig {
|
| 191 |
+
"pad_token_id": 32001,
|
| 192 |
+
"use_cache": false
|
| 193 |
+
}
|
| 194 |
+
|
| 195 |
+
|
| 196 |
+
[INFO|2025-05-30 02:31:25] modeling_utils.py:2239 >> Instantiating CLIPVisionModel model under default dtype torch.bfloat16.
|
| 197 |
+
|
| 198 |
+
[INFO|2025-05-30 02:31:25] modeling_utils.py:2239 >> Instantiating LlamaModel model under default dtype torch.bfloat16.
|
| 199 |
+
|
| 200 |
+
[INFO|2025-05-30 02:31:29] modeling_utils.py:5170 >> All model checkpoint weights were used when initializing LlavaForConditionalGeneration.
|
| 201 |
+
|
| 202 |
+
|
| 203 |
+
[INFO|2025-05-30 02:31:29] modeling_utils.py:5178 >> All the weights of LlavaForConditionalGeneration were initialized from the model checkpoint at llava-hf/llava-1.5-7b-hf.
|
| 204 |
+
If your task is similar to the task the model of the checkpoint was trained on, you can already use LlavaForConditionalGeneration for predictions without further training.
|
| 205 |
+
|
| 206 |
+
[INFO|2025-05-30 02:31:29] configuration_utils.py:1090 >> loading configuration file generation_config.json from cache at /home/tsinghuaair/.cache/huggingface/hub/models--llava-hf--llava-1.5-7b-hf/snapshots/6ceb2ed33cb8f107a781c431fe2e61574da69369/generation_config.json
|
| 207 |
+
|
| 208 |
+
[INFO|2025-05-30 02:31:29] configuration_utils.py:1135 >> Generate config GenerationConfig {
|
| 209 |
+
"bos_token_id": 1,
|
| 210 |
+
"eos_token_id": 2,
|
| 211 |
+
"pad_token_id": 32001
|
| 212 |
+
}
|
| 213 |
+
|
| 214 |
+
|
| 215 |
+
[INFO|2025-05-30 02:31:30] logging.py:143 >> Gradient checkpointing enabled.
|
| 216 |
+
|
| 217 |
+
[INFO|2025-05-30 02:31:30] logging.py:143 >> Using torch SDPA for faster training and inference.
|
| 218 |
+
|
| 219 |
+
[INFO|2025-05-30 02:31:30] logging.py:143 >> Upcasting trainable params to float32.
|
| 220 |
+
|
| 221 |
+
[INFO|2025-05-30 02:31:30] logging.py:143 >> Fine-tuning method: LoRA
|
| 222 |
+
|
| 223 |
+
[INFO|2025-05-30 02:31:30] logging.py:143 >> Found linear modules: gate_proj,q_proj,up_proj,o_proj,k_proj,v_proj,down_proj
|
| 224 |
+
|
| 225 |
+
[INFO|2025-05-30 02:31:30] logging.py:143 >> Set vision model not trainable: ['vision_tower'].
|
| 226 |
+
|
| 227 |
+
[INFO|2025-05-30 02:31:30] logging.py:143 >> Set multi model projector not trainable: multi_modal_projector.
|
| 228 |
+
|
| 229 |
+
[INFO|2025-05-30 02:31:30] logging.py:143 >> trainable params: 19,988,480 || all params: 7,083,415,552 || trainable%: 0.2822
|
| 230 |
+
|
| 231 |
+
[INFO|2025-05-30 02:31:30] trainer.py:756 >> Using auto half precision backend
|
| 232 |
+
|
| 233 |
+
[INFO|2025-05-30 02:31:31] trainer.py:2409 >> ***** Running training *****
|
| 234 |
+
|
| 235 |
+
[INFO|2025-05-30 02:31:31] trainer.py:2410 >> Num examples = 489
|
| 236 |
+
|
| 237 |
+
[INFO|2025-05-30 02:31:31] trainer.py:2411 >> Num Epochs = 4
|
| 238 |
+
|
| 239 |
+
[INFO|2025-05-30 02:31:31] trainer.py:2412 >> Instantaneous batch size per device = 2
|
| 240 |
+
|
| 241 |
+
[INFO|2025-05-30 02:31:31] trainer.py:2415 >> Total train batch size (w. parallel, distributed & accumulation) = 32
|
| 242 |
+
|
| 243 |
+
[INFO|2025-05-30 02:31:31] trainer.py:2416 >> Gradient Accumulation steps = 8
|
| 244 |
+
|
| 245 |
+
[INFO|2025-05-30 02:31:31] trainer.py:2417 >> Total optimization steps = 64
|
| 246 |
+
|
| 247 |
+
[INFO|2025-05-30 02:31:31] trainer.py:2418 >> Number of trainable parameters = 19,988,480
|
| 248 |
+
|
| 249 |
+
[WARNING|2025-05-30 02:31:33] logging.py:328 >> `loss_type=None` was set in the config but it is unrecognised.Using the default loss: `ForCausalLMLoss`.
|
| 250 |
+
|
| 251 |
+
[WARNING|2025-05-30 02:31:33] logging.py:328 >> `loss_type=None` was set in the config but it is unrecognised.Using the default loss: `ForCausalLMLoss`.
|
| 252 |
+
|
| 253 |
+
[INFO|2025-05-30 02:31:59] logging.py:143 >> {'loss': 2.2304, 'learning_rate': 4.9520e-05, 'epoch': 0.33, 'throughput': 4337.62}
|
| 254 |
+
|
| 255 |
+
[INFO|2025-05-30 02:32:26] logging.py:143 >> {'loss': 2.1470, 'learning_rate': 4.7600e-05, 'epoch': 0.65, 'throughput': 4382.44}
|
| 256 |
+
|
| 257 |
+
[INFO|2025-05-30 02:32:53] logging.py:143 >> {'loss': 1.9562, 'learning_rate': 4.4325e-05, 'epoch': 0.98, 'throughput': 4393.16}
|
| 258 |
+
|
| 259 |
+
[INFO|2025-05-30 02:33:17] logging.py:143 >> {'loss': 1.5887, 'learning_rate': 3.9892e-05, 'epoch': 1.26, 'throughput': 4391.91}
|
| 260 |
+
|
| 261 |
+
[INFO|2025-05-30 02:33:45] logging.py:143 >> {'loss': 1.7952, 'learning_rate': 3.4567e-05, 'epoch': 1.59, 'throughput': 4386.97}
|
| 262 |
+
|
| 263 |
+
[INFO|2025-05-30 02:34:12] logging.py:143 >> {'loss': 1.7717, 'learning_rate': 2.8668e-05, 'epoch': 1.91, 'throughput': 4380.26}
|
| 264 |
+
|
| 265 |
+
[INFO|2025-05-30 02:34:36] logging.py:143 >> {'loss': 1.5037, 'learning_rate': 2.2550e-05, 'epoch': 2.20, 'throughput': 4378.09}
|
| 266 |
+
|
| 267 |
+
[INFO|2025-05-30 02:35:03] logging.py:143 >> {'loss': 1.7171, 'learning_rate': 1.6578e-05, 'epoch': 2.52, 'throughput': 4374.05}
|
| 268 |
+
|
| 269 |
+
[INFO|2025-05-30 02:35:31] logging.py:143 >> {'loss': 1.6151, 'learning_rate': 1.1111e-05, 'epoch': 2.85, 'throughput': 4369.62}
|
| 270 |
+
|
| 271 |
+
[INFO|2025-05-30 02:35:55] logging.py:143 >> {'loss': 1.4855, 'learning_rate': 6.4762e-06, 'epoch': 3.13, 'throughput': 4366.67}
|
| 272 |
+
|
| 273 |
+
[INFO|2025-05-30 02:36:23] logging.py:143 >> {'loss': 1.6717, 'learning_rate': 2.9520e-06, 'epoch': 3.46, 'throughput': 4365.99}
|
| 274 |
+
|
| 275 |
+
[INFO|2025-05-30 02:36:50] logging.py:143 >> {'loss': 1.6515, 'learning_rate': 7.4922e-07, 'epoch': 3.78, 'throughput': 4363.33}
|
| 276 |
+
|
| 277 |
+
[INFO|2025-05-30 02:37:09] trainer.py:3993 >> Saving model checkpoint to saves/LLaVA-1.5-7B-Chat/lora/train_zh_1_fold_4_epochs/checkpoint-64
|
| 278 |
+
|
| 279 |
+
[INFO|2025-05-30 02:37:10] configuration_utils.py:698 >> loading configuration file config.json from cache at /home/tsinghuaair/.cache/huggingface/hub/models--llava-hf--llava-1.5-7b-hf/snapshots/6ceb2ed33cb8f107a781c431fe2e61574da69369/config.json
|
| 280 |
+
|
| 281 |
+
[INFO|2025-05-30 02:37:10] configuration_utils.py:770 >> Model config LlavaConfig {
|
| 282 |
+
"architectures": [
|
| 283 |
+
"LlavaForConditionalGeneration"
|
| 284 |
+
],
|
| 285 |
+
"ignore_index": -100,
|
| 286 |
+
"image_seq_length": 576,
|
| 287 |
+
"image_token_index": 32000,
|
| 288 |
+
"model_type": "llava",
|
| 289 |
+
"multimodal_projector_bias": true,
|
| 290 |
+
"pad_token_id": 32001,
|
| 291 |
+
"projector_hidden_act": "gelu",
|
| 292 |
+
"text_config": {
|
| 293 |
+
"_name_or_path": "lmsys/vicuna-7b-v1.5",
|
| 294 |
+
"architectures": [
|
| 295 |
+
"LlamaForCausalLM"
|
| 296 |
+
],
|
| 297 |
+
"attention_bias": false,
|
| 298 |
+
"attention_dropout": 0.0,
|
| 299 |
+
"head_dim": 128,
|
| 300 |
+
"hidden_act": "silu",
|
| 301 |
+
"hidden_size": 4096,
|
| 302 |
+
"initializer_range": 0.02,
|
| 303 |
+
"intermediate_size": 11008,
|
| 304 |
+
"max_position_embeddings": 4096,
|
| 305 |
+
"mlp_bias": false,
|
| 306 |
+
"model_type": "llama",
|
| 307 |
+
"num_attention_heads": 32,
|
| 308 |
+
"num_hidden_layers": 32,
|
| 309 |
+
"num_key_value_heads": 32,
|
| 310 |
+
"pretraining_tp": 1,
|
| 311 |
+
"rms_norm_eps": 1e-05,
|
| 312 |
+
"rope_scaling": null,
|
| 313 |
+
"rope_theta": 10000.0,
|
| 314 |
+
"torch_dtype": "float16",
|
| 315 |
+
"use_cache": true,
|
| 316 |
+
"vocab_size": 32064
|
| 317 |
+
},
|
| 318 |
+
"tie_word_embeddings": false,
|
| 319 |
+
"torch_dtype": "float16",
|
| 320 |
+
"transformers_version": "4.52.1",
|
| 321 |
+
"vision_config": {
|
| 322 |
+
"attention_dropout": 0.0,
|
| 323 |
+
"hidden_act": "quick_gelu",
|
| 324 |
+
"hidden_size": 1024,
|
| 325 |
+
"image_size": 336,
|
| 326 |
+
"initializer_factor": 1.0,
|
| 327 |
+
"initializer_range": 0.02,
|
| 328 |
+
"intermediate_size": 4096,
|
| 329 |
+
"layer_norm_eps": 1e-05,
|
| 330 |
+
"model_type": "clip_vision_model",
|
| 331 |
+
"num_attention_heads": 16,
|
| 332 |
+
"num_channels": 3,
|
| 333 |
+
"num_hidden_layers": 24,
|
| 334 |
+
"patch_size": 14,
|
| 335 |
+
"projection_dim": 768,
|
| 336 |
+
"vocab_size": 32000
|
| 337 |
+
},
|
| 338 |
+
"vision_feature_layer": -2,
|
| 339 |
+
"vision_feature_select_strategy": "default",
|
| 340 |
+
"vocab_size": 32064
|
| 341 |
+
}
|
| 342 |
+
|
| 343 |
+
|
| 344 |
+
[INFO|2025-05-30 02:37:10] tokenization_utils_base.py:2356 >> chat template saved in saves/LLaVA-1.5-7B-Chat/lora/train_zh_1_fold_4_epochs/checkpoint-64/chat_template.jinja
|
| 345 |
+
|
| 346 |
+
[INFO|2025-05-30 02:37:10] tokenization_utils_base.py:2525 >> tokenizer config file saved in saves/LLaVA-1.5-7B-Chat/lora/train_zh_1_fold_4_epochs/checkpoint-64/tokenizer_config.json
|
| 347 |
+
|
| 348 |
+
[INFO|2025-05-30 02:37:10] tokenization_utils_base.py:2534 >> Special tokens file saved in saves/LLaVA-1.5-7B-Chat/lora/train_zh_1_fold_4_epochs/checkpoint-64/special_tokens_map.json
|
| 349 |
+
|
| 350 |
+
[INFO|2025-05-30 02:37:10] image_processing_base.py:260 >> Image processor saved in saves/LLaVA-1.5-7B-Chat/lora/train_zh_1_fold_4_epochs/checkpoint-64/preprocessor_config.json
|
| 351 |
+
|
| 352 |
+
[INFO|2025-05-30 02:37:10] tokenization_utils_base.py:2356 >> chat template saved in saves/LLaVA-1.5-7B-Chat/lora/train_zh_1_fold_4_epochs/checkpoint-64/chat_template.jinja
|
| 353 |
+
|
| 354 |
+
[INFO|2025-05-30 02:37:10] tokenization_utils_base.py:2525 >> tokenizer config file saved in saves/LLaVA-1.5-7B-Chat/lora/train_zh_1_fold_4_epochs/checkpoint-64/tokenizer_config.json
|
| 355 |
+
|
| 356 |
+
[INFO|2025-05-30 02:37:10] tokenization_utils_base.py:2534 >> Special tokens file saved in saves/LLaVA-1.5-7B-Chat/lora/train_zh_1_fold_4_epochs/checkpoint-64/special_tokens_map.json
|
| 357 |
+
|
| 358 |
+
[INFO|2025-05-30 02:37:10] processing_utils.py:674 >> chat template saved in saves/LLaVA-1.5-7B-Chat/lora/train_zh_1_fold_4_epochs/checkpoint-64/chat_template.jinja
|
| 359 |
+
|
| 360 |
+
[INFO|2025-05-30 02:37:11] processing_utils.py:709 >> processor saved in saves/LLaVA-1.5-7B-Chat/lora/train_zh_1_fold_4_epochs/checkpoint-64/processor_config.json
|
| 361 |
+
|
| 362 |
+
[INFO|2025-05-30 02:37:11] trainer.py:2676 >>
|
| 363 |
+
|
| 364 |
+
Training completed. Do not forget to share your model on huggingface.co/models =)
|
| 365 |
+
|
| 366 |
+
|
| 367 |
+
|
| 368 |
+
[INFO|2025-05-30 02:37:11] image_processing_base.py:260 >> Image processor saved in saves/LLaVA-1.5-7B-Chat/lora/train_zh_1_fold_4_epochs/preprocessor_config.json
|
| 369 |
+
|
| 370 |
+
[INFO|2025-05-30 02:37:11] tokenization_utils_base.py:2356 >> chat template saved in saves/LLaVA-1.5-7B-Chat/lora/train_zh_1_fold_4_epochs/chat_template.jinja
|
| 371 |
+
|
| 372 |
+
[INFO|2025-05-30 02:37:11] tokenization_utils_base.py:2525 >> tokenizer config file saved in saves/LLaVA-1.5-7B-Chat/lora/train_zh_1_fold_4_epochs/tokenizer_config.json
|
| 373 |
+
|
| 374 |
+
[INFO|2025-05-30 02:37:11] tokenization_utils_base.py:2534 >> Special tokens file saved in saves/LLaVA-1.5-7B-Chat/lora/train_zh_1_fold_4_epochs/special_tokens_map.json
|
| 375 |
+
|
| 376 |
+
[INFO|2025-05-30 02:37:11] processing_utils.py:674 >> chat template saved in saves/LLaVA-1.5-7B-Chat/lora/train_zh_1_fold_4_epochs/chat_template.jinja
|
| 377 |
+
|
| 378 |
+
[INFO|2025-05-30 02:37:11] processing_utils.py:709 >> processor saved in saves/LLaVA-1.5-7B-Chat/lora/train_zh_1_fold_4_epochs/processor_config.json
|
| 379 |
+
|
| 380 |
+
[INFO|2025-05-30 02:37:11] trainer.py:3993 >> Saving model checkpoint to saves/LLaVA-1.5-7B-Chat/lora/train_zh_1_fold_4_epochs
|
| 381 |
+
|
| 382 |
+
[INFO|2025-05-30 02:37:11] configuration_utils.py:698 >> loading configuration file config.json from cache at /home/tsinghuaair/.cache/huggingface/hub/models--llava-hf--llava-1.5-7b-hf/snapshots/6ceb2ed33cb8f107a781c431fe2e61574da69369/config.json
|
| 383 |
+
|
| 384 |
+
[INFO|2025-05-30 02:37:11] configuration_utils.py:770 >> Model config LlavaConfig {
|
| 385 |
+
"architectures": [
|
| 386 |
+
"LlavaForConditionalGeneration"
|
| 387 |
+
],
|
| 388 |
+
"ignore_index": -100,
|
| 389 |
+
"image_seq_length": 576,
|
| 390 |
+
"image_token_index": 32000,
|
| 391 |
+
"model_type": "llava",
|
| 392 |
+
"multimodal_projector_bias": true,
|
| 393 |
+
"pad_token_id": 32001,
|
| 394 |
+
"projector_hidden_act": "gelu",
|
| 395 |
+
"text_config": {
|
| 396 |
+
"_name_or_path": "lmsys/vicuna-7b-v1.5",
|
| 397 |
+
"architectures": [
|
| 398 |
+
"LlamaForCausalLM"
|
| 399 |
+
],
|
| 400 |
+
"attention_bias": false,
|
| 401 |
+
"attention_dropout": 0.0,
|
| 402 |
+
"head_dim": 128,
|
| 403 |
+
"hidden_act": "silu",
|
| 404 |
+
"hidden_size": 4096,
|
| 405 |
+
"initializer_range": 0.02,
|
| 406 |
+
"intermediate_size": 11008,
|
| 407 |
+
"max_position_embeddings": 4096,
|
| 408 |
+
"mlp_bias": false,
|
| 409 |
+
"model_type": "llama",
|
| 410 |
+
"num_attention_heads": 32,
|
| 411 |
+
"num_hidden_layers": 32,
|
| 412 |
+
"num_key_value_heads": 32,
|
| 413 |
+
"pretraining_tp": 1,
|
| 414 |
+
"rms_norm_eps": 1e-05,
|
| 415 |
+
"rope_scaling": null,
|
| 416 |
+
"rope_theta": 10000.0,
|
| 417 |
+
"torch_dtype": "float16",
|
| 418 |
+
"use_cache": true,
|
| 419 |
+
"vocab_size": 32064
|
| 420 |
+
},
|
| 421 |
+
"tie_word_embeddings": false,
|
| 422 |
+
"torch_dtype": "float16",
|
| 423 |
+
"transformers_version": "4.52.1",
|
| 424 |
+
"vision_config": {
|
| 425 |
+
"attention_dropout": 0.0,
|
| 426 |
+
"hidden_act": "quick_gelu",
|
| 427 |
+
"hidden_size": 1024,
|
| 428 |
+
"image_size": 336,
|
| 429 |
+
"initializer_factor": 1.0,
|
| 430 |
+
"initializer_range": 0.02,
|
| 431 |
+
"intermediate_size": 4096,
|
| 432 |
+
"layer_norm_eps": 1e-05,
|
| 433 |
+
"model_type": "clip_vision_model",
|
| 434 |
+
"num_attention_heads": 16,
|
| 435 |
+
"num_channels": 3,
|
| 436 |
+
"num_hidden_layers": 24,
|
| 437 |
+
"patch_size": 14,
|
| 438 |
+
"projection_dim": 768,
|
| 439 |
+
"vocab_size": 32000
|
| 440 |
+
},
|
| 441 |
+
"vision_feature_layer": -2,
|
| 442 |
+
"vision_feature_select_strategy": "default",
|
| 443 |
+
"vocab_size": 32064
|
| 444 |
+
}
|
| 445 |
+
|
| 446 |
+
|
| 447 |
+
[INFO|2025-05-30 02:37:12] tokenization_utils_base.py:2356 >> chat template saved in saves/LLaVA-1.5-7B-Chat/lora/train_zh_1_fold_4_epochs/chat_template.jinja
|
| 448 |
+
|
| 449 |
+
[INFO|2025-05-30 02:37:12] tokenization_utils_base.py:2525 >> tokenizer config file saved in saves/LLaVA-1.5-7B-Chat/lora/train_zh_1_fold_4_epochs/tokenizer_config.json
|
| 450 |
+
|
| 451 |
+
[INFO|2025-05-30 02:37:12] tokenization_utils_base.py:2534 >> Special tokens file saved in saves/LLaVA-1.5-7B-Chat/lora/train_zh_1_fold_4_epochs/special_tokens_map.json
|
| 452 |
+
|
| 453 |
+
[WARNING|2025-05-30 02:37:12] logging.py:148 >> No metric eval_loss to plot.
|
| 454 |
+
|
| 455 |
+
[WARNING|2025-05-30 02:37:12] logging.py:148 >> No metric eval_accuracy to plot.
|
| 456 |
+
|
| 457 |
+
[INFO|2025-05-30 02:37:12] modelcard.py:450 >> Dropping the following result as it does not have all the necessary fields:
|
| 458 |
+
{'task': {'name': 'Causal Language Modeling', 'type': 'text-generation'}}
|
| 459 |
+
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": {
|
| 3 |
+
"content": "<s>",
|
| 4 |
+
"lstrip": false,
|
| 5 |
+
"normalized": false,
|
| 6 |
+
"rstrip": false,
|
| 7 |
+
"single_word": false
|
| 8 |
+
},
|
| 9 |
+
"eos_token": {
|
| 10 |
+
"content": "</s>",
|
| 11 |
+
"lstrip": false,
|
| 12 |
+
"normalized": false,
|
| 13 |
+
"rstrip": false,
|
| 14 |
+
"single_word": false
|
| 15 |
+
},
|
| 16 |
+
"image_token": "<image>",
|
| 17 |
+
"pad_token": {
|
| 18 |
+
"content": "<pad>",
|
| 19 |
+
"lstrip": false,
|
| 20 |
+
"normalized": false,
|
| 21 |
+
"rstrip": false,
|
| 22 |
+
"single_word": false
|
| 23 |
+
},
|
| 24 |
+
"unk_token": {
|
| 25 |
+
"content": "<unk>",
|
| 26 |
+
"lstrip": false,
|
| 27 |
+
"normalized": false,
|
| 28 |
+
"rstrip": false,
|
| 29 |
+
"single_word": false
|
| 30 |
+
}
|
| 31 |
+
}
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
|
| 3 |
+
size 499723
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_bos_token": true,
|
| 3 |
+
"add_eos_token": false,
|
| 4 |
+
"add_prefix_space": null,
|
| 5 |
+
"added_tokens_decoder": {
|
| 6 |
+
"0": {
|
| 7 |
+
"content": "<unk>",
|
| 8 |
+
"lstrip": false,
|
| 9 |
+
"normalized": false,
|
| 10 |
+
"rstrip": false,
|
| 11 |
+
"single_word": false,
|
| 12 |
+
"special": true
|
| 13 |
+
},
|
| 14 |
+
"1": {
|
| 15 |
+
"content": "<s>",
|
| 16 |
+
"lstrip": false,
|
| 17 |
+
"normalized": false,
|
| 18 |
+
"rstrip": false,
|
| 19 |
+
"single_word": false,
|
| 20 |
+
"special": true
|
| 21 |
+
},
|
| 22 |
+
"2": {
|
| 23 |
+
"content": "</s>",
|
| 24 |
+
"lstrip": false,
|
| 25 |
+
"normalized": false,
|
| 26 |
+
"rstrip": false,
|
| 27 |
+
"single_word": false,
|
| 28 |
+
"special": true
|
| 29 |
+
},
|
| 30 |
+
"32000": {
|
| 31 |
+
"content": "<image>",
|
| 32 |
+
"lstrip": false,
|
| 33 |
+
"normalized": false,
|
| 34 |
+
"rstrip": false,
|
| 35 |
+
"single_word": false,
|
| 36 |
+
"special": true
|
| 37 |
+
},
|
| 38 |
+
"32001": {
|
| 39 |
+
"content": "<pad>",
|
| 40 |
+
"lstrip": false,
|
| 41 |
+
"normalized": false,
|
| 42 |
+
"rstrip": false,
|
| 43 |
+
"single_word": false,
|
| 44 |
+
"special": true
|
| 45 |
+
}
|
| 46 |
+
},
|
| 47 |
+
"bos_token": "<s>",
|
| 48 |
+
"clean_up_tokenization_spaces": false,
|
| 49 |
+
"eos_token": "</s>",
|
| 50 |
+
"extra_special_tokens": {
|
| 51 |
+
"image_token": "<image>"
|
| 52 |
+
},
|
| 53 |
+
"image_token": "<image>",
|
| 54 |
+
"legacy": false,
|
| 55 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 56 |
+
"pad_token": "<pad>",
|
| 57 |
+
"padding_side": "right",
|
| 58 |
+
"processor_class": "LlavaProcessor",
|
| 59 |
+
"sp_model_kwargs": {},
|
| 60 |
+
"split_special_tokens": false,
|
| 61 |
+
"tokenizer_class": "LlamaTokenizer",
|
| 62 |
+
"trust_remote_code": false,
|
| 63 |
+
"unk_token": "<unk>",
|
| 64 |
+
"use_default_system_prompt": false
|
| 65 |
+
}
|
train_results.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 4.0,
|
| 3 |
+
"num_input_tokens_seen": 1471136,
|
| 4 |
+
"total_flos": 6.135952763047117e+16,
|
| 5 |
+
"train_loss": 1.7421463951468468,
|
| 6 |
+
"train_runtime": 339.8451,
|
| 7 |
+
"train_samples_per_second": 5.756,
|
| 8 |
+
"train_steps_per_second": 0.188
|
| 9 |
+
}
|
trainer_log.jsonl
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"current_steps": 5, "total_steps": 64, "loss": 2.2304, "lr": 4.951963201008076e-05, "epoch": 0.3252032520325203, "percentage": 7.81, "elapsed_time": "0:00:27", "remaining_time": "0:05:23", "throughput": 4337.62, "total_tokens": 119024}
|
| 2 |
+
{"current_steps": 10, "total_steps": 64, "loss": 2.147, "lr": 4.759973232808609e-05, "epoch": 0.6504065040650406, "percentage": 15.62, "elapsed_time": "0:00:54", "remaining_time": "0:04:54", "throughput": 4382.44, "total_tokens": 238880}
|
| 3 |
+
{"current_steps": 15, "total_steps": 64, "loss": 1.9562, "lr": 4.4325261334068426e-05, "epoch": 0.975609756097561, "percentage": 23.44, "elapsed_time": "0:01:21", "remaining_time": "0:04:26", "throughput": 4393.16, "total_tokens": 358608}
|
| 4 |
+
{"current_steps": 20, "total_steps": 64, "loss": 1.5887, "lr": 3.9892482612310836e-05, "epoch": 1.2601626016260163, "percentage": 31.25, "elapsed_time": "0:01:45", "remaining_time": "0:03:52", "throughput": 4391.91, "total_tokens": 463568}
|
| 5 |
+
{"current_steps": 25, "total_steps": 64, "loss": 1.7952, "lr": 3.456708580912725e-05, "epoch": 1.5853658536585367, "percentage": 39.06, "elapsed_time": "0:02:12", "remaining_time": "0:03:27", "throughput": 4386.97, "total_tokens": 583360}
|
| 6 |
+
{"current_steps": 30, "total_steps": 64, "loss": 1.7717, "lr": 2.8668261861384045e-05, "epoch": 1.910569105691057, "percentage": 46.88, "elapsed_time": "0:02:40", "remaining_time": "0:03:01", "throughput": 4380.26, "total_tokens": 702656}
|
| 7 |
+
{"current_steps": 35, "total_steps": 64, "loss": 1.5037, "lr": 2.2549571491760986e-05, "epoch": 2.1951219512195124, "percentage": 54.69, "elapsed_time": "0:03:04", "remaining_time": "0:02:32", "throughput": 4378.09, "total_tokens": 807312}
|
| 8 |
+
{"current_steps": 40, "total_steps": 64, "loss": 1.7171, "lr": 1.65777536651945e-05, "epoch": 2.5203252032520327, "percentage": 62.5, "elapsed_time": "0:03:31", "remaining_time": "0:02:07", "throughput": 4374.05, "total_tokens": 926384}
|
| 9 |
+
{"current_steps": 45, "total_steps": 64, "loss": 1.6151, "lr": 1.1110744174509952e-05, "epoch": 2.845528455284553, "percentage": 70.31, "elapsed_time": "0:03:59", "remaining_time": "0:01:41", "throughput": 4369.62, "total_tokens": 1046896}
|
| 10 |
+
{"current_steps": 50, "total_steps": 64, "loss": 1.4855, "lr": 6.476221866126029e-06, "epoch": 3.130081300813008, "percentage": 78.12, "elapsed_time": "0:04:23", "remaining_time": "0:01:13", "throughput": 4366.67, "total_tokens": 1151200}
|
| 11 |
+
{"current_steps": 55, "total_steps": 64, "loss": 1.6717, "lr": 2.9519683912911266e-06, "epoch": 3.4552845528455283, "percentage": 85.94, "elapsed_time": "0:04:51", "remaining_time": "0:00:47", "throughput": 4365.99, "total_tokens": 1270640}
|
| 12 |
+
{"current_steps": 60, "total_steps": 64, "loss": 1.6515, "lr": 7.492186701364007e-07, "epoch": 3.7804878048780486, "percentage": 93.75, "elapsed_time": "0:05:18", "remaining_time": "0:00:21", "throughput": 4363.33, "total_tokens": 1390528}
|
| 13 |
+
{"current_steps": 64, "total_steps": 64, "epoch": 4.0, "percentage": 100.0, "elapsed_time": "0:05:38", "remaining_time": "0:00:00", "throughput": 4340.42, "total_tokens": 1471136}
|
trainer_state.json
ADDED
|
@@ -0,0 +1,164 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_global_step": null,
|
| 3 |
+
"best_metric": null,
|
| 4 |
+
"best_model_checkpoint": null,
|
| 5 |
+
"epoch": 4.0,
|
| 6 |
+
"eval_steps": 500,
|
| 7 |
+
"global_step": 64,
|
| 8 |
+
"is_hyper_param_search": false,
|
| 9 |
+
"is_local_process_zero": true,
|
| 10 |
+
"is_world_process_zero": true,
|
| 11 |
+
"log_history": [
|
| 12 |
+
{
|
| 13 |
+
"epoch": 0.3252032520325203,
|
| 14 |
+
"grad_norm": 1.3156858682632446,
|
| 15 |
+
"learning_rate": 4.951963201008076e-05,
|
| 16 |
+
"loss": 2.2304,
|
| 17 |
+
"num_input_tokens_seen": 119024,
|
| 18 |
+
"step": 5,
|
| 19 |
+
"train_runtime": 28.3475,
|
| 20 |
+
"train_tokens_per_second": 4198.75
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"epoch": 0.6504065040650406,
|
| 24 |
+
"grad_norm": 0.7530735731124878,
|
| 25 |
+
"learning_rate": 4.759973232808609e-05,
|
| 26 |
+
"loss": 2.147,
|
| 27 |
+
"num_input_tokens_seen": 238880,
|
| 28 |
+
"step": 10,
|
| 29 |
+
"train_runtime": 55.416,
|
| 30 |
+
"train_tokens_per_second": 4310.67
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"epoch": 0.975609756097561,
|
| 34 |
+
"grad_norm": 0.6344960927963257,
|
| 35 |
+
"learning_rate": 4.4325261334068426e-05,
|
| 36 |
+
"loss": 1.9562,
|
| 37 |
+
"num_input_tokens_seen": 358608,
|
| 38 |
+
"step": 15,
|
| 39 |
+
"train_runtime": 82.5363,
|
| 40 |
+
"train_tokens_per_second": 4344.849
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"epoch": 1.2601626016260163,
|
| 44 |
+
"grad_norm": 0.5793188214302063,
|
| 45 |
+
"learning_rate": 3.9892482612310836e-05,
|
| 46 |
+
"loss": 1.5887,
|
| 47 |
+
"num_input_tokens_seen": 463568,
|
| 48 |
+
"step": 20,
|
| 49 |
+
"train_runtime": 106.4581,
|
| 50 |
+
"train_tokens_per_second": 4354.466
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"epoch": 1.5853658536585367,
|
| 54 |
+
"grad_norm": 0.5236935615539551,
|
| 55 |
+
"learning_rate": 3.456708580912725e-05,
|
| 56 |
+
"loss": 1.7952,
|
| 57 |
+
"num_input_tokens_seen": 583360,
|
| 58 |
+
"step": 25,
|
| 59 |
+
"train_runtime": 133.8831,
|
| 60 |
+
"train_tokens_per_second": 4357.233
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"epoch": 1.910569105691057,
|
| 64 |
+
"grad_norm": 0.6524015665054321,
|
| 65 |
+
"learning_rate": 2.8668261861384045e-05,
|
| 66 |
+
"loss": 1.7717,
|
| 67 |
+
"num_input_tokens_seen": 702656,
|
| 68 |
+
"step": 30,
|
| 69 |
+
"train_runtime": 161.3217,
|
| 70 |
+
"train_tokens_per_second": 4355.62
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"epoch": 2.1951219512195124,
|
| 74 |
+
"grad_norm": 0.5044527053833008,
|
| 75 |
+
"learning_rate": 2.2549571491760986e-05,
|
| 76 |
+
"loss": 1.5037,
|
| 77 |
+
"num_input_tokens_seen": 807312,
|
| 78 |
+
"step": 35,
|
| 79 |
+
"train_runtime": 185.3057,
|
| 80 |
+
"train_tokens_per_second": 4356.649
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"epoch": 2.5203252032520327,
|
| 84 |
+
"grad_norm": 0.5686483979225159,
|
| 85 |
+
"learning_rate": 1.65777536651945e-05,
|
| 86 |
+
"loss": 1.7171,
|
| 87 |
+
"num_input_tokens_seen": 926384,
|
| 88 |
+
"step": 40,
|
| 89 |
+
"train_runtime": 212.6983,
|
| 90 |
+
"train_tokens_per_second": 4355.389
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"epoch": 2.845528455284553,
|
| 94 |
+
"grad_norm": 0.4782630205154419,
|
| 95 |
+
"learning_rate": 1.1110744174509952e-05,
|
| 96 |
+
"loss": 1.6151,
|
| 97 |
+
"num_input_tokens_seen": 1046896,
|
| 98 |
+
"step": 45,
|
| 99 |
+
"train_runtime": 240.4926,
|
| 100 |
+
"train_tokens_per_second": 4353.132
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"epoch": 3.130081300813008,
|
| 104 |
+
"grad_norm": 0.518913745880127,
|
| 105 |
+
"learning_rate": 6.476221866126029e-06,
|
| 106 |
+
"loss": 1.4855,
|
| 107 |
+
"num_input_tokens_seen": 1151200,
|
| 108 |
+
"step": 50,
|
| 109 |
+
"train_runtime": 264.5411,
|
| 110 |
+
"train_tokens_per_second": 4351.686
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"epoch": 3.4552845528455283,
|
| 114 |
+
"grad_norm": 0.5394554734230042,
|
| 115 |
+
"learning_rate": 2.9519683912911266e-06,
|
| 116 |
+
"loss": 1.6717,
|
| 117 |
+
"num_input_tokens_seen": 1270640,
|
| 118 |
+
"step": 55,
|
| 119 |
+
"train_runtime": 291.9391,
|
| 120 |
+
"train_tokens_per_second": 4352.414
|
| 121 |
+
},
|
| 122 |
+
{
|
| 123 |
+
"epoch": 3.7804878048780486,
|
| 124 |
+
"grad_norm": 0.7331702709197998,
|
| 125 |
+
"learning_rate": 7.492186701364007e-07,
|
| 126 |
+
"loss": 1.6515,
|
| 127 |
+
"num_input_tokens_seen": 1390528,
|
| 128 |
+
"step": 60,
|
| 129 |
+
"train_runtime": 319.5924,
|
| 130 |
+
"train_tokens_per_second": 4350.941
|
| 131 |
+
},
|
| 132 |
+
{
|
| 133 |
+
"epoch": 4.0,
|
| 134 |
+
"num_input_tokens_seen": 1471136,
|
| 135 |
+
"step": 64,
|
| 136 |
+
"total_flos": 6.135952763047117e+16,
|
| 137 |
+
"train_loss": 1.7421463951468468,
|
| 138 |
+
"train_runtime": 339.8451,
|
| 139 |
+
"train_samples_per_second": 5.756,
|
| 140 |
+
"train_steps_per_second": 0.188
|
| 141 |
+
}
|
| 142 |
+
],
|
| 143 |
+
"logging_steps": 5,
|
| 144 |
+
"max_steps": 64,
|
| 145 |
+
"num_input_tokens_seen": 1471136,
|
| 146 |
+
"num_train_epochs": 4,
|
| 147 |
+
"save_steps": 100,
|
| 148 |
+
"stateful_callbacks": {
|
| 149 |
+
"TrainerControl": {
|
| 150 |
+
"args": {
|
| 151 |
+
"should_epoch_stop": false,
|
| 152 |
+
"should_evaluate": false,
|
| 153 |
+
"should_log": false,
|
| 154 |
+
"should_save": true,
|
| 155 |
+
"should_training_stop": true
|
| 156 |
+
},
|
| 157 |
+
"attributes": {}
|
| 158 |
+
}
|
| 159 |
+
},
|
| 160 |
+
"total_flos": 6.135952763047117e+16,
|
| 161 |
+
"train_batch_size": 2,
|
| 162 |
+
"trial_name": null,
|
| 163 |
+
"trial_params": null
|
| 164 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4574205f9aa181199e18c06cfa93ed9296b0cd6271734ef844960a090a18653d
|
| 3 |
+
size 6161
|
training_args.yaml
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
bf16: true
|
| 2 |
+
cutoff_len: 2048
|
| 3 |
+
dataset: sticker_labels_kfolds_train_zh_1
|
| 4 |
+
dataset_dir: data
|
| 5 |
+
ddp_timeout: 180000000
|
| 6 |
+
do_train: true
|
| 7 |
+
enable_thinking: true
|
| 8 |
+
finetuning_type: lora
|
| 9 |
+
flash_attn: auto
|
| 10 |
+
freeze_multi_modal_projector: true
|
| 11 |
+
freeze_vision_tower: true
|
| 12 |
+
gradient_accumulation_steps: 8
|
| 13 |
+
image_max_pixels: 589824
|
| 14 |
+
image_min_pixels: 1024
|
| 15 |
+
include_num_input_tokens_seen: true
|
| 16 |
+
learning_rate: 5.0e-05
|
| 17 |
+
logging_steps: 5
|
| 18 |
+
lora_alpha: 16
|
| 19 |
+
lora_dropout: 0
|
| 20 |
+
lora_rank: 8
|
| 21 |
+
lora_target: all
|
| 22 |
+
lr_scheduler_type: cosine
|
| 23 |
+
max_grad_norm: 1.0
|
| 24 |
+
max_samples: 100000
|
| 25 |
+
model_name_or_path: llava-hf/llava-1.5-7b-hf
|
| 26 |
+
num_train_epochs: 4.0
|
| 27 |
+
optim: adamw_torch
|
| 28 |
+
output_dir: saves/LLaVA-1.5-7B-Chat/lora/train_zh_1_fold_4_epochs
|
| 29 |
+
packing: false
|
| 30 |
+
per_device_train_batch_size: 2
|
| 31 |
+
plot_loss: true
|
| 32 |
+
preprocessing_num_workers: 16
|
| 33 |
+
report_to: none
|
| 34 |
+
save_steps: 100
|
| 35 |
+
stage: sft
|
| 36 |
+
template: llava
|
| 37 |
+
trust_remote_code: true
|
| 38 |
+
video_max_pixels: 65536
|
| 39 |
+
video_min_pixels: 256
|
| 40 |
+
warmup_steps: 0
|
training_loss.png
ADDED
|