nqtruong commited on
Commit
93d9436
1 Parent(s): 6ada99f

End of training

Browse files
README.md ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ library_name: peft
4
+ tags:
5
+ - generated_from_trainer
6
+ base_model: liuhaotian/llava-v1.6-mistral-7b
7
+ model-index:
8
+ - name: LLaVA-Mistral-finetuned
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # LLaVA-Mistral-finetuned
16
+
17
+ This model is a fine-tuned version of [liuhaotian/llava-v1.6-mistral-7b](https://huggingface.co/liuhaotian/llava-v1.6-mistral-7b) on an unknown dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 0.6291
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: 0.0002
39
+ - train_batch_size: 1
40
+ - eval_batch_size: 1
41
+ - seed: 42
42
+ - gradient_accumulation_steps: 8
43
+ - total_train_batch_size: 8
44
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
+ - lr_scheduler_type: linear
46
+ - training_steps: 25
47
+ - mixed_precision_training: Native AMP
48
+
49
+ ### Training results
50
+
51
+ | Training Loss | Epoch | Step | Validation Loss |
52
+ |:-------------:|:-----:|:----:|:---------------:|
53
+ | 0.7239 | 0.0 | 10 | 0.6832 |
54
+ | 0.7502 | 0.01 | 20 | 0.6291 |
55
+
56
+
57
+ ### Framework versions
58
+
59
+ - PEFT 0.9.0
60
+ - Transformers 4.38.1
61
+ - Pytorch 2.1.2
62
+ - Datasets 2.1.0
63
+ - Tokenizers 0.15.2
adapter_config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": {
4
+ "base_model_class": "LlavaMistralForCausalLM",
5
+ "parent_library": "llava.model.language_model.llava_mistral"
6
+ },
7
+ "base_model_name_or_path": "liuhaotian/llava-v1.6-mistral-7b",
8
+ "bias": "none",
9
+ "fan_in_fan_out": false,
10
+ "inference_mode": true,
11
+ "init_lora_weights": true,
12
+ "layers_pattern": null,
13
+ "layers_to_transform": null,
14
+ "loftq_config": {},
15
+ "lora_alpha": 32,
16
+ "lora_dropout": 0.05,
17
+ "megatron_config": null,
18
+ "megatron_core": "megatron.core",
19
+ "modules_to_save": null,
20
+ "peft_type": "LORA",
21
+ "r": 16,
22
+ "rank_pattern": {},
23
+ "revision": null,
24
+ "target_modules": [
25
+ "k_proj",
26
+ "v_proj",
27
+ "q_proj"
28
+ ],
29
+ "task_type": null,
30
+ "use_dora": false,
31
+ "use_rslora": false
32
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a41d2c53cb89ec7c562baac33c09f2cf1b7a2f4471c18affc120611fe562cc56
3
+ size 47237856
trainer_state.json ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.0064865566114228265,
5
+ "eval_steps": 10,
6
+ "global_step": 25,
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.0,
13
+ "grad_norm": 7.601585865020752,
14
+ "learning_rate": 0.00016,
15
+ "loss": 1.629,
16
+ "step": 5
17
+ },
18
+ {
19
+ "epoch": 0.0,
20
+ "grad_norm": 6.085068702697754,
21
+ "learning_rate": 0.00012,
22
+ "loss": 0.7239,
23
+ "step": 10
24
+ },
25
+ {
26
+ "epoch": 0.0,
27
+ "eval_loss": 0.6832157969474792,
28
+ "eval_runtime": 7374.2039,
29
+ "eval_samples_per_second": 0.481,
30
+ "eval_steps_per_second": 0.481,
31
+ "step": 10
32
+ },
33
+ {
34
+ "epoch": 0.0,
35
+ "grad_norm": 3.401209831237793,
36
+ "learning_rate": 8e-05,
37
+ "loss": 0.6425,
38
+ "step": 15
39
+ },
40
+ {
41
+ "epoch": 0.01,
42
+ "grad_norm": 3.414715051651001,
43
+ "learning_rate": 4e-05,
44
+ "loss": 0.7502,
45
+ "step": 20
46
+ },
47
+ {
48
+ "epoch": 0.01,
49
+ "eval_loss": 0.6290897130966187,
50
+ "eval_runtime": 7374.3989,
51
+ "eval_samples_per_second": 0.481,
52
+ "eval_steps_per_second": 0.481,
53
+ "step": 20
54
+ },
55
+ {
56
+ "epoch": 0.01,
57
+ "grad_norm": 2.3705151081085205,
58
+ "learning_rate": 0.0,
59
+ "loss": 0.5581,
60
+ "step": 25
61
+ },
62
+ {
63
+ "epoch": 0.01,
64
+ "step": 25,
65
+ "total_flos": 832443140849664.0,
66
+ "train_loss": 0.8607504749298096,
67
+ "train_runtime": 15509.9229,
68
+ "train_samples_per_second": 0.013,
69
+ "train_steps_per_second": 0.002
70
+ }
71
+ ],
72
+ "logging_steps": 5,
73
+ "max_steps": 25,
74
+ "num_input_tokens_seen": 0,
75
+ "num_train_epochs": 1,
76
+ "save_steps": 25,
77
+ "total_flos": 832443140849664.0,
78
+ "train_batch_size": 1,
79
+ "trial_name": null,
80
+ "trial_params": null
81
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e9cba62bab46b248bf1e2e9c708d90f9c23d3487188ce8cbf97865942356a096
3
+ size 4856