tuantmdev commited on
Commit
97df0a9
·
verified ·
1 Parent(s): cf3fab9

End of training

Browse files
Files changed (3) hide show
  1. README.md +160 -0
  2. adapter_model.bin +3 -0
  3. adapter_model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,160 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: Korabbit/llama-2-ko-7b
4
+ tags:
5
+ - axolotl
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: 7a0bb651-9014-440a-993f-305619a36545
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
+ auto_find_batch_size: true
22
+ base_model: Korabbit/llama-2-ko-7b
23
+ bf16: auto
24
+ chat_template: llama3
25
+ dataset_prepared_path: null
26
+ datasets:
27
+ - data_files:
28
+ - e4baa04ca4e4fdd2_train_data.json
29
+ ds_type: json
30
+ format: custom
31
+ path: /workspace/input_data/e4baa04ca4e4fdd2_train_data.json
32
+ type:
33
+ field_instruction: import_statement
34
+ field_output: next_line
35
+ format: '{instruction}'
36
+ no_input_format: '{instruction}'
37
+ system_format: '{system}'
38
+ system_prompt: ''
39
+ debug: null
40
+ deepspeed: null
41
+ early_stopping_patience: 3
42
+ eval_max_new_tokens: 128
43
+ eval_steps: 50
44
+ eval_table_size: null
45
+ flash_attention: false
46
+ fp16: null
47
+ fsdp: null
48
+ fsdp_config: null
49
+ gradient_accumulation_steps: 8
50
+ gradient_checkpointing: false
51
+ group_by_length: true
52
+ hub_model_id: tuantmdev/7a0bb651-9014-440a-993f-305619a36545
53
+ hub_repo: null
54
+ hub_strategy: checkpoint
55
+ hub_token: null
56
+ learning_rate: 1e-4
57
+ load_in_4bit: false
58
+ load_in_8bit: false
59
+ local_rank: null
60
+ logging_steps: 40
61
+ lora_alpha: 64
62
+ lora_dropout: 0.05
63
+ lora_fan_in_fan_out: null
64
+ lora_model_dir: null
65
+ lora_r: 32
66
+ lora_target_linear: true
67
+ lr_scheduler: cosine
68
+ max_grad_norm: 1.0
69
+ max_steps: 400
70
+ micro_batch_size: 2
71
+ mlflow_experiment_name: /tmp/e4baa04ca4e4fdd2_train_data.json
72
+ model_type: AutoModelForCausalLM
73
+ num_epochs: 1
74
+ optimizer: adamw_bnb_8bit
75
+ output_dir: miner_id_24
76
+ pad_to_sequence_len: true
77
+ resume_from_checkpoint: null
78
+ s2_attention: null
79
+ sample_packing: false
80
+ save_steps: 50
81
+ save_strategy: steps
82
+ sequence_len: 512
83
+ special_tokens:
84
+ pad_token: </s>
85
+ strict: false
86
+ tf32: false
87
+ tokenizer_type: AutoTokenizer
88
+ train_on_inputs: false
89
+ trust_remote_code: true
90
+ val_set_size: 0.05
91
+ wandb_entity: null
92
+ wandb_mode: online
93
+ wandb_name: e3d59494-2ee7-4cc1-b4d8-1ec645f12911
94
+ wandb_project: Gradients-On-Demand
95
+ wandb_run: unknown
96
+ wandb_runid: e3d59494-2ee7-4cc1-b4d8-1ec645f12911
97
+ warmup_steps: 80
98
+ weight_decay: 0.0
99
+ xformers_attention: null
100
+
101
+ ```
102
+
103
+ </details><br>
104
+
105
+ # 7a0bb651-9014-440a-993f-305619a36545
106
+
107
+ This model is a fine-tuned version of [Korabbit/llama-2-ko-7b](https://huggingface.co/Korabbit/llama-2-ko-7b) on the None dataset.
108
+ It achieves the following results on the evaluation set:
109
+ - Loss: 1.4848
110
+
111
+ ## Model description
112
+
113
+ More information needed
114
+
115
+ ## Intended uses & limitations
116
+
117
+ More information needed
118
+
119
+ ## Training and evaluation data
120
+
121
+ More information needed
122
+
123
+ ## Training procedure
124
+
125
+ ### Training hyperparameters
126
+
127
+ The following hyperparameters were used during training:
128
+ - learning_rate: 0.0001
129
+ - train_batch_size: 2
130
+ - eval_batch_size: 2
131
+ - seed: 42
132
+ - gradient_accumulation_steps: 8
133
+ - total_train_batch_size: 16
134
+ - optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
135
+ - lr_scheduler_type: cosine
136
+ - lr_scheduler_warmup_steps: 80
137
+ - training_steps: 400
138
+
139
+ ### Training results
140
+
141
+ | Training Loss | Epoch | Step | Validation Loss |
142
+ |:-------------:|:------:|:----:|:---------------:|
143
+ | No log | 0.0007 | 1 | 4.7432 |
144
+ | 2.9064 | 0.0362 | 50 | 1.7389 |
145
+ | 1.6391 | 0.0724 | 100 | 1.6316 |
146
+ | 1.5544 | 0.1086 | 150 | 1.5727 |
147
+ | 1.4779 | 0.1448 | 200 | 1.5435 |
148
+ | 1.4556 | 0.1810 | 250 | 1.5171 |
149
+ | 1.4762 | 0.2172 | 300 | 1.5001 |
150
+ | 1.5009 | 0.2534 | 350 | 1.4819 |
151
+ | 1.4524 | 0.2896 | 400 | 1.4848 |
152
+
153
+
154
+ ### Framework versions
155
+
156
+ - PEFT 0.13.2
157
+ - Transformers 4.46.0
158
+ - Pytorch 2.5.0+cu124
159
+ - Datasets 3.0.1
160
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8580c10720d9a8110490857bdf4fdb04458739542b7e355edaf11dcc743a68c5
3
+ size 319977674
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7722ff1c94dd2f10e3d5f3c0dc27508bfcb0496dac4f97002cae427b4cc5a415
3
  size 319876032
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0235cfa5df35c7e0a715943b624a7fe3174cae8eb9185511a8666edefce9072a
3
  size 319876032