ngocquangt2k46 commited on
Commit
63ce04e
·
verified ·
1 Parent(s): fe3d59a

End of training

Browse files
Files changed (2) hide show
  1. README.md +160 -0
  2. adapter_model.bin +3 -0
README.md ADDED
@@ -0,0 +1,160 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: 7332ed51-4aab-487c-a01d-ac7e0af3f29b
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
+ base_model: Qwen/Qwen2-0.5B
23
+ bf16: auto
24
+ chat_template: llama3
25
+ dataset_prepared_path: null
26
+ datasets:
27
+ - data_files:
28
+ - 1f7140566fb4db27_train_data.json
29
+ ds_type: json
30
+ format: custom
31
+ path: /workspace/input_data/1f7140566fb4db27_train_data.json
32
+ type:
33
+ field_instruction: query
34
+ field_output: answers
35
+ format: '{instruction}'
36
+ no_input_format: '{instruction}'
37
+ system_format: '{system}'
38
+ system_prompt: ''
39
+ debug: null
40
+ deepspeed: null
41
+ device_map: auto
42
+ early_stopping_patience: null
43
+ eval_max_new_tokens: 128
44
+ eval_table_size: null
45
+ evals_per_epoch: 4
46
+ flash_attention: false
47
+ fp16: null
48
+ fsdp: null
49
+ fsdp_config: null
50
+ gradient_accumulation_steps: 32
51
+ gradient_checkpointing: false
52
+ group_by_length: false
53
+ hub_model_id: ngocquangt2k46/7332ed51-4aab-487c-a01d-ac7e0af3f29b
54
+ hub_repo: null
55
+ hub_strategy: checkpoint
56
+ hub_token: null
57
+ learning_rate: 0.0001
58
+ local_rank: null
59
+ logging_steps: 1
60
+ lora_alpha: 32
61
+ lora_dropout: 0.05
62
+ lora_fan_in_fan_out: null
63
+ lora_model_dir: null
64
+ lora_r: 16
65
+ lora_target_linear: true
66
+ lora_target_modules:
67
+ - q_proj
68
+ - v_proj
69
+ lr_scheduler: cosine
70
+ max_memory:
71
+ 0: 130GiB
72
+ 1: 130GiB
73
+ max_steps: 20
74
+ micro_batch_size: 2
75
+ mlflow_experiment_name: /tmp/1f7140566fb4db27_train_data.json
76
+ model_type: AutoModelForCausalLM
77
+ num_epochs: 1
78
+ optimizer: adamw_bnb_8bit
79
+ output_dir: miner_id_24
80
+ pad_to_sequence_len: true
81
+ quantization_config:
82
+ llm_int8_enable_fp32_cpu_offload: false
83
+ load_in_8bit: true
84
+ resume_from_checkpoint: null
85
+ s2_attention: null
86
+ sample_packing: false
87
+ saves_per_epoch: 4
88
+ sequence_len: 4056
89
+ strict: false
90
+ tf32: false
91
+ tokenizer_type: AutoTokenizer
92
+ train_on_inputs: false
93
+ trust_remote_code: true
94
+ val_set_size: 0.05
95
+ wandb_entity: null
96
+ wandb_mode: online
97
+ wandb_name: 7332ed51-4aab-487c-a01d-ac7e0af3f29b
98
+ wandb_project: Gradients-On-Demand
99
+ wandb_run: your_name
100
+ wandb_runid: 7332ed51-4aab-487c-a01d-ac7e0af3f29b
101
+ warmup_steps: 10
102
+ weight_decay: 0.0
103
+ xformers_attention: null
104
+
105
+ ```
106
+
107
+ </details><br>
108
+
109
+ # 7332ed51-4aab-487c-a01d-ac7e0af3f29b
110
+
111
+ This model is a fine-tuned version of [Qwen/Qwen2-0.5B](https://huggingface.co/Qwen/Qwen2-0.5B) on the None dataset.
112
+ It achieves the following results on the evaluation set:
113
+ - Loss: 1.0315
114
+
115
+ ## Model description
116
+
117
+ More information needed
118
+
119
+ ## Intended uses & limitations
120
+
121
+ More information needed
122
+
123
+ ## Training and evaluation data
124
+
125
+ More information needed
126
+
127
+ ## Training procedure
128
+
129
+ ### Training hyperparameters
130
+
131
+ The following hyperparameters were used during training:
132
+ - learning_rate: 0.0001
133
+ - train_batch_size: 2
134
+ - eval_batch_size: 2
135
+ - seed: 42
136
+ - gradient_accumulation_steps: 32
137
+ - total_train_batch_size: 64
138
+ - optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
139
+ - lr_scheduler_type: cosine
140
+ - lr_scheduler_warmup_steps: 10
141
+ - training_steps: 20
142
+
143
+ ### Training results
144
+
145
+ | Training Loss | Epoch | Step | Validation Loss |
146
+ |:-------------:|:------:|:----:|:---------------:|
147
+ | 4.9034 | 0.0001 | 1 | 5.8650 |
148
+ | 4.4149 | 0.0004 | 5 | 4.7484 |
149
+ | 2.4773 | 0.0009 | 10 | 2.0398 |
150
+ | 1.4274 | 0.0013 | 15 | 1.1213 |
151
+ | 1.4299 | 0.0018 | 20 | 1.0315 |
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:17a58fb6758270e3678a293426ef0b897510a11a8ce353735261920cdabda25d
3
+ size 35313738