lesso13 commited on
Commit
a7e1a41
·
verified ·
1 Parent(s): 694e68a

End of training

Browse files
Files changed (3) hide show
  1. README.md +164 -0
  2. adapter_model.bin +3 -0
  3. adapter_model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,164 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: Qwen/Qwen2-0.5B
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: 9c22f3f9-20fb-4aed-a623-7ae9000ef36d
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ [<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)
17
+ <details><summary>See axolotl config</summary>
18
+
19
+ axolotl version: `0.4.1`
20
+ ```yaml
21
+ adapter: lora
22
+ auto_find_batch_size: true
23
+ base_model: Qwen/Qwen2-0.5B
24
+ bf16: auto
25
+ chat_template: llama3
26
+ dataset_prepared_path: null
27
+ datasets:
28
+ - data_files:
29
+ - 5513b998661e6cb3_train_data.json
30
+ ds_type: json
31
+ format: custom
32
+ path: /workspace/input_data/5513b998661e6cb3_train_data.json
33
+ type:
34
+ field_input: old_contents
35
+ field_instruction: instruction
36
+ field_output: content
37
+ format: '{instruction} {input}'
38
+ no_input_format: '{instruction}'
39
+ system_format: '{system}'
40
+ system_prompt: ''
41
+ debug: null
42
+ deepspeed: null
43
+ do_eval: true
44
+ early_stopping_patience: 3
45
+ eval_max_new_tokens: 128
46
+ eval_steps: 50
47
+ evals_per_epoch: null
48
+ flash_attention: true
49
+ fp16: false
50
+ fsdp: null
51
+ fsdp_config: null
52
+ gradient_accumulation_steps: 2
53
+ gradient_checkpointing: false
54
+ group_by_length: true
55
+ hub_model_id: lesso13/9c22f3f9-20fb-4aed-a623-7ae9000ef36d
56
+ hub_repo: null
57
+ hub_strategy: checkpoint
58
+ hub_token: null
59
+ learning_rate: 0.000213
60
+ load_in_4bit: false
61
+ load_in_8bit: false
62
+ local_rank: null
63
+ logging_steps: 10
64
+ lora_alpha: 32
65
+ lora_dropout: 0.05
66
+ lora_fan_in_fan_out: null
67
+ lora_model_dir: null
68
+ lora_r: 16
69
+ lora_target_linear: true
70
+ lr_scheduler: cosine
71
+ max_grad_norm: 1.0
72
+ max_steps: 500
73
+ micro_batch_size: 4
74
+ mlflow_experiment_name: /tmp/5513b998661e6cb3_train_data.json
75
+ model_type: AutoModelForCausalLM
76
+ num_epochs: 1
77
+ optimizer: adamw_bnb_8bit
78
+ output_dir: miner_id_24
79
+ pad_to_sequence_len: true
80
+ resume_from_checkpoint: null
81
+ s2_attention: null
82
+ sample_packing: false
83
+ save_steps: 50
84
+ saves_per_epoch: null
85
+ seed: 130
86
+ sequence_len: 512
87
+ strict: false
88
+ tf32: true
89
+ tokenizer_type: AutoTokenizer
90
+ train_on_inputs: false
91
+ trust_remote_code: true
92
+ val_set_size: 0.05
93
+ wandb_entity: null
94
+ wandb_mode: online
95
+ wandb_name: cdec897c-7948-4e87-9bae-779bd9138cdd
96
+ wandb_project: 13a
97
+ wandb_run: your_name
98
+ wandb_runid: cdec897c-7948-4e87-9bae-779bd9138cdd
99
+ warmup_steps: 50
100
+ weight_decay: 0.0
101
+ xformers_attention: null
102
+
103
+ ```
104
+
105
+ </details><br>
106
+
107
+ # 9c22f3f9-20fb-4aed-a623-7ae9000ef36d
108
+
109
+ This model is a fine-tuned version of [Qwen/Qwen2-0.5B](https://huggingface.co/Qwen/Qwen2-0.5B) on the None dataset.
110
+ It achieves the following results on the evaluation set:
111
+ - Loss: 0.1767
112
+
113
+ ## Model description
114
+
115
+ More information needed
116
+
117
+ ## Intended uses & limitations
118
+
119
+ More information needed
120
+
121
+ ## Training and evaluation data
122
+
123
+ More information needed
124
+
125
+ ## Training procedure
126
+
127
+ ### Training hyperparameters
128
+
129
+ The following hyperparameters were used during training:
130
+ - learning_rate: 0.000213
131
+ - train_batch_size: 4
132
+ - eval_batch_size: 4
133
+ - seed: 130
134
+ - gradient_accumulation_steps: 2
135
+ - total_train_batch_size: 8
136
+ - optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
137
+ - lr_scheduler_type: cosine
138
+ - lr_scheduler_warmup_steps: 50
139
+ - training_steps: 500
140
+
141
+ ### Training results
142
+
143
+ | Training Loss | Epoch | Step | Validation Loss |
144
+ |:-------------:|:------:|:----:|:---------------:|
145
+ | No log | 0.0004 | 1 | 0.4813 |
146
+ | 0.3673 | 0.0189 | 50 | 0.1922 |
147
+ | 0.4213 | 0.0378 | 100 | 0.1850 |
148
+ | 0.3159 | 0.0566 | 150 | 0.1830 |
149
+ | 0.3021 | 0.0755 | 200 | 0.1810 |
150
+ | 0.3007 | 0.0944 | 250 | 0.1831 |
151
+ | 0.2776 | 0.1133 | 300 | 0.1780 |
152
+ | 0.3029 | 0.1322 | 350 | 0.1776 |
153
+ | 0.346 | 0.1510 | 400 | 0.1770 |
154
+ | 0.3002 | 0.1699 | 450 | 0.1764 |
155
+ | 0.3463 | 0.1888 | 500 | 0.1767 |
156
+
157
+
158
+ ### Framework versions
159
+
160
+ - PEFT 0.13.2
161
+ - Transformers 4.46.0
162
+ - Pytorch 2.5.0+cu124
163
+ - Datasets 3.0.1
164
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a75637d317ed52cc48f57806a9724525f573559715091ffd92f9b6ce2466080d
3
+ size 35313738
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c657bced03ee3ac9877f99185ce39d523e473b4cc40ed31ce48a5544a0c77d01
3
  size 35237104
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:22364072bb629d3eb396c6bfad8a81a6c05441fdb1c235c39ae3f5b772ec3b79
3
  size 35237104