Upload folder using huggingface_hub
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +33 -0
- 100_lora_sft_ttt/README.md +74 -0
- 100_lora_sft_ttt/adapter_config.json +26 -0
- 100_lora_sft_ttt/adapter_model.safetensors +3 -0
- 100_lora_sft_ttt/added_tokens.json +16 -0
- 100_lora_sft_ttt/all_results.json +12 -0
- 100_lora_sft_ttt/eval_results.json +7 -0
- 100_lora_sft_ttt/merges.txt +0 -0
- 100_lora_sft_ttt/preprocessor_config.json +29 -0
- 100_lora_sft_ttt/special_tokens_map.json +31 -0
- 100_lora_sft_ttt/tokenizer.json +0 -0
- 100_lora_sft_ttt/tokenizer_config.json +144 -0
- 100_lora_sft_ttt/train_results.json +8 -0
- 100_lora_sft_ttt/trainer_log.jsonl +19 -0
- 100_lora_sft_ttt/trainer_state.json +177 -0
- 100_lora_sft_ttt/training_args.bin +3 -0
- 100_lora_sft_ttt/training_eval_loss.png +3 -0
- 100_lora_sft_ttt/training_loss.png +3 -0
- 100_lora_sft_ttt/vocab.json +0 -0
- 10_lora_sft_ttt/README.md +68 -0
- 10_lora_sft_ttt/adapter_config.json +26 -0
- 10_lora_sft_ttt/adapter_model.safetensors +3 -0
- 10_lora_sft_ttt/added_tokens.json +16 -0
- 10_lora_sft_ttt/all_results.json +12 -0
- 10_lora_sft_ttt/eval_results.json +7 -0
- 10_lora_sft_ttt/merges.txt +0 -0
- 10_lora_sft_ttt/preprocessor_config.json +29 -0
- 10_lora_sft_ttt/special_tokens_map.json +31 -0
- 10_lora_sft_ttt/tokenizer.json +0 -0
- 10_lora_sft_ttt/tokenizer_config.json +144 -0
- 10_lora_sft_ttt/train_results.json +8 -0
- 10_lora_sft_ttt/trainer_log.jsonl +7 -0
- 10_lora_sft_ttt/trainer_state.json +87 -0
- 10_lora_sft_ttt/training_args.bin +3 -0
- 10_lora_sft_ttt/training_eval_loss.png +3 -0
- 10_lora_sft_ttt/training_loss.png +3 -0
- 10_lora_sft_ttt/vocab.json +0 -0
- 11_lora_sft_ttt/README.md +68 -0
- 11_lora_sft_ttt/adapter_config.json +26 -0
- 11_lora_sft_ttt/adapter_model.safetensors +3 -0
- 11_lora_sft_ttt/added_tokens.json +16 -0
- 11_lora_sft_ttt/all_results.json +12 -0
- 11_lora_sft_ttt/eval_results.json +7 -0
- 11_lora_sft_ttt/merges.txt +0 -0
- 11_lora_sft_ttt/preprocessor_config.json +29 -0
- 11_lora_sft_ttt/special_tokens_map.json +31 -0
- 11_lora_sft_ttt/tokenizer.json +0 -0
- 11_lora_sft_ttt/tokenizer_config.json +144 -0
- 11_lora_sft_ttt/train_results.json +8 -0
- 11_lora_sft_ttt/trainer_log.jsonl +7 -0
.gitattributes
CHANGED
|
@@ -57,3 +57,36 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 57 |
# Video files - compressed
|
| 58 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 59 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 57 |
# Video files - compressed
|
| 58 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 59 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
17_lora_sft_ttt/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
18_lora_sft_ttt/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
19_lora_sft_ttt/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 63 |
+
20_lora_sft_ttt/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 64 |
+
21_lora_sft_ttt/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 65 |
+
22_lora_sft_ttt/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 66 |
+
23_lora_sft_ttt/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 67 |
+
24_lora_sft_ttt/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 68 |
+
25_lora_sft_ttt/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 69 |
+
26_lora_sft_ttt/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 70 |
+
27_lora_sft_ttt/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 71 |
+
28_lora_sft_ttt/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 72 |
+
29_lora_sft_ttt/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 73 |
+
30_lora_sft_ttt/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 74 |
+
31_lora_sft_ttt/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 75 |
+
32_lora_sft_ttt/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 76 |
+
33_lora_sft_ttt/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 77 |
+
34_lora_sft_ttt/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 78 |
+
35_lora_sft_ttt/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 79 |
+
36_lora_sft_ttt/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 80 |
+
37_lora_sft_ttt/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 81 |
+
38_lora_sft_ttt/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 82 |
+
39_lora_sft_ttt/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 83 |
+
40_lora_sft_ttt/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 84 |
+
41_lora_sft_ttt/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 85 |
+
42_lora_sft_ttt/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 86 |
+
43_lora_sft_ttt/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 87 |
+
44_lora_sft_ttt/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 88 |
+
45_lora_sft_ttt/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 89 |
+
46_lora_sft_ttt/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 90 |
+
47_lora_sft_ttt/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 91 |
+
48_lora_sft_ttt/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 92 |
+
49_lora_sft_ttt/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
100_lora_sft_ttt/README.md
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: peft
|
| 3 |
+
license: other
|
| 4 |
+
base_model: /home/kh844/icml/LLaMA-Factory/models/qwen2_vl_lora_sft_v1/
|
| 5 |
+
tags:
|
| 6 |
+
- llama-factory
|
| 7 |
+
- lora
|
| 8 |
+
- generated_from_trainer
|
| 9 |
+
model-index:
|
| 10 |
+
- name: 100_lora_sft_ttt
|
| 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 |
+
# 100_lora_sft_ttt
|
| 18 |
+
|
| 19 |
+
This model is a fine-tuned version of [/home/kh844/icml/LLaMA-Factory/models/qwen2_vl_lora_sft_v1/](https://huggingface.co//home/kh844/icml/LLaMA-Factory/models/qwen2_vl_lora_sft_v1/) on the bongard_ttt dataset.
|
| 20 |
+
It achieves the following results on the evaluation set:
|
| 21 |
+
- Loss: 0.0001
|
| 22 |
+
|
| 23 |
+
## Model description
|
| 24 |
+
|
| 25 |
+
More information needed
|
| 26 |
+
|
| 27 |
+
## Intended uses & limitations
|
| 28 |
+
|
| 29 |
+
More information needed
|
| 30 |
+
|
| 31 |
+
## Training and evaluation data
|
| 32 |
+
|
| 33 |
+
More information needed
|
| 34 |
+
|
| 35 |
+
## Training procedure
|
| 36 |
+
|
| 37 |
+
### Training hyperparameters
|
| 38 |
+
|
| 39 |
+
The following hyperparameters were used during training:
|
| 40 |
+
- learning_rate: 0.0001
|
| 41 |
+
- train_batch_size: 1
|
| 42 |
+
- eval_batch_size: 1
|
| 43 |
+
- seed: 42
|
| 44 |
+
- distributed_type: multi-GPU
|
| 45 |
+
- num_devices: 4
|
| 46 |
+
- total_train_batch_size: 4
|
| 47 |
+
- total_eval_batch_size: 4
|
| 48 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 49 |
+
- lr_scheduler_type: cosine
|
| 50 |
+
- lr_scheduler_warmup_ratio: 0.1
|
| 51 |
+
- num_epochs: 2.0
|
| 52 |
+
|
| 53 |
+
### Training results
|
| 54 |
+
|
| 55 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
| 56 |
+
|:-------------:|:------:|:----:|:---------------:|
|
| 57 |
+
| 0.0798 | 0.2137 | 100 | 0.0591 |
|
| 58 |
+
| 0.0566 | 0.4274 | 200 | 0.0586 |
|
| 59 |
+
| 0.0444 | 0.6410 | 300 | 0.0120 |
|
| 60 |
+
| 0.0235 | 0.8547 | 400 | 0.0065 |
|
| 61 |
+
| 0.0066 | 1.0684 | 500 | 0.0003 |
|
| 62 |
+
| 0.0021 | 1.2821 | 600 | 0.0002 |
|
| 63 |
+
| 0.0005 | 1.4957 | 700 | 0.0001 |
|
| 64 |
+
| 0.0008 | 1.7094 | 800 | 0.0001 |
|
| 65 |
+
| 0.0021 | 1.9231 | 900 | 0.0001 |
|
| 66 |
+
|
| 67 |
+
|
| 68 |
+
### Framework versions
|
| 69 |
+
|
| 70 |
+
- PEFT 0.12.0
|
| 71 |
+
- Transformers 4.45.0.dev0
|
| 72 |
+
- Pytorch 2.5.1+cu124
|
| 73 |
+
- Datasets 3.1.0
|
| 74 |
+
- Tokenizers 0.19.1
|
100_lora_sft_ttt/adapter_config.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "/home/kh844/icml/LLaMA-Factory/models/qwen2_vl_lora_sft_v1/",
|
| 5 |
+
"bias": "none",
|
| 6 |
+
"fan_in_fan_out": false,
|
| 7 |
+
"inference_mode": true,
|
| 8 |
+
"init_lora_weights": true,
|
| 9 |
+
"layer_replication": null,
|
| 10 |
+
"layers_pattern": null,
|
| 11 |
+
"layers_to_transform": null,
|
| 12 |
+
"loftq_config": {},
|
| 13 |
+
"lora_alpha": 64,
|
| 14 |
+
"lora_dropout": 0.0,
|
| 15 |
+
"megatron_config": null,
|
| 16 |
+
"megatron_core": "megatron.core",
|
| 17 |
+
"modules_to_save": null,
|
| 18 |
+
"peft_type": "LORA",
|
| 19 |
+
"r": 64,
|
| 20 |
+
"rank_pattern": {},
|
| 21 |
+
"revision": null,
|
| 22 |
+
"target_modules": "^(?!.*visual.patch_embed|visual.blocks).*(?:up_proj|v_proj|q_proj|k_proj|gate_proj|down_proj|o_proj).*",
|
| 23 |
+
"task_type": "CAUSAL_LM",
|
| 24 |
+
"use_dora": false,
|
| 25 |
+
"use_rslora": false
|
| 26 |
+
}
|
100_lora_sft_ttt/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:659eb55884e992e8bad276baeec369e4f6d8cc735a8f8fe95c9d727357295c32
|
| 3 |
+
size 147770888
|
100_lora_sft_ttt/added_tokens.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"<|box_end|>": 151649,
|
| 3 |
+
"<|box_start|>": 151648,
|
| 4 |
+
"<|endoftext|>": 151643,
|
| 5 |
+
"<|im_end|>": 151645,
|
| 6 |
+
"<|im_start|>": 151644,
|
| 7 |
+
"<|image_pad|>": 151655,
|
| 8 |
+
"<|object_ref_end|>": 151647,
|
| 9 |
+
"<|object_ref_start|>": 151646,
|
| 10 |
+
"<|quad_end|>": 151651,
|
| 11 |
+
"<|quad_start|>": 151650,
|
| 12 |
+
"<|video_pad|>": 151656,
|
| 13 |
+
"<|vision_end|>": 151653,
|
| 14 |
+
"<|vision_pad|>": 151654,
|
| 15 |
+
"<|vision_start|>": 151652
|
| 16 |
+
}
|
100_lora_sft_ttt/all_results.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 2.0,
|
| 3 |
+
"eval_loss": 7.351845124503598e-05,
|
| 4 |
+
"eval_runtime": 17.1828,
|
| 5 |
+
"eval_samples_per_second": 1.106,
|
| 6 |
+
"eval_steps_per_second": 0.291,
|
| 7 |
+
"total_flos": 34102773284864.0,
|
| 8 |
+
"train_loss": 0.02313395333948991,
|
| 9 |
+
"train_runtime": 4154.1424,
|
| 10 |
+
"train_samples_per_second": 0.901,
|
| 11 |
+
"train_steps_per_second": 0.225
|
| 12 |
+
}
|
100_lora_sft_ttt/eval_results.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 2.0,
|
| 3 |
+
"eval_loss": 7.351845124503598e-05,
|
| 4 |
+
"eval_runtime": 17.1828,
|
| 5 |
+
"eval_samples_per_second": 1.106,
|
| 6 |
+
"eval_steps_per_second": 0.291
|
| 7 |
+
}
|
100_lora_sft_ttt/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
100_lora_sft_ttt/preprocessor_config.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"do_convert_rgb": true,
|
| 3 |
+
"do_normalize": true,
|
| 4 |
+
"do_rescale": true,
|
| 5 |
+
"do_resize": true,
|
| 6 |
+
"image_mean": [
|
| 7 |
+
0.48145466,
|
| 8 |
+
0.4578275,
|
| 9 |
+
0.40821073
|
| 10 |
+
],
|
| 11 |
+
"image_processor_type": "Qwen2VLImageProcessor",
|
| 12 |
+
"image_std": [
|
| 13 |
+
0.26862954,
|
| 14 |
+
0.26130258,
|
| 15 |
+
0.27577711
|
| 16 |
+
],
|
| 17 |
+
"max_pixels": 12845056,
|
| 18 |
+
"merge_size": 2,
|
| 19 |
+
"min_pixels": 3136,
|
| 20 |
+
"patch_size": 14,
|
| 21 |
+
"processor_class": "Qwen2VLProcessor",
|
| 22 |
+
"resample": 3,
|
| 23 |
+
"rescale_factor": 0.00392156862745098,
|
| 24 |
+
"size": {
|
| 25 |
+
"max_pixels": 12845056,
|
| 26 |
+
"min_pixels": 3136
|
| 27 |
+
},
|
| 28 |
+
"temporal_patch_size": 2
|
| 29 |
+
}
|
100_lora_sft_ttt/special_tokens_map.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": [
|
| 3 |
+
"<|im_start|>",
|
| 4 |
+
"<|im_end|>",
|
| 5 |
+
"<|object_ref_start|>",
|
| 6 |
+
"<|object_ref_end|>",
|
| 7 |
+
"<|box_start|>",
|
| 8 |
+
"<|box_end|>",
|
| 9 |
+
"<|quad_start|>",
|
| 10 |
+
"<|quad_end|>",
|
| 11 |
+
"<|vision_start|>",
|
| 12 |
+
"<|vision_end|>",
|
| 13 |
+
"<|vision_pad|>",
|
| 14 |
+
"<|image_pad|>",
|
| 15 |
+
"<|video_pad|>"
|
| 16 |
+
],
|
| 17 |
+
"eos_token": {
|
| 18 |
+
"content": "<|im_end|>",
|
| 19 |
+
"lstrip": false,
|
| 20 |
+
"normalized": false,
|
| 21 |
+
"rstrip": false,
|
| 22 |
+
"single_word": false
|
| 23 |
+
},
|
| 24 |
+
"pad_token": {
|
| 25 |
+
"content": "<|endoftext|>",
|
| 26 |
+
"lstrip": false,
|
| 27 |
+
"normalized": false,
|
| 28 |
+
"rstrip": false,
|
| 29 |
+
"single_word": false
|
| 30 |
+
}
|
| 31 |
+
}
|
100_lora_sft_ttt/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
100_lora_sft_ttt/tokenizer_config.json
ADDED
|
@@ -0,0 +1,144 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"added_tokens_decoder": {
|
| 4 |
+
"151643": {
|
| 5 |
+
"content": "<|endoftext|>",
|
| 6 |
+
"lstrip": false,
|
| 7 |
+
"normalized": false,
|
| 8 |
+
"rstrip": false,
|
| 9 |
+
"single_word": false,
|
| 10 |
+
"special": true
|
| 11 |
+
},
|
| 12 |
+
"151644": {
|
| 13 |
+
"content": "<|im_start|>",
|
| 14 |
+
"lstrip": false,
|
| 15 |
+
"normalized": false,
|
| 16 |
+
"rstrip": false,
|
| 17 |
+
"single_word": false,
|
| 18 |
+
"special": true
|
| 19 |
+
},
|
| 20 |
+
"151645": {
|
| 21 |
+
"content": "<|im_end|>",
|
| 22 |
+
"lstrip": false,
|
| 23 |
+
"normalized": false,
|
| 24 |
+
"rstrip": false,
|
| 25 |
+
"single_word": false,
|
| 26 |
+
"special": true
|
| 27 |
+
},
|
| 28 |
+
"151646": {
|
| 29 |
+
"content": "<|object_ref_start|>",
|
| 30 |
+
"lstrip": false,
|
| 31 |
+
"normalized": false,
|
| 32 |
+
"rstrip": false,
|
| 33 |
+
"single_word": false,
|
| 34 |
+
"special": true
|
| 35 |
+
},
|
| 36 |
+
"151647": {
|
| 37 |
+
"content": "<|object_ref_end|>",
|
| 38 |
+
"lstrip": false,
|
| 39 |
+
"normalized": false,
|
| 40 |
+
"rstrip": false,
|
| 41 |
+
"single_word": false,
|
| 42 |
+
"special": true
|
| 43 |
+
},
|
| 44 |
+
"151648": {
|
| 45 |
+
"content": "<|box_start|>",
|
| 46 |
+
"lstrip": false,
|
| 47 |
+
"normalized": false,
|
| 48 |
+
"rstrip": false,
|
| 49 |
+
"single_word": false,
|
| 50 |
+
"special": true
|
| 51 |
+
},
|
| 52 |
+
"151649": {
|
| 53 |
+
"content": "<|box_end|>",
|
| 54 |
+
"lstrip": false,
|
| 55 |
+
"normalized": false,
|
| 56 |
+
"rstrip": false,
|
| 57 |
+
"single_word": false,
|
| 58 |
+
"special": true
|
| 59 |
+
},
|
| 60 |
+
"151650": {
|
| 61 |
+
"content": "<|quad_start|>",
|
| 62 |
+
"lstrip": false,
|
| 63 |
+
"normalized": false,
|
| 64 |
+
"rstrip": false,
|
| 65 |
+
"single_word": false,
|
| 66 |
+
"special": true
|
| 67 |
+
},
|
| 68 |
+
"151651": {
|
| 69 |
+
"content": "<|quad_end|>",
|
| 70 |
+
"lstrip": false,
|
| 71 |
+
"normalized": false,
|
| 72 |
+
"rstrip": false,
|
| 73 |
+
"single_word": false,
|
| 74 |
+
"special": true
|
| 75 |
+
},
|
| 76 |
+
"151652": {
|
| 77 |
+
"content": "<|vision_start|>",
|
| 78 |
+
"lstrip": false,
|
| 79 |
+
"normalized": false,
|
| 80 |
+
"rstrip": false,
|
| 81 |
+
"single_word": false,
|
| 82 |
+
"special": true
|
| 83 |
+
},
|
| 84 |
+
"151653": {
|
| 85 |
+
"content": "<|vision_end|>",
|
| 86 |
+
"lstrip": false,
|
| 87 |
+
"normalized": false,
|
| 88 |
+
"rstrip": false,
|
| 89 |
+
"single_word": false,
|
| 90 |
+
"special": true
|
| 91 |
+
},
|
| 92 |
+
"151654": {
|
| 93 |
+
"content": "<|vision_pad|>",
|
| 94 |
+
"lstrip": false,
|
| 95 |
+
"normalized": false,
|
| 96 |
+
"rstrip": false,
|
| 97 |
+
"single_word": false,
|
| 98 |
+
"special": true
|
| 99 |
+
},
|
| 100 |
+
"151655": {
|
| 101 |
+
"content": "<|image_pad|>",
|
| 102 |
+
"lstrip": false,
|
| 103 |
+
"normalized": false,
|
| 104 |
+
"rstrip": false,
|
| 105 |
+
"single_word": false,
|
| 106 |
+
"special": true
|
| 107 |
+
},
|
| 108 |
+
"151656": {
|
| 109 |
+
"content": "<|video_pad|>",
|
| 110 |
+
"lstrip": false,
|
| 111 |
+
"normalized": false,
|
| 112 |
+
"rstrip": false,
|
| 113 |
+
"single_word": false,
|
| 114 |
+
"special": true
|
| 115 |
+
}
|
| 116 |
+
},
|
| 117 |
+
"additional_special_tokens": [
|
| 118 |
+
"<|im_start|>",
|
| 119 |
+
"<|im_end|>",
|
| 120 |
+
"<|object_ref_start|>",
|
| 121 |
+
"<|object_ref_end|>",
|
| 122 |
+
"<|box_start|>",
|
| 123 |
+
"<|box_end|>",
|
| 124 |
+
"<|quad_start|>",
|
| 125 |
+
"<|quad_end|>",
|
| 126 |
+
"<|vision_start|>",
|
| 127 |
+
"<|vision_end|>",
|
| 128 |
+
"<|vision_pad|>",
|
| 129 |
+
"<|image_pad|>",
|
| 130 |
+
"<|video_pad|>"
|
| 131 |
+
],
|
| 132 |
+
"bos_token": null,
|
| 133 |
+
"chat_template": "{% set image_count = namespace(value=0) %}{% set video_count = namespace(value=0) %}{% for message in messages %}{% if loop.first and message['role'] != 'system' %}<|im_start|>system\nYou are a helpful assistant.<|im_end|>\n{% endif %}<|im_start|>{{ message['role'] }}\n{% if message['content'] is string %}{{ message['content'] }}<|im_end|>\n{% else %}{% for content in message['content'] %}{% if content['type'] == 'image' or 'image' in content or 'image_url' in content %}{% set image_count.value = image_count.value + 1 %}{% if add_vision_id %}Picture {{ image_count.value }}: {% endif %}<|vision_start|><|image_pad|><|vision_end|>{% elif content['type'] == 'video' or 'video' in content %}{% set video_count.value = video_count.value + 1 %}{% if add_vision_id %}Video {{ video_count.value }}: {% endif %}<|vision_start|><|video_pad|><|vision_end|>{% elif 'text' in content %}{{ content['text'] }}{% endif %}{% endfor %}<|im_end|>\n{% endif %}{% endfor %}{% if add_generation_prompt %}<|im_start|>assistant\n{% endif %}",
|
| 134 |
+
"clean_up_tokenization_spaces": false,
|
| 135 |
+
"eos_token": "<|im_end|>",
|
| 136 |
+
"errors": "replace",
|
| 137 |
+
"model_max_length": 32768,
|
| 138 |
+
"pad_token": "<|endoftext|>",
|
| 139 |
+
"padding_side": "right",
|
| 140 |
+
"processor_class": "Qwen2VLProcessor",
|
| 141 |
+
"split_special_tokens": false,
|
| 142 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 143 |
+
"unk_token": null
|
| 144 |
+
}
|
100_lora_sft_ttt/train_results.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 2.0,
|
| 3 |
+
"total_flos": 34102773284864.0,
|
| 4 |
+
"train_loss": 0.02313395333948991,
|
| 5 |
+
"train_runtime": 4154.1424,
|
| 6 |
+
"train_samples_per_second": 0.901,
|
| 7 |
+
"train_steps_per_second": 0.225
|
| 8 |
+
}
|
100_lora_sft_ttt/trainer_log.jsonl
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"current_steps": 100, "total_steps": 936, "loss": 0.0798, "lr": 9.998747147528374e-05, "epoch": 0.21367521367521367, "percentage": 10.68, "elapsed_time": "0:07:24", "remaining_time": "1:01:56"}
|
| 2 |
+
{"current_steps": 100, "total_steps": 936, "eval_loss": 0.05914049223065376, "epoch": 0.21367521367521367, "percentage": 10.68, "elapsed_time": "0:07:46", "remaining_time": "1:05:01"}
|
| 3 |
+
{"current_steps": 200, "total_steps": 936, "loss": 0.0566, "lr": 9.614025209023084e-05, "epoch": 0.42735042735042733, "percentage": 21.37, "elapsed_time": "0:14:47", "remaining_time": "0:54:24"}
|
| 4 |
+
{"current_steps": 200, "total_steps": 936, "eval_loss": 0.058623503893613815, "epoch": 0.42735042735042733, "percentage": 21.37, "elapsed_time": "0:15:04", "remaining_time": "0:55:27"}
|
| 5 |
+
{"current_steps": 300, "total_steps": 936, "loss": 0.0444, "lr": 8.594394348255238e-05, "epoch": 0.6410256410256411, "percentage": 32.05, "elapsed_time": "0:22:06", "remaining_time": "0:46:51"}
|
| 6 |
+
{"current_steps": 300, "total_steps": 936, "eval_loss": 0.011989740654826164, "epoch": 0.6410256410256411, "percentage": 32.05, "elapsed_time": "0:22:23", "remaining_time": "0:47:28"}
|
| 7 |
+
{"current_steps": 400, "total_steps": 936, "loss": 0.0235, "lr": 7.080159982206471e-05, "epoch": 0.8547008547008547, "percentage": 42.74, "elapsed_time": "0:29:29", "remaining_time": "0:39:31"}
|
| 8 |
+
{"current_steps": 400, "total_steps": 936, "eval_loss": 0.006506655365228653, "epoch": 0.8547008547008547, "percentage": 42.74, "elapsed_time": "0:29:46", "remaining_time": "0:39:54"}
|
| 9 |
+
{"current_steps": 500, "total_steps": 936, "loss": 0.0066, "lr": 5.279687012637799e-05, "epoch": 1.0683760683760684, "percentage": 53.42, "elapsed_time": "0:36:52", "remaining_time": "0:32:09"}
|
| 10 |
+
{"current_steps": 500, "total_steps": 936, "eval_loss": 0.00026314370916225016, "epoch": 1.0683760683760684, "percentage": 53.42, "elapsed_time": "0:37:09", "remaining_time": "0:32:24"}
|
| 11 |
+
{"current_steps": 600, "total_steps": 936, "loss": 0.0021, "lr": 3.4407279551696846e-05, "epoch": 1.282051282051282, "percentage": 64.1, "elapsed_time": "0:44:12", "remaining_time": "0:24:45"}
|
| 12 |
+
{"current_steps": 600, "total_steps": 936, "eval_loss": 0.00022907418315298855, "epoch": 1.282051282051282, "percentage": 64.1, "elapsed_time": "0:44:30", "remaining_time": "0:24:55"}
|
| 13 |
+
{"current_steps": 700, "total_steps": 936, "loss": 0.0005, "lr": 1.8163311700448898e-05, "epoch": 1.4957264957264957, "percentage": 74.79, "elapsed_time": "0:51:35", "remaining_time": "0:17:23"}
|
| 14 |
+
{"current_steps": 700, "total_steps": 936, "eval_loss": 9.96691087493673e-05, "epoch": 1.4957264957264957, "percentage": 74.79, "elapsed_time": "0:51:52", "remaining_time": "0:17:29"}
|
| 15 |
+
{"current_steps": 800, "total_steps": 936, "loss": 0.0008, "lr": 6.300203628022272e-06, "epoch": 1.7094017094017095, "percentage": 85.47, "elapsed_time": "0:58:58", "remaining_time": "0:10:01"}
|
| 16 |
+
{"current_steps": 800, "total_steps": 936, "eval_loss": 6.905790360178798e-05, "epoch": 1.7094017094017095, "percentage": 85.47, "elapsed_time": "0:59:15", "remaining_time": "0:10:04"}
|
| 17 |
+
{"current_steps": 900, "total_steps": 936, "loss": 0.0021, "lr": 4.5036799358910697e-07, "epoch": 1.9230769230769231, "percentage": 96.15, "elapsed_time": "1:06:21", "remaining_time": "0:02:39"}
|
| 18 |
+
{"current_steps": 900, "total_steps": 936, "eval_loss": 7.419099711114541e-05, "epoch": 1.9230769230769231, "percentage": 96.15, "elapsed_time": "1:06:38", "remaining_time": "0:02:39"}
|
| 19 |
+
{"current_steps": 936, "total_steps": 936, "epoch": 2.0, "percentage": 100.0, "elapsed_time": "1:09:13", "remaining_time": "0:00:00"}
|
100_lora_sft_ttt/trainer_state.json
ADDED
|
@@ -0,0 +1,177 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_metric": null,
|
| 3 |
+
"best_model_checkpoint": null,
|
| 4 |
+
"epoch": 2.0,
|
| 5 |
+
"eval_steps": 100,
|
| 6 |
+
"global_step": 936,
|
| 7 |
+
"is_hyper_param_search": false,
|
| 8 |
+
"is_local_process_zero": true,
|
| 9 |
+
"is_world_process_zero": true,
|
| 10 |
+
"log_history": [
|
| 11 |
+
{
|
| 12 |
+
"epoch": 0.21367521367521367,
|
| 13 |
+
"grad_norm": 0.13362472032354034,
|
| 14 |
+
"learning_rate": 9.998747147528374e-05,
|
| 15 |
+
"loss": 0.0798,
|
| 16 |
+
"step": 100
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"epoch": 0.21367521367521367,
|
| 20 |
+
"eval_loss": 0.05914049223065376,
|
| 21 |
+
"eval_runtime": 22.1821,
|
| 22 |
+
"eval_samples_per_second": 0.857,
|
| 23 |
+
"eval_steps_per_second": 0.225,
|
| 24 |
+
"step": 100
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"epoch": 0.42735042735042733,
|
| 28 |
+
"grad_norm": 0.5855884517843695,
|
| 29 |
+
"learning_rate": 9.614025209023084e-05,
|
| 30 |
+
"loss": 0.0566,
|
| 31 |
+
"step": 200
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"epoch": 0.42735042735042733,
|
| 35 |
+
"eval_loss": 0.058623503893613815,
|
| 36 |
+
"eval_runtime": 17.0992,
|
| 37 |
+
"eval_samples_per_second": 1.111,
|
| 38 |
+
"eval_steps_per_second": 0.292,
|
| 39 |
+
"step": 200
|
| 40 |
+
},
|
| 41 |
+
{
|
| 42 |
+
"epoch": 0.6410256410256411,
|
| 43 |
+
"grad_norm": 0.2980642878698098,
|
| 44 |
+
"learning_rate": 8.594394348255238e-05,
|
| 45 |
+
"loss": 0.0444,
|
| 46 |
+
"step": 300
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"epoch": 0.6410256410256411,
|
| 50 |
+
"eval_loss": 0.011989740654826164,
|
| 51 |
+
"eval_runtime": 17.2205,
|
| 52 |
+
"eval_samples_per_second": 1.103,
|
| 53 |
+
"eval_steps_per_second": 0.29,
|
| 54 |
+
"step": 300
|
| 55 |
+
},
|
| 56 |
+
{
|
| 57 |
+
"epoch": 0.8547008547008547,
|
| 58 |
+
"grad_norm": 0.15631837239845456,
|
| 59 |
+
"learning_rate": 7.080159982206471e-05,
|
| 60 |
+
"loss": 0.0235,
|
| 61 |
+
"step": 400
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"epoch": 0.8547008547008547,
|
| 65 |
+
"eval_loss": 0.006506655365228653,
|
| 66 |
+
"eval_runtime": 17.0799,
|
| 67 |
+
"eval_samples_per_second": 1.112,
|
| 68 |
+
"eval_steps_per_second": 0.293,
|
| 69 |
+
"step": 400
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"epoch": 1.0683760683760684,
|
| 73 |
+
"grad_norm": 0.0026226211310534132,
|
| 74 |
+
"learning_rate": 5.279687012637799e-05,
|
| 75 |
+
"loss": 0.0066,
|
| 76 |
+
"step": 500
|
| 77 |
+
},
|
| 78 |
+
{
|
| 79 |
+
"epoch": 1.0683760683760684,
|
| 80 |
+
"eval_loss": 0.00026314370916225016,
|
| 81 |
+
"eval_runtime": 17.0923,
|
| 82 |
+
"eval_samples_per_second": 1.112,
|
| 83 |
+
"eval_steps_per_second": 0.293,
|
| 84 |
+
"step": 500
|
| 85 |
+
},
|
| 86 |
+
{
|
| 87 |
+
"epoch": 1.282051282051282,
|
| 88 |
+
"grad_norm": 0.0006464192921040726,
|
| 89 |
+
"learning_rate": 3.4407279551696846e-05,
|
| 90 |
+
"loss": 0.0021,
|
| 91 |
+
"step": 600
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"epoch": 1.282051282051282,
|
| 95 |
+
"eval_loss": 0.00022907418315298855,
|
| 96 |
+
"eval_runtime": 17.2201,
|
| 97 |
+
"eval_samples_per_second": 1.103,
|
| 98 |
+
"eval_steps_per_second": 0.29,
|
| 99 |
+
"step": 600
|
| 100 |
+
},
|
| 101 |
+
{
|
| 102 |
+
"epoch": 1.4957264957264957,
|
| 103 |
+
"grad_norm": 0.3605781591352982,
|
| 104 |
+
"learning_rate": 1.8163311700448898e-05,
|
| 105 |
+
"loss": 0.0005,
|
| 106 |
+
"step": 700
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"epoch": 1.4957264957264957,
|
| 110 |
+
"eval_loss": 9.96691087493673e-05,
|
| 111 |
+
"eval_runtime": 17.1121,
|
| 112 |
+
"eval_samples_per_second": 1.11,
|
| 113 |
+
"eval_steps_per_second": 0.292,
|
| 114 |
+
"step": 700
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
"epoch": 1.7094017094017095,
|
| 118 |
+
"grad_norm": 0.0007160112841758006,
|
| 119 |
+
"learning_rate": 6.300203628022272e-06,
|
| 120 |
+
"loss": 0.0008,
|
| 121 |
+
"step": 800
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"epoch": 1.7094017094017095,
|
| 125 |
+
"eval_loss": 6.905790360178798e-05,
|
| 126 |
+
"eval_runtime": 17.0966,
|
| 127 |
+
"eval_samples_per_second": 1.111,
|
| 128 |
+
"eval_steps_per_second": 0.292,
|
| 129 |
+
"step": 800
|
| 130 |
+
},
|
| 131 |
+
{
|
| 132 |
+
"epoch": 1.9230769230769231,
|
| 133 |
+
"grad_norm": 0.0009131187233137881,
|
| 134 |
+
"learning_rate": 4.5036799358910697e-07,
|
| 135 |
+
"loss": 0.0021,
|
| 136 |
+
"step": 900
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"epoch": 1.9230769230769231,
|
| 140 |
+
"eval_loss": 7.419099711114541e-05,
|
| 141 |
+
"eval_runtime": 17.1017,
|
| 142 |
+
"eval_samples_per_second": 1.111,
|
| 143 |
+
"eval_steps_per_second": 0.292,
|
| 144 |
+
"step": 900
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"epoch": 2.0,
|
| 148 |
+
"step": 936,
|
| 149 |
+
"total_flos": 34102773284864.0,
|
| 150 |
+
"train_loss": 0.02313395333948991,
|
| 151 |
+
"train_runtime": 4154.1424,
|
| 152 |
+
"train_samples_per_second": 0.901,
|
| 153 |
+
"train_steps_per_second": 0.225
|
| 154 |
+
}
|
| 155 |
+
],
|
| 156 |
+
"logging_steps": 100,
|
| 157 |
+
"max_steps": 936,
|
| 158 |
+
"num_input_tokens_seen": 0,
|
| 159 |
+
"num_train_epochs": 2,
|
| 160 |
+
"save_steps": 1500,
|
| 161 |
+
"stateful_callbacks": {
|
| 162 |
+
"TrainerControl": {
|
| 163 |
+
"args": {
|
| 164 |
+
"should_epoch_stop": false,
|
| 165 |
+
"should_evaluate": false,
|
| 166 |
+
"should_log": false,
|
| 167 |
+
"should_save": true,
|
| 168 |
+
"should_training_stop": true
|
| 169 |
+
},
|
| 170 |
+
"attributes": {}
|
| 171 |
+
}
|
| 172 |
+
},
|
| 173 |
+
"total_flos": 34102773284864.0,
|
| 174 |
+
"train_batch_size": 1,
|
| 175 |
+
"trial_name": null,
|
| 176 |
+
"trial_params": null
|
| 177 |
+
}
|
100_lora_sft_ttt/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:572a7a3a906125e6efb9c23c8b3040f69eba08bbb847d605fe362b6bc638e0f4
|
| 3 |
+
size 7352
|
100_lora_sft_ttt/training_eval_loss.png
ADDED
|
Git LFS Details
|
100_lora_sft_ttt/training_loss.png
ADDED
|
Git LFS Details
|
100_lora_sft_ttt/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
10_lora_sft_ttt/README.md
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: peft
|
| 3 |
+
license: other
|
| 4 |
+
base_model: /home/kh844/icml/LLaMA-Factory/models/qwen2_vl_lora_sft_v1/
|
| 5 |
+
tags:
|
| 6 |
+
- llama-factory
|
| 7 |
+
- lora
|
| 8 |
+
- generated_from_trainer
|
| 9 |
+
model-index:
|
| 10 |
+
- name: 10_lora_sft_ttt
|
| 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 |
+
# 10_lora_sft_ttt
|
| 18 |
+
|
| 19 |
+
This model is a fine-tuned version of [/home/kh844/icml/LLaMA-Factory/models/qwen2_vl_lora_sft_v1/](https://huggingface.co//home/kh844/icml/LLaMA-Factory/models/qwen2_vl_lora_sft_v1/) on the bongard_ttt dataset.
|
| 20 |
+
It achieves the following results on the evaluation set:
|
| 21 |
+
- Loss: 0.0004
|
| 22 |
+
|
| 23 |
+
## Model description
|
| 24 |
+
|
| 25 |
+
More information needed
|
| 26 |
+
|
| 27 |
+
## Intended uses & limitations
|
| 28 |
+
|
| 29 |
+
More information needed
|
| 30 |
+
|
| 31 |
+
## Training and evaluation data
|
| 32 |
+
|
| 33 |
+
More information needed
|
| 34 |
+
|
| 35 |
+
## Training procedure
|
| 36 |
+
|
| 37 |
+
### Training hyperparameters
|
| 38 |
+
|
| 39 |
+
The following hyperparameters were used during training:
|
| 40 |
+
- learning_rate: 0.0001
|
| 41 |
+
- train_batch_size: 1
|
| 42 |
+
- eval_batch_size: 1
|
| 43 |
+
- seed: 42
|
| 44 |
+
- distributed_type: multi-GPU
|
| 45 |
+
- num_devices: 4
|
| 46 |
+
- total_train_batch_size: 4
|
| 47 |
+
- total_eval_batch_size: 4
|
| 48 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 49 |
+
- lr_scheduler_type: cosine
|
| 50 |
+
- lr_scheduler_warmup_ratio: 0.1
|
| 51 |
+
- num_epochs: 2.0
|
| 52 |
+
|
| 53 |
+
### Training results
|
| 54 |
+
|
| 55 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
| 56 |
+
|:-------------:|:------:|:----:|:---------------:|
|
| 57 |
+
| 0.0456 | 0.6410 | 100 | 0.0040 |
|
| 58 |
+
| 0.0076 | 1.2821 | 200 | 0.0007 |
|
| 59 |
+
| 0.0003 | 1.9231 | 300 | 0.0004 |
|
| 60 |
+
|
| 61 |
+
|
| 62 |
+
### Framework versions
|
| 63 |
+
|
| 64 |
+
- PEFT 0.12.0
|
| 65 |
+
- Transformers 4.45.0.dev0
|
| 66 |
+
- Pytorch 2.5.1+cu124
|
| 67 |
+
- Datasets 3.1.0
|
| 68 |
+
- Tokenizers 0.19.1
|
10_lora_sft_ttt/adapter_config.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "/home/kh844/icml/LLaMA-Factory/models/qwen2_vl_lora_sft_v1/",
|
| 5 |
+
"bias": "none",
|
| 6 |
+
"fan_in_fan_out": false,
|
| 7 |
+
"inference_mode": true,
|
| 8 |
+
"init_lora_weights": true,
|
| 9 |
+
"layer_replication": null,
|
| 10 |
+
"layers_pattern": null,
|
| 11 |
+
"layers_to_transform": null,
|
| 12 |
+
"loftq_config": {},
|
| 13 |
+
"lora_alpha": 64,
|
| 14 |
+
"lora_dropout": 0.0,
|
| 15 |
+
"megatron_config": null,
|
| 16 |
+
"megatron_core": "megatron.core",
|
| 17 |
+
"modules_to_save": null,
|
| 18 |
+
"peft_type": "LORA",
|
| 19 |
+
"r": 64,
|
| 20 |
+
"rank_pattern": {},
|
| 21 |
+
"revision": null,
|
| 22 |
+
"target_modules": "^(?!.*visual.patch_embed|visual.blocks).*(?:gate_proj|q_proj|down_proj|v_proj|o_proj|up_proj|k_proj).*",
|
| 23 |
+
"task_type": "CAUSAL_LM",
|
| 24 |
+
"use_dora": false,
|
| 25 |
+
"use_rslora": false
|
| 26 |
+
}
|
10_lora_sft_ttt/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c2416ea89271cf77a1c7f4bb4b492f1f33df81470234aae1f2d14cf226ec2d7c
|
| 3 |
+
size 147770888
|
10_lora_sft_ttt/added_tokens.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"<|box_end|>": 151649,
|
| 3 |
+
"<|box_start|>": 151648,
|
| 4 |
+
"<|endoftext|>": 151643,
|
| 5 |
+
"<|im_end|>": 151645,
|
| 6 |
+
"<|im_start|>": 151644,
|
| 7 |
+
"<|image_pad|>": 151655,
|
| 8 |
+
"<|object_ref_end|>": 151647,
|
| 9 |
+
"<|object_ref_start|>": 151646,
|
| 10 |
+
"<|quad_end|>": 151651,
|
| 11 |
+
"<|quad_start|>": 151650,
|
| 12 |
+
"<|video_pad|>": 151656,
|
| 13 |
+
"<|vision_end|>": 151653,
|
| 14 |
+
"<|vision_pad|>": 151654,
|
| 15 |
+
"<|vision_start|>": 151652
|
| 16 |
+
}
|
10_lora_sft_ttt/all_results.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 2.0,
|
| 3 |
+
"eval_loss": 0.0003799094120040536,
|
| 4 |
+
"eval_runtime": 11.0452,
|
| 5 |
+
"eval_samples_per_second": 0.634,
|
| 6 |
+
"eval_steps_per_second": 0.181,
|
| 7 |
+
"total_flos": 11399228555264.0,
|
| 8 |
+
"train_loss": 0.017151810213899575,
|
| 9 |
+
"train_runtime": 3811.5722,
|
| 10 |
+
"train_samples_per_second": 0.327,
|
| 11 |
+
"train_steps_per_second": 0.082
|
| 12 |
+
}
|
10_lora_sft_ttt/eval_results.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 2.0,
|
| 3 |
+
"eval_loss": 0.0003799094120040536,
|
| 4 |
+
"eval_runtime": 11.0452,
|
| 5 |
+
"eval_samples_per_second": 0.634,
|
| 6 |
+
"eval_steps_per_second": 0.181
|
| 7 |
+
}
|
10_lora_sft_ttt/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
10_lora_sft_ttt/preprocessor_config.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"do_convert_rgb": true,
|
| 3 |
+
"do_normalize": true,
|
| 4 |
+
"do_rescale": true,
|
| 5 |
+
"do_resize": true,
|
| 6 |
+
"image_mean": [
|
| 7 |
+
0.48145466,
|
| 8 |
+
0.4578275,
|
| 9 |
+
0.40821073
|
| 10 |
+
],
|
| 11 |
+
"image_processor_type": "Qwen2VLImageProcessor",
|
| 12 |
+
"image_std": [
|
| 13 |
+
0.26862954,
|
| 14 |
+
0.26130258,
|
| 15 |
+
0.27577711
|
| 16 |
+
],
|
| 17 |
+
"max_pixels": 12845056,
|
| 18 |
+
"merge_size": 2,
|
| 19 |
+
"min_pixels": 3136,
|
| 20 |
+
"patch_size": 14,
|
| 21 |
+
"processor_class": "Qwen2VLProcessor",
|
| 22 |
+
"resample": 3,
|
| 23 |
+
"rescale_factor": 0.00392156862745098,
|
| 24 |
+
"size": {
|
| 25 |
+
"max_pixels": 12845056,
|
| 26 |
+
"min_pixels": 3136
|
| 27 |
+
},
|
| 28 |
+
"temporal_patch_size": 2
|
| 29 |
+
}
|
10_lora_sft_ttt/special_tokens_map.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": [
|
| 3 |
+
"<|im_start|>",
|
| 4 |
+
"<|im_end|>",
|
| 5 |
+
"<|object_ref_start|>",
|
| 6 |
+
"<|object_ref_end|>",
|
| 7 |
+
"<|box_start|>",
|
| 8 |
+
"<|box_end|>",
|
| 9 |
+
"<|quad_start|>",
|
| 10 |
+
"<|quad_end|>",
|
| 11 |
+
"<|vision_start|>",
|
| 12 |
+
"<|vision_end|>",
|
| 13 |
+
"<|vision_pad|>",
|
| 14 |
+
"<|image_pad|>",
|
| 15 |
+
"<|video_pad|>"
|
| 16 |
+
],
|
| 17 |
+
"eos_token": {
|
| 18 |
+
"content": "<|im_end|>",
|
| 19 |
+
"lstrip": false,
|
| 20 |
+
"normalized": false,
|
| 21 |
+
"rstrip": false,
|
| 22 |
+
"single_word": false
|
| 23 |
+
},
|
| 24 |
+
"pad_token": {
|
| 25 |
+
"content": "<|endoftext|>",
|
| 26 |
+
"lstrip": false,
|
| 27 |
+
"normalized": false,
|
| 28 |
+
"rstrip": false,
|
| 29 |
+
"single_word": false
|
| 30 |
+
}
|
| 31 |
+
}
|
10_lora_sft_ttt/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
10_lora_sft_ttt/tokenizer_config.json
ADDED
|
@@ -0,0 +1,144 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"added_tokens_decoder": {
|
| 4 |
+
"151643": {
|
| 5 |
+
"content": "<|endoftext|>",
|
| 6 |
+
"lstrip": false,
|
| 7 |
+
"normalized": false,
|
| 8 |
+
"rstrip": false,
|
| 9 |
+
"single_word": false,
|
| 10 |
+
"special": true
|
| 11 |
+
},
|
| 12 |
+
"151644": {
|
| 13 |
+
"content": "<|im_start|>",
|
| 14 |
+
"lstrip": false,
|
| 15 |
+
"normalized": false,
|
| 16 |
+
"rstrip": false,
|
| 17 |
+
"single_word": false,
|
| 18 |
+
"special": true
|
| 19 |
+
},
|
| 20 |
+
"151645": {
|
| 21 |
+
"content": "<|im_end|>",
|
| 22 |
+
"lstrip": false,
|
| 23 |
+
"normalized": false,
|
| 24 |
+
"rstrip": false,
|
| 25 |
+
"single_word": false,
|
| 26 |
+
"special": true
|
| 27 |
+
},
|
| 28 |
+
"151646": {
|
| 29 |
+
"content": "<|object_ref_start|>",
|
| 30 |
+
"lstrip": false,
|
| 31 |
+
"normalized": false,
|
| 32 |
+
"rstrip": false,
|
| 33 |
+
"single_word": false,
|
| 34 |
+
"special": true
|
| 35 |
+
},
|
| 36 |
+
"151647": {
|
| 37 |
+
"content": "<|object_ref_end|>",
|
| 38 |
+
"lstrip": false,
|
| 39 |
+
"normalized": false,
|
| 40 |
+
"rstrip": false,
|
| 41 |
+
"single_word": false,
|
| 42 |
+
"special": true
|
| 43 |
+
},
|
| 44 |
+
"151648": {
|
| 45 |
+
"content": "<|box_start|>",
|
| 46 |
+
"lstrip": false,
|
| 47 |
+
"normalized": false,
|
| 48 |
+
"rstrip": false,
|
| 49 |
+
"single_word": false,
|
| 50 |
+
"special": true
|
| 51 |
+
},
|
| 52 |
+
"151649": {
|
| 53 |
+
"content": "<|box_end|>",
|
| 54 |
+
"lstrip": false,
|
| 55 |
+
"normalized": false,
|
| 56 |
+
"rstrip": false,
|
| 57 |
+
"single_word": false,
|
| 58 |
+
"special": true
|
| 59 |
+
},
|
| 60 |
+
"151650": {
|
| 61 |
+
"content": "<|quad_start|>",
|
| 62 |
+
"lstrip": false,
|
| 63 |
+
"normalized": false,
|
| 64 |
+
"rstrip": false,
|
| 65 |
+
"single_word": false,
|
| 66 |
+
"special": true
|
| 67 |
+
},
|
| 68 |
+
"151651": {
|
| 69 |
+
"content": "<|quad_end|>",
|
| 70 |
+
"lstrip": false,
|
| 71 |
+
"normalized": false,
|
| 72 |
+
"rstrip": false,
|
| 73 |
+
"single_word": false,
|
| 74 |
+
"special": true
|
| 75 |
+
},
|
| 76 |
+
"151652": {
|
| 77 |
+
"content": "<|vision_start|>",
|
| 78 |
+
"lstrip": false,
|
| 79 |
+
"normalized": false,
|
| 80 |
+
"rstrip": false,
|
| 81 |
+
"single_word": false,
|
| 82 |
+
"special": true
|
| 83 |
+
},
|
| 84 |
+
"151653": {
|
| 85 |
+
"content": "<|vision_end|>",
|
| 86 |
+
"lstrip": false,
|
| 87 |
+
"normalized": false,
|
| 88 |
+
"rstrip": false,
|
| 89 |
+
"single_word": false,
|
| 90 |
+
"special": true
|
| 91 |
+
},
|
| 92 |
+
"151654": {
|
| 93 |
+
"content": "<|vision_pad|>",
|
| 94 |
+
"lstrip": false,
|
| 95 |
+
"normalized": false,
|
| 96 |
+
"rstrip": false,
|
| 97 |
+
"single_word": false,
|
| 98 |
+
"special": true
|
| 99 |
+
},
|
| 100 |
+
"151655": {
|
| 101 |
+
"content": "<|image_pad|>",
|
| 102 |
+
"lstrip": false,
|
| 103 |
+
"normalized": false,
|
| 104 |
+
"rstrip": false,
|
| 105 |
+
"single_word": false,
|
| 106 |
+
"special": true
|
| 107 |
+
},
|
| 108 |
+
"151656": {
|
| 109 |
+
"content": "<|video_pad|>",
|
| 110 |
+
"lstrip": false,
|
| 111 |
+
"normalized": false,
|
| 112 |
+
"rstrip": false,
|
| 113 |
+
"single_word": false,
|
| 114 |
+
"special": true
|
| 115 |
+
}
|
| 116 |
+
},
|
| 117 |
+
"additional_special_tokens": [
|
| 118 |
+
"<|im_start|>",
|
| 119 |
+
"<|im_end|>",
|
| 120 |
+
"<|object_ref_start|>",
|
| 121 |
+
"<|object_ref_end|>",
|
| 122 |
+
"<|box_start|>",
|
| 123 |
+
"<|box_end|>",
|
| 124 |
+
"<|quad_start|>",
|
| 125 |
+
"<|quad_end|>",
|
| 126 |
+
"<|vision_start|>",
|
| 127 |
+
"<|vision_end|>",
|
| 128 |
+
"<|vision_pad|>",
|
| 129 |
+
"<|image_pad|>",
|
| 130 |
+
"<|video_pad|>"
|
| 131 |
+
],
|
| 132 |
+
"bos_token": null,
|
| 133 |
+
"chat_template": "{% set image_count = namespace(value=0) %}{% set video_count = namespace(value=0) %}{% for message in messages %}{% if loop.first and message['role'] != 'system' %}<|im_start|>system\nYou are a helpful assistant.<|im_end|>\n{% endif %}<|im_start|>{{ message['role'] }}\n{% if message['content'] is string %}{{ message['content'] }}<|im_end|>\n{% else %}{% for content in message['content'] %}{% if content['type'] == 'image' or 'image' in content or 'image_url' in content %}{% set image_count.value = image_count.value + 1 %}{% if add_vision_id %}Picture {{ image_count.value }}: {% endif %}<|vision_start|><|image_pad|><|vision_end|>{% elif content['type'] == 'video' or 'video' in content %}{% set video_count.value = video_count.value + 1 %}{% if add_vision_id %}Video {{ video_count.value }}: {% endif %}<|vision_start|><|video_pad|><|vision_end|>{% elif 'text' in content %}{{ content['text'] }}{% endif %}{% endfor %}<|im_end|>\n{% endif %}{% endfor %}{% if add_generation_prompt %}<|im_start|>assistant\n{% endif %}",
|
| 134 |
+
"clean_up_tokenization_spaces": false,
|
| 135 |
+
"eos_token": "<|im_end|>",
|
| 136 |
+
"errors": "replace",
|
| 137 |
+
"model_max_length": 32768,
|
| 138 |
+
"pad_token": "<|endoftext|>",
|
| 139 |
+
"padding_side": "right",
|
| 140 |
+
"processor_class": "Qwen2VLProcessor",
|
| 141 |
+
"split_special_tokens": false,
|
| 142 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 143 |
+
"unk_token": null
|
| 144 |
+
}
|
10_lora_sft_ttt/train_results.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 2.0,
|
| 3 |
+
"total_flos": 11399228555264.0,
|
| 4 |
+
"train_loss": 0.017151810213899575,
|
| 5 |
+
"train_runtime": 3811.5722,
|
| 6 |
+
"train_samples_per_second": 0.327,
|
| 7 |
+
"train_steps_per_second": 0.082
|
| 8 |
+
}
|
10_lora_sft_ttt/trainer_log.jsonl
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"current_steps": 100, "total_steps": 312, "loss": 0.0456, "lr": 8.613974319136958e-05, "epoch": 0.6410256410256411, "percentage": 32.05, "elapsed_time": "0:24:18", "remaining_time": "0:51:31"}
|
| 2 |
+
{"current_steps": 100, "total_steps": 312, "eval_loss": 0.004042092710733414, "epoch": 0.6410256410256411, "percentage": 32.05, "elapsed_time": "0:24:41", "remaining_time": "0:52:20"}
|
| 3 |
+
{"current_steps": 200, "total_steps": 312, "loss": 0.0076, "lr": 3.4549150281252636e-05, "epoch": 1.282051282051282, "percentage": 64.1, "elapsed_time": "0:42:26", "remaining_time": "0:23:45"}
|
| 4 |
+
{"current_steps": 200, "total_steps": 312, "eval_loss": 0.0006544874631799757, "epoch": 1.282051282051282, "percentage": 64.1, "elapsed_time": "0:42:44", "remaining_time": "0:23:56"}
|
| 5 |
+
{"current_steps": 300, "total_steps": 312, "loss": 0.0003, "lr": 4.52511911603265e-07, "epoch": 1.9230769230769231, "percentage": 96.15, "elapsed_time": "1:01:07", "remaining_time": "0:02:26"}
|
| 6 |
+
{"current_steps": 300, "total_steps": 312, "eval_loss": 0.00038461596705019474, "epoch": 1.9230769230769231, "percentage": 96.15, "elapsed_time": "1:01:28", "remaining_time": "0:02:27"}
|
| 7 |
+
{"current_steps": 312, "total_steps": 312, "epoch": 2.0, "percentage": 100.0, "elapsed_time": "1:03:30", "remaining_time": "0:00:00"}
|
10_lora_sft_ttt/trainer_state.json
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_metric": null,
|
| 3 |
+
"best_model_checkpoint": null,
|
| 4 |
+
"epoch": 2.0,
|
| 5 |
+
"eval_steps": 100,
|
| 6 |
+
"global_step": 312,
|
| 7 |
+
"is_hyper_param_search": false,
|
| 8 |
+
"is_local_process_zero": true,
|
| 9 |
+
"is_world_process_zero": true,
|
| 10 |
+
"log_history": [
|
| 11 |
+
{
|
| 12 |
+
"epoch": 0.6410256410256411,
|
| 13 |
+
"grad_norm": 0.5753826484194268,
|
| 14 |
+
"learning_rate": 8.613974319136958e-05,
|
| 15 |
+
"loss": 0.0456,
|
| 16 |
+
"step": 100
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"epoch": 0.6410256410256411,
|
| 20 |
+
"eval_loss": 0.004042092710733414,
|
| 21 |
+
"eval_runtime": 23.234,
|
| 22 |
+
"eval_samples_per_second": 0.301,
|
| 23 |
+
"eval_steps_per_second": 0.086,
|
| 24 |
+
"step": 100
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"epoch": 1.282051282051282,
|
| 28 |
+
"grad_norm": 1.7751791918185151,
|
| 29 |
+
"learning_rate": 3.4549150281252636e-05,
|
| 30 |
+
"loss": 0.0076,
|
| 31 |
+
"step": 200
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"epoch": 1.282051282051282,
|
| 35 |
+
"eval_loss": 0.0006544874631799757,
|
| 36 |
+
"eval_runtime": 18.0146,
|
| 37 |
+
"eval_samples_per_second": 0.389,
|
| 38 |
+
"eval_steps_per_second": 0.111,
|
| 39 |
+
"step": 200
|
| 40 |
+
},
|
| 41 |
+
{
|
| 42 |
+
"epoch": 1.9230769230769231,
|
| 43 |
+
"grad_norm": 0.00147995503102493,
|
| 44 |
+
"learning_rate": 4.52511911603265e-07,
|
| 45 |
+
"loss": 0.0003,
|
| 46 |
+
"step": 300
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"epoch": 1.9230769230769231,
|
| 50 |
+
"eval_loss": 0.00038461596705019474,
|
| 51 |
+
"eval_runtime": 21.005,
|
| 52 |
+
"eval_samples_per_second": 0.333,
|
| 53 |
+
"eval_steps_per_second": 0.095,
|
| 54 |
+
"step": 300
|
| 55 |
+
},
|
| 56 |
+
{
|
| 57 |
+
"epoch": 2.0,
|
| 58 |
+
"step": 312,
|
| 59 |
+
"total_flos": 11399228555264.0,
|
| 60 |
+
"train_loss": 0.017151810213899575,
|
| 61 |
+
"train_runtime": 3811.5722,
|
| 62 |
+
"train_samples_per_second": 0.327,
|
| 63 |
+
"train_steps_per_second": 0.082
|
| 64 |
+
}
|
| 65 |
+
],
|
| 66 |
+
"logging_steps": 100,
|
| 67 |
+
"max_steps": 312,
|
| 68 |
+
"num_input_tokens_seen": 0,
|
| 69 |
+
"num_train_epochs": 2,
|
| 70 |
+
"save_steps": 1500,
|
| 71 |
+
"stateful_callbacks": {
|
| 72 |
+
"TrainerControl": {
|
| 73 |
+
"args": {
|
| 74 |
+
"should_epoch_stop": false,
|
| 75 |
+
"should_evaluate": false,
|
| 76 |
+
"should_log": false,
|
| 77 |
+
"should_save": true,
|
| 78 |
+
"should_training_stop": true
|
| 79 |
+
},
|
| 80 |
+
"attributes": {}
|
| 81 |
+
}
|
| 82 |
+
},
|
| 83 |
+
"total_flos": 11399228555264.0,
|
| 84 |
+
"train_batch_size": 1,
|
| 85 |
+
"trial_name": null,
|
| 86 |
+
"trial_params": null
|
| 87 |
+
}
|
10_lora_sft_ttt/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:68405e2a28bc2350be4fde1bcd4aa1dabc39c88fb67acf6571c4b35ed572b937
|
| 3 |
+
size 7352
|
10_lora_sft_ttt/training_eval_loss.png
ADDED
|
Git LFS Details
|
10_lora_sft_ttt/training_loss.png
ADDED
|
Git LFS Details
|
10_lora_sft_ttt/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
11_lora_sft_ttt/README.md
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: peft
|
| 3 |
+
license: other
|
| 4 |
+
base_model: /home/kh844/icml/LLaMA-Factory/models/qwen2_vl_lora_sft_v1/
|
| 5 |
+
tags:
|
| 6 |
+
- llama-factory
|
| 7 |
+
- lora
|
| 8 |
+
- generated_from_trainer
|
| 9 |
+
model-index:
|
| 10 |
+
- name: 11_lora_sft_ttt
|
| 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 |
+
# 11_lora_sft_ttt
|
| 18 |
+
|
| 19 |
+
This model is a fine-tuned version of [/home/kh844/icml/LLaMA-Factory/models/qwen2_vl_lora_sft_v1/](https://huggingface.co//home/kh844/icml/LLaMA-Factory/models/qwen2_vl_lora_sft_v1/) on the bongard_ttt dataset.
|
| 20 |
+
It achieves the following results on the evaluation set:
|
| 21 |
+
- Loss: 0.0001
|
| 22 |
+
|
| 23 |
+
## Model description
|
| 24 |
+
|
| 25 |
+
More information needed
|
| 26 |
+
|
| 27 |
+
## Intended uses & limitations
|
| 28 |
+
|
| 29 |
+
More information needed
|
| 30 |
+
|
| 31 |
+
## Training and evaluation data
|
| 32 |
+
|
| 33 |
+
More information needed
|
| 34 |
+
|
| 35 |
+
## Training procedure
|
| 36 |
+
|
| 37 |
+
### Training hyperparameters
|
| 38 |
+
|
| 39 |
+
The following hyperparameters were used during training:
|
| 40 |
+
- learning_rate: 0.0001
|
| 41 |
+
- train_batch_size: 1
|
| 42 |
+
- eval_batch_size: 1
|
| 43 |
+
- seed: 42
|
| 44 |
+
- distributed_type: multi-GPU
|
| 45 |
+
- num_devices: 4
|
| 46 |
+
- total_train_batch_size: 4
|
| 47 |
+
- total_eval_batch_size: 4
|
| 48 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 49 |
+
- lr_scheduler_type: cosine
|
| 50 |
+
- lr_scheduler_warmup_ratio: 0.1
|
| 51 |
+
- num_epochs: 2.0
|
| 52 |
+
|
| 53 |
+
### Training results
|
| 54 |
+
|
| 55 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
| 56 |
+
|:-------------:|:------:|:----:|:---------------:|
|
| 57 |
+
| 0.0471 | 0.5848 | 100 | 0.0021 |
|
| 58 |
+
| 0.0135 | 1.1696 | 200 | 0.0002 |
|
| 59 |
+
| 0.0011 | 1.7544 | 300 | 0.0001 |
|
| 60 |
+
|
| 61 |
+
|
| 62 |
+
### Framework versions
|
| 63 |
+
|
| 64 |
+
- PEFT 0.12.0
|
| 65 |
+
- Transformers 4.45.0.dev0
|
| 66 |
+
- Pytorch 2.5.1+cu124
|
| 67 |
+
- Datasets 3.1.0
|
| 68 |
+
- Tokenizers 0.19.1
|
11_lora_sft_ttt/adapter_config.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alpha_pattern": {},
|
| 3 |
+
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "/home/kh844/icml/LLaMA-Factory/models/qwen2_vl_lora_sft_v1/",
|
| 5 |
+
"bias": "none",
|
| 6 |
+
"fan_in_fan_out": false,
|
| 7 |
+
"inference_mode": true,
|
| 8 |
+
"init_lora_weights": true,
|
| 9 |
+
"layer_replication": null,
|
| 10 |
+
"layers_pattern": null,
|
| 11 |
+
"layers_to_transform": null,
|
| 12 |
+
"loftq_config": {},
|
| 13 |
+
"lora_alpha": 64,
|
| 14 |
+
"lora_dropout": 0.0,
|
| 15 |
+
"megatron_config": null,
|
| 16 |
+
"megatron_core": "megatron.core",
|
| 17 |
+
"modules_to_save": null,
|
| 18 |
+
"peft_type": "LORA",
|
| 19 |
+
"r": 64,
|
| 20 |
+
"rank_pattern": {},
|
| 21 |
+
"revision": null,
|
| 22 |
+
"target_modules": "^(?!.*visual.patch_embed|visual.blocks).*(?:gate_proj|up_proj|k_proj|q_proj|v_proj|down_proj|o_proj).*",
|
| 23 |
+
"task_type": "CAUSAL_LM",
|
| 24 |
+
"use_dora": false,
|
| 25 |
+
"use_rslora": false
|
| 26 |
+
}
|
11_lora_sft_ttt/adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:be58ae24a83ba0af38cfd2a6d062fc2a09b32965cb67db90e479f8a5f6215692
|
| 3 |
+
size 147770888
|
11_lora_sft_ttt/added_tokens.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"<|box_end|>": 151649,
|
| 3 |
+
"<|box_start|>": 151648,
|
| 4 |
+
"<|endoftext|>": 151643,
|
| 5 |
+
"<|im_end|>": 151645,
|
| 6 |
+
"<|im_start|>": 151644,
|
| 7 |
+
"<|image_pad|>": 151655,
|
| 8 |
+
"<|object_ref_end|>": 151647,
|
| 9 |
+
"<|object_ref_start|>": 151646,
|
| 10 |
+
"<|quad_end|>": 151651,
|
| 11 |
+
"<|quad_start|>": 151650,
|
| 12 |
+
"<|video_pad|>": 151656,
|
| 13 |
+
"<|vision_end|>": 151653,
|
| 14 |
+
"<|vision_pad|>": 151654,
|
| 15 |
+
"<|vision_start|>": 151652
|
| 16 |
+
}
|
11_lora_sft_ttt/all_results.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 2.0,
|
| 3 |
+
"eval_loss": 9.797404345590621e-05,
|
| 4 |
+
"eval_runtime": 15.6859,
|
| 5 |
+
"eval_samples_per_second": 0.446,
|
| 6 |
+
"eval_steps_per_second": 0.128,
|
| 7 |
+
"total_flos": 12490745577472.0,
|
| 8 |
+
"train_loss": 0.018072671783891946,
|
| 9 |
+
"train_runtime": 3749.7125,
|
| 10 |
+
"train_samples_per_second": 0.364,
|
| 11 |
+
"train_steps_per_second": 0.091
|
| 12 |
+
}
|
11_lora_sft_ttt/eval_results.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 2.0,
|
| 3 |
+
"eval_loss": 9.797404345590621e-05,
|
| 4 |
+
"eval_runtime": 15.6859,
|
| 5 |
+
"eval_samples_per_second": 0.446,
|
| 6 |
+
"eval_steps_per_second": 0.128
|
| 7 |
+
}
|
11_lora_sft_ttt/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
11_lora_sft_ttt/preprocessor_config.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"do_convert_rgb": true,
|
| 3 |
+
"do_normalize": true,
|
| 4 |
+
"do_rescale": true,
|
| 5 |
+
"do_resize": true,
|
| 6 |
+
"image_mean": [
|
| 7 |
+
0.48145466,
|
| 8 |
+
0.4578275,
|
| 9 |
+
0.40821073
|
| 10 |
+
],
|
| 11 |
+
"image_processor_type": "Qwen2VLImageProcessor",
|
| 12 |
+
"image_std": [
|
| 13 |
+
0.26862954,
|
| 14 |
+
0.26130258,
|
| 15 |
+
0.27577711
|
| 16 |
+
],
|
| 17 |
+
"max_pixels": 12845056,
|
| 18 |
+
"merge_size": 2,
|
| 19 |
+
"min_pixels": 3136,
|
| 20 |
+
"patch_size": 14,
|
| 21 |
+
"processor_class": "Qwen2VLProcessor",
|
| 22 |
+
"resample": 3,
|
| 23 |
+
"rescale_factor": 0.00392156862745098,
|
| 24 |
+
"size": {
|
| 25 |
+
"max_pixels": 12845056,
|
| 26 |
+
"min_pixels": 3136
|
| 27 |
+
},
|
| 28 |
+
"temporal_patch_size": 2
|
| 29 |
+
}
|
11_lora_sft_ttt/special_tokens_map.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": [
|
| 3 |
+
"<|im_start|>",
|
| 4 |
+
"<|im_end|>",
|
| 5 |
+
"<|object_ref_start|>",
|
| 6 |
+
"<|object_ref_end|>",
|
| 7 |
+
"<|box_start|>",
|
| 8 |
+
"<|box_end|>",
|
| 9 |
+
"<|quad_start|>",
|
| 10 |
+
"<|quad_end|>",
|
| 11 |
+
"<|vision_start|>",
|
| 12 |
+
"<|vision_end|>",
|
| 13 |
+
"<|vision_pad|>",
|
| 14 |
+
"<|image_pad|>",
|
| 15 |
+
"<|video_pad|>"
|
| 16 |
+
],
|
| 17 |
+
"eos_token": {
|
| 18 |
+
"content": "<|im_end|>",
|
| 19 |
+
"lstrip": false,
|
| 20 |
+
"normalized": false,
|
| 21 |
+
"rstrip": false,
|
| 22 |
+
"single_word": false
|
| 23 |
+
},
|
| 24 |
+
"pad_token": {
|
| 25 |
+
"content": "<|endoftext|>",
|
| 26 |
+
"lstrip": false,
|
| 27 |
+
"normalized": false,
|
| 28 |
+
"rstrip": false,
|
| 29 |
+
"single_word": false
|
| 30 |
+
}
|
| 31 |
+
}
|
11_lora_sft_ttt/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
11_lora_sft_ttt/tokenizer_config.json
ADDED
|
@@ -0,0 +1,144 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"added_tokens_decoder": {
|
| 4 |
+
"151643": {
|
| 5 |
+
"content": "<|endoftext|>",
|
| 6 |
+
"lstrip": false,
|
| 7 |
+
"normalized": false,
|
| 8 |
+
"rstrip": false,
|
| 9 |
+
"single_word": false,
|
| 10 |
+
"special": true
|
| 11 |
+
},
|
| 12 |
+
"151644": {
|
| 13 |
+
"content": "<|im_start|>",
|
| 14 |
+
"lstrip": false,
|
| 15 |
+
"normalized": false,
|
| 16 |
+
"rstrip": false,
|
| 17 |
+
"single_word": false,
|
| 18 |
+
"special": true
|
| 19 |
+
},
|
| 20 |
+
"151645": {
|
| 21 |
+
"content": "<|im_end|>",
|
| 22 |
+
"lstrip": false,
|
| 23 |
+
"normalized": false,
|
| 24 |
+
"rstrip": false,
|
| 25 |
+
"single_word": false,
|
| 26 |
+
"special": true
|
| 27 |
+
},
|
| 28 |
+
"151646": {
|
| 29 |
+
"content": "<|object_ref_start|>",
|
| 30 |
+
"lstrip": false,
|
| 31 |
+
"normalized": false,
|
| 32 |
+
"rstrip": false,
|
| 33 |
+
"single_word": false,
|
| 34 |
+
"special": true
|
| 35 |
+
},
|
| 36 |
+
"151647": {
|
| 37 |
+
"content": "<|object_ref_end|>",
|
| 38 |
+
"lstrip": false,
|
| 39 |
+
"normalized": false,
|
| 40 |
+
"rstrip": false,
|
| 41 |
+
"single_word": false,
|
| 42 |
+
"special": true
|
| 43 |
+
},
|
| 44 |
+
"151648": {
|
| 45 |
+
"content": "<|box_start|>",
|
| 46 |
+
"lstrip": false,
|
| 47 |
+
"normalized": false,
|
| 48 |
+
"rstrip": false,
|
| 49 |
+
"single_word": false,
|
| 50 |
+
"special": true
|
| 51 |
+
},
|
| 52 |
+
"151649": {
|
| 53 |
+
"content": "<|box_end|>",
|
| 54 |
+
"lstrip": false,
|
| 55 |
+
"normalized": false,
|
| 56 |
+
"rstrip": false,
|
| 57 |
+
"single_word": false,
|
| 58 |
+
"special": true
|
| 59 |
+
},
|
| 60 |
+
"151650": {
|
| 61 |
+
"content": "<|quad_start|>",
|
| 62 |
+
"lstrip": false,
|
| 63 |
+
"normalized": false,
|
| 64 |
+
"rstrip": false,
|
| 65 |
+
"single_word": false,
|
| 66 |
+
"special": true
|
| 67 |
+
},
|
| 68 |
+
"151651": {
|
| 69 |
+
"content": "<|quad_end|>",
|
| 70 |
+
"lstrip": false,
|
| 71 |
+
"normalized": false,
|
| 72 |
+
"rstrip": false,
|
| 73 |
+
"single_word": false,
|
| 74 |
+
"special": true
|
| 75 |
+
},
|
| 76 |
+
"151652": {
|
| 77 |
+
"content": "<|vision_start|>",
|
| 78 |
+
"lstrip": false,
|
| 79 |
+
"normalized": false,
|
| 80 |
+
"rstrip": false,
|
| 81 |
+
"single_word": false,
|
| 82 |
+
"special": true
|
| 83 |
+
},
|
| 84 |
+
"151653": {
|
| 85 |
+
"content": "<|vision_end|>",
|
| 86 |
+
"lstrip": false,
|
| 87 |
+
"normalized": false,
|
| 88 |
+
"rstrip": false,
|
| 89 |
+
"single_word": false,
|
| 90 |
+
"special": true
|
| 91 |
+
},
|
| 92 |
+
"151654": {
|
| 93 |
+
"content": "<|vision_pad|>",
|
| 94 |
+
"lstrip": false,
|
| 95 |
+
"normalized": false,
|
| 96 |
+
"rstrip": false,
|
| 97 |
+
"single_word": false,
|
| 98 |
+
"special": true
|
| 99 |
+
},
|
| 100 |
+
"151655": {
|
| 101 |
+
"content": "<|image_pad|>",
|
| 102 |
+
"lstrip": false,
|
| 103 |
+
"normalized": false,
|
| 104 |
+
"rstrip": false,
|
| 105 |
+
"single_word": false,
|
| 106 |
+
"special": true
|
| 107 |
+
},
|
| 108 |
+
"151656": {
|
| 109 |
+
"content": "<|video_pad|>",
|
| 110 |
+
"lstrip": false,
|
| 111 |
+
"normalized": false,
|
| 112 |
+
"rstrip": false,
|
| 113 |
+
"single_word": false,
|
| 114 |
+
"special": true
|
| 115 |
+
}
|
| 116 |
+
},
|
| 117 |
+
"additional_special_tokens": [
|
| 118 |
+
"<|im_start|>",
|
| 119 |
+
"<|im_end|>",
|
| 120 |
+
"<|object_ref_start|>",
|
| 121 |
+
"<|object_ref_end|>",
|
| 122 |
+
"<|box_start|>",
|
| 123 |
+
"<|box_end|>",
|
| 124 |
+
"<|quad_start|>",
|
| 125 |
+
"<|quad_end|>",
|
| 126 |
+
"<|vision_start|>",
|
| 127 |
+
"<|vision_end|>",
|
| 128 |
+
"<|vision_pad|>",
|
| 129 |
+
"<|image_pad|>",
|
| 130 |
+
"<|video_pad|>"
|
| 131 |
+
],
|
| 132 |
+
"bos_token": null,
|
| 133 |
+
"chat_template": "{% set image_count = namespace(value=0) %}{% set video_count = namespace(value=0) %}{% for message in messages %}{% if loop.first and message['role'] != 'system' %}<|im_start|>system\nYou are a helpful assistant.<|im_end|>\n{% endif %}<|im_start|>{{ message['role'] }}\n{% if message['content'] is string %}{{ message['content'] }}<|im_end|>\n{% else %}{% for content in message['content'] %}{% if content['type'] == 'image' or 'image' in content or 'image_url' in content %}{% set image_count.value = image_count.value + 1 %}{% if add_vision_id %}Picture {{ image_count.value }}: {% endif %}<|vision_start|><|image_pad|><|vision_end|>{% elif content['type'] == 'video' or 'video' in content %}{% set video_count.value = video_count.value + 1 %}{% if add_vision_id %}Video {{ video_count.value }}: {% endif %}<|vision_start|><|video_pad|><|vision_end|>{% elif 'text' in content %}{{ content['text'] }}{% endif %}{% endfor %}<|im_end|>\n{% endif %}{% endfor %}{% if add_generation_prompt %}<|im_start|>assistant\n{% endif %}",
|
| 134 |
+
"clean_up_tokenization_spaces": false,
|
| 135 |
+
"eos_token": "<|im_end|>",
|
| 136 |
+
"errors": "replace",
|
| 137 |
+
"model_max_length": 32768,
|
| 138 |
+
"pad_token": "<|endoftext|>",
|
| 139 |
+
"padding_side": "right",
|
| 140 |
+
"processor_class": "Qwen2VLProcessor",
|
| 141 |
+
"split_special_tokens": false,
|
| 142 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 143 |
+
"unk_token": null
|
| 144 |
+
}
|
11_lora_sft_ttt/train_results.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"epoch": 2.0,
|
| 3 |
+
"total_flos": 12490745577472.0,
|
| 4 |
+
"train_loss": 0.018072671783891946,
|
| 5 |
+
"train_runtime": 3749.7125,
|
| 6 |
+
"train_samples_per_second": 0.364,
|
| 7 |
+
"train_steps_per_second": 0.091
|
| 8 |
+
}
|
11_lora_sft_ttt/trainer_log.jsonl
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"current_steps": 100, "total_steps": 342, "loss": 0.0471, "lr": 8.934096234129843e-05, "epoch": 0.5847953216374269, "percentage": 29.24, "elapsed_time": "0:20:21", "remaining_time": "0:49:15"}
|
| 2 |
+
{"current_steps": 100, "total_steps": 342, "eval_loss": 0.002146613784134388, "epoch": 0.5847953216374269, "percentage": 29.24, "elapsed_time": "0:20:49", "remaining_time": "0:50:24"}
|
| 3 |
+
{"current_steps": 200, "total_steps": 342, "loss": 0.0135, "lr": 4.412948159326646e-05, "epoch": 1.1695906432748537, "percentage": 58.48, "elapsed_time": "0:40:20", "remaining_time": "0:28:38"}
|
| 4 |
+
{"current_steps": 200, "total_steps": 342, "eval_loss": 0.00021622402709908783, "epoch": 1.1695906432748537, "percentage": 58.48, "elapsed_time": "0:40:28", "remaining_time": "0:28:44"}
|
| 5 |
+
{"current_steps": 300, "total_steps": 342, "loss": 0.0011, "lr": 4.547428767819578e-06, "epoch": 1.7543859649122808, "percentage": 87.72, "elapsed_time": "0:55:52", "remaining_time": "0:07:49"}
|
| 6 |
+
{"current_steps": 300, "total_steps": 342, "eval_loss": 9.790992044145241e-05, "epoch": 1.7543859649122808, "percentage": 87.72, "elapsed_time": "0:56:09", "remaining_time": "0:07:51"}
|
| 7 |
+
{"current_steps": 342, "total_steps": 342, "epoch": 2.0, "percentage": 100.0, "elapsed_time": "1:02:28", "remaining_time": "0:00:00"}
|