lesso commited on
Commit
cfcffff
·
verified ·
1 Parent(s): a5d4841

End of training

Browse files
README.md ADDED
@@ -0,0 +1,152 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: oopsung/llama2-7b-koNqa-test-v1
4
+ tags:
5
+ - axolotl
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: 204c95cb-74f1-4015-81b1-be50366e8dee
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
+ [<img src="https://raw.githubusercontent.com/axolotl-ai-cloud/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/axolotl-ai-cloud/axolotl)
16
+ <details><summary>See axolotl config</summary>
17
+
18
+ axolotl version: `0.4.1`
19
+ ```yaml
20
+ adapter: lora
21
+ base_model: oopsung/llama2-7b-koNqa-test-v1
22
+ bf16: false
23
+ chat_template: llama3
24
+ dataset_prepared_path: null
25
+ datasets:
26
+ - data_files:
27
+ - ce30fcad2e877010_train_data.json
28
+ ds_type: json
29
+ format: custom
30
+ path: /workspace/input_data/ce30fcad2e877010_train_data.json
31
+ type:
32
+ field_input: text2
33
+ field_instruction: text1
34
+ field_output: label_text
35
+ format: '{instruction} {input}'
36
+ no_input_format: '{instruction}'
37
+ system_format: '{system}'
38
+ system_prompt: ''
39
+ debug: null
40
+ deepspeed: null
41
+ early_stopping_patience: null
42
+ eval_max_new_tokens: 128
43
+ eval_table_size: null
44
+ evals_per_epoch: 4
45
+ flash_attention: true
46
+ fp16: true
47
+ fsdp: null
48
+ fsdp_config: null
49
+ gradient_accumulation_steps: 4
50
+ gradient_checkpointing: true
51
+ group_by_length: false
52
+ hub_model_id: lesso/204c95cb-74f1-4015-81b1-be50366e8dee
53
+ hub_repo: null
54
+ hub_strategy: checkpoint
55
+ hub_token: null
56
+ learning_rate: 0.0002
57
+ load_in_4bit: false
58
+ load_in_8bit: false
59
+ local_rank: null
60
+ logging_steps: 1
61
+ lora_alpha: 16
62
+ lora_dropout: 0.05
63
+ lora_fan_in_fan_out: null
64
+ lora_model_dir: null
65
+ lora_r: 8
66
+ lora_target_linear: true
67
+ lr_scheduler: cosine
68
+ max_steps: 10
69
+ micro_batch_size: 1
70
+ mlflow_experiment_name: /tmp/ce30fcad2e877010_train_data.json
71
+ model_type: AutoModelForCausalLM
72
+ num_epochs: 1
73
+ optimizer: adamw_hf
74
+ output_dir: miner_id_24
75
+ pad_to_sequence_len: true
76
+ resume_from_checkpoint: null
77
+ s2_attention: null
78
+ sample_packing: false
79
+ saves_per_epoch: 4
80
+ sequence_len: 1024
81
+ strict: false
82
+ tf32: false
83
+ tokenizer_type: AutoTokenizer
84
+ train_on_inputs: false
85
+ trust_remote_code: true
86
+ val_set_size: 0.05
87
+ wandb_entity: null
88
+ wandb_mode: online
89
+ wandb_name: 204c95cb-74f1-4015-81b1-be50366e8dee
90
+ wandb_project: Gradients-On-Demand
91
+ wandb_run: your_name
92
+ wandb_runid: 204c95cb-74f1-4015-81b1-be50366e8dee
93
+ warmup_steps: 10
94
+ weight_decay: 0.0
95
+ xformers_attention: null
96
+
97
+ ```
98
+
99
+ </details><br>
100
+
101
+ # 204c95cb-74f1-4015-81b1-be50366e8dee
102
+
103
+ This model is a fine-tuned version of [oopsung/llama2-7b-koNqa-test-v1](https://huggingface.co/oopsung/llama2-7b-koNqa-test-v1) on the None dataset.
104
+ It achieves the following results on the evaluation set:
105
+ - Loss: 12.1172
106
+
107
+ ## Model description
108
+
109
+ More information needed
110
+
111
+ ## Intended uses & limitations
112
+
113
+ More information needed
114
+
115
+ ## Training and evaluation data
116
+
117
+ More information needed
118
+
119
+ ## Training procedure
120
+
121
+ ### Training hyperparameters
122
+
123
+ The following hyperparameters were used during training:
124
+ - learning_rate: 0.0002
125
+ - train_batch_size: 1
126
+ - eval_batch_size: 1
127
+ - seed: 42
128
+ - gradient_accumulation_steps: 4
129
+ - total_train_batch_size: 4
130
+ - optimizer: Use OptimizerNames.ADAMW_HF with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
131
+ - lr_scheduler_type: cosine
132
+ - lr_scheduler_warmup_steps: 10
133
+ - training_steps: 10
134
+ - mixed_precision_training: Native AMP
135
+
136
+ ### Training results
137
+
138
+ | Training Loss | Epoch | Step | Validation Loss |
139
+ |:-------------:|:------:|:----:|:---------------:|
140
+ | 14.12 | 0.0008 | 1 | 16.0395 |
141
+ | 17.5658 | 0.0024 | 3 | 16.0118 |
142
+ | 14.5333 | 0.0049 | 6 | 15.2201 |
143
+ | 13.1099 | 0.0073 | 9 | 12.1172 |
144
+
145
+
146
+ ### Framework versions
147
+
148
+ - PEFT 0.13.2
149
+ - Transformers 4.46.0
150
+ - Pytorch 2.5.0+cu124
151
+ - Datasets 3.0.1
152
+ - Tokenizers 0.20.1
adapter_config.json CHANGED
@@ -20,13 +20,13 @@
20
  "rank_pattern": {},
21
  "revision": null,
22
  "target_modules": [
23
- "o_proj",
24
- "up_proj",
25
- "k_proj",
26
  "v_proj",
27
- "down_proj",
28
  "q_proj",
29
- "gate_proj"
 
 
 
30
  ],
31
  "task_type": "CAUSAL_LM",
32
  "use_dora": false,
 
20
  "rank_pattern": {},
21
  "revision": null,
22
  "target_modules": [
 
 
 
23
  "v_proj",
24
+ "k_proj",
25
  "q_proj",
26
+ "up_proj",
27
+ "gate_proj",
28
+ "down_proj",
29
+ "o_proj"
30
  ],
31
  "task_type": "CAUSAL_LM",
32
  "use_dora": false,
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4c66c14e524d8962baebe54df70c82640ef042e6c5a1755bbf5b5d494b50b7f7
3
+ size 80115210
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2b38a9c96ded44f9af1014e5fb11931bcfda03a1b78977b9e52cb014c8273134
3
  size 80013120
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:586766f80b818da33cc910ae62f532be1be0faeffc306263f4d65ffdde9ee426
3
  size 80013120
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a6e1305fc8f281ddb72b2abbc2f99245c4a414545702847872a68fca4d715eef
3
  size 6776
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a45ccf46e14ed35216c4e7a3c80c48f1548a7a4ee495cb102e2d1263e0be3188
3
  size 6776