RoyJoy commited on
Commit
edcee9c
1 Parent(s): 1a02d69

End of training

Browse files
Files changed (2) hide show
  1. README.md +169 -0
  2. adapter_model.bin +3 -0
README.md ADDED
@@ -0,0 +1,169 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: Qwen/Qwen2.5-0.5B
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: ee6b613b-7cdb-427e-ac51-84110cfac5c5
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
+ accelerate_config:
22
+ dynamo_backend: inductor
23
+ mixed_precision: bf16
24
+ num_machines: 1
25
+ num_processes: auto
26
+ use_cpu: false
27
+ adapter: lora
28
+ base_model: Qwen/Qwen2.5-0.5B
29
+ bf16: auto
30
+ chat_template: llama3
31
+ dataset_prepared_path: null
32
+ datasets:
33
+ - data_files:
34
+ - bc37a5f76780843f_train_data.json
35
+ ds_type: json
36
+ format: custom
37
+ path: /workspace/input_data/bc37a5f76780843f_train_data.json
38
+ type:
39
+ field_input: endings
40
+ field_instruction: ctx_a
41
+ field_output: label
42
+ format: '{instruction} {input}'
43
+ no_input_format: '{instruction}'
44
+ system_format: '{system}'
45
+ system_prompt: ''
46
+ debug: null
47
+ deepspeed: null
48
+ device_map: auto
49
+ early_stopping_patience: null
50
+ eval_max_new_tokens: 128
51
+ eval_table_size: null
52
+ evals_per_epoch: 4
53
+ flash_attention: false
54
+ fp16: null
55
+ fsdp: null
56
+ fsdp_config: null
57
+ gradient_accumulation_steps: 16
58
+ gradient_checkpointing: true
59
+ group_by_length: false
60
+ hub_model_id: sn56a1/ee6b613b-7cdb-427e-ac51-84110cfac5c5
61
+ hub_repo: null
62
+ hub_strategy: checkpoint
63
+ hub_token: null
64
+ learning_rate: 0.0001
65
+ local_rank: null
66
+ logging_steps: 1
67
+ lora_alpha: 32
68
+ lora_dropout: 0.05
69
+ lora_fan_in_fan_out: null
70
+ lora_model_dir: null
71
+ lora_r: 16
72
+ lora_target_linear: true
73
+ lora_target_modules:
74
+ - q_proj
75
+ - v_proj
76
+ lr_scheduler: cosine
77
+ max_memory:
78
+ 0: 70GiB
79
+ max_steps: 50
80
+ micro_batch_size: 2
81
+ mlflow_experiment_name: /tmp/bc37a5f76780843f_train_data.json
82
+ model_type: AutoModelForCausalLM
83
+ num_epochs: 1
84
+ optimizer: adamw_bnb_8bit
85
+ output_dir: miner_id_24
86
+ pad_to_sequence_len: true
87
+ quantization_config:
88
+ llm_int8_enable_fp32_cpu_offload: true
89
+ load_in_8bit: true
90
+ resume_from_checkpoint: null
91
+ s2_attention: null
92
+ sample_packing: false
93
+ saves_per_epoch: 4
94
+ sequence_len: 4056
95
+ strict: false
96
+ tf32: false
97
+ tokenizer_type: AutoTokenizer
98
+ torch_compile: true
99
+ train_on_inputs: false
100
+ trust_remote_code: true
101
+ val_set_size: 0.05
102
+ wandb_entity: null
103
+ wandb_mode: online
104
+ wandb_name: ee6b613b-7cdb-427e-ac51-84110cfac5c5
105
+ wandb_project: Gradients-On-Demand
106
+ wandb_run: your_name
107
+ wandb_runid: ee6b613b-7cdb-427e-ac51-84110cfac5c5
108
+ warmup_steps: 10
109
+ weight_decay: 0.0
110
+ xformers_attention: null
111
+
112
+ ```
113
+
114
+ </details><br>
115
+
116
+ # ee6b613b-7cdb-427e-ac51-84110cfac5c5
117
+
118
+ This model is a fine-tuned version of [Qwen/Qwen2.5-0.5B](https://huggingface.co/Qwen/Qwen2.5-0.5B) on the None dataset.
119
+ It achieves the following results on the evaluation set:
120
+ - Loss: 0.6948
121
+
122
+ ## Model description
123
+
124
+ More information needed
125
+
126
+ ## Intended uses & limitations
127
+
128
+ More information needed
129
+
130
+ ## Training and evaluation data
131
+
132
+ More information needed
133
+
134
+ ## Training procedure
135
+
136
+ ### Training hyperparameters
137
+
138
+ The following hyperparameters were used during training:
139
+ - learning_rate: 0.0001
140
+ - train_batch_size: 2
141
+ - eval_batch_size: 2
142
+ - seed: 42
143
+ - distributed_type: multi-GPU
144
+ - num_devices: 4
145
+ - gradient_accumulation_steps: 16
146
+ - total_train_batch_size: 128
147
+ - total_eval_batch_size: 8
148
+ - optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
149
+ - lr_scheduler_type: cosine
150
+ - lr_scheduler_warmup_steps: 10
151
+ - training_steps: 50
152
+
153
+ ### Training results
154
+
155
+ | Training Loss | Epoch | Step | Validation Loss |
156
+ |:-------------:|:------:|:----:|:---------------:|
157
+ | 7.7969 | 0.0150 | 1 | 7.7515 |
158
+ | 0.8596 | 0.1951 | 13 | 0.7877 |
159
+ | 0.708 | 0.3902 | 26 | 0.6943 |
160
+ | 0.6888 | 0.5854 | 39 | 0.6948 |
161
+
162
+
163
+ ### Framework versions
164
+
165
+ - PEFT 0.13.2
166
+ - Transformers 4.46.0
167
+ - Pytorch 2.5.0+cu124
168
+ - Datasets 3.0.1
169
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7161a5d16f8108a600d96fa00c500095308c9d9ca42fc2ee1ba2345d1d5fafa4
3
+ size 35313738