cwaud commited on
Commit
093b5c4
1 Parent(s): a370590

End of training

Browse files
Files changed (3) hide show
  1. README.md +175 -0
  2. adapter_model.bin +3 -0
  3. adapter_model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,175 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: llama3.2
4
+ base_model: unsloth/Llama-3.2-1B-Instruct
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: 8d32ad8c-9435-4ae7-983b-4ac80c8eefb0
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: unsloth/Llama-3.2-1B-Instruct
23
+ bf16: auto
24
+ bnb_config_kwargs:
25
+ bnb_4bit_quant_type: nf4
26
+ bnb_4bit_use_double_quant: true
27
+ chat_template: llama3
28
+ cosine_min_lr_ratio: 0.1
29
+ data_processes: 16
30
+ dataset_prepared_path: null
31
+ datasets:
32
+ - data_files:
33
+ - MATH-Hard_train_data.json
34
+ ds_type: json
35
+ path: /workspace/input_data/MATH-Hard_train_data.json
36
+ type:
37
+ field_input: problem
38
+ field_instruction: type
39
+ field_output: solution
40
+ system_format: '{system}'
41
+ system_prompt: ''
42
+ debug: null
43
+ deepspeed: null
44
+ device_map: '{'''':torch.cuda.current_device()}'
45
+ do_eval: true
46
+ early_stopping_patience: 1
47
+ eval_batch_size: 10
48
+ eval_sample_packing: false
49
+ eval_steps: 25
50
+ evaluation_strategy: steps
51
+ flash_attention: true
52
+ fp16: null
53
+ fsdp: null
54
+ fsdp_config: null
55
+ gradient_accumulation_steps: 3
56
+ gradient_checkpointing: true
57
+ group_by_length: true
58
+ hub_model_id: cwaud/8d32ad8c-9435-4ae7-983b-4ac80c8eefb0
59
+ hub_repo: cwaud
60
+ hub_strategy: checkpoint
61
+ hub_token: null
62
+ learning_rate: 0.0002
63
+ load_in_4bit: false
64
+ load_in_8bit: false
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_grad_norm: 1.0
78
+ max_memory:
79
+ 0: 70GiB
80
+ 1: 70GiB
81
+ 2: 70GiB
82
+ 3: 70GiB
83
+ max_steps: 1406
84
+ micro_batch_size: 10
85
+ mlflow_experiment_name: /tmp/MATH-Hard_train_data.json
86
+ model_type: AutoModelForCausalLM
87
+ num_epochs: 3
88
+ optim_args:
89
+ adam_beta1: 0.9
90
+ adam_beta2: 0.95
91
+ adam_epsilon: 1e-5
92
+ optimizer: adamw_torch
93
+ output_dir: miner_id_24
94
+ pad_to_sequence_len: true
95
+ resume_from_checkpoint: null
96
+ s2_attention: null
97
+ sample_packing: false
98
+ save_steps: 50
99
+ save_strategy: steps
100
+ sequence_len: 2048
101
+ strict: false
102
+ tf32: false
103
+ tokenizer_type: AutoTokenizer
104
+ torch_compile: false
105
+ train_on_inputs: false
106
+ trust_remote_code: true
107
+ val_set_size: 50
108
+ wandb_entity: rayonlabs-rayon-labs
109
+ wandb_mode: online
110
+ wandb_project: Public_TuningSN
111
+ wandb_run: miner_id_24
112
+ wandb_runid: 8d32ad8c-9435-4ae7-983b-4ac80c8eefb0
113
+ warmup_raio: 0.03
114
+ warmup_ratio: 0.04
115
+ weight_decay: 0.01
116
+ xformers_attention: null
117
+
118
+ ```
119
+
120
+ </details><br>
121
+
122
+ # 8d32ad8c-9435-4ae7-983b-4ac80c8eefb0
123
+
124
+ This model is a fine-tuned version of [unsloth/Llama-3.2-1B-Instruct](https://huggingface.co/unsloth/Llama-3.2-1B-Instruct) on the None dataset.
125
+ It achieves the following results on the evaluation set:
126
+ - Loss: 0.7945
127
+
128
+ ## Model description
129
+
130
+ More information needed
131
+
132
+ ## Intended uses & limitations
133
+
134
+ More information needed
135
+
136
+ ## Training and evaluation data
137
+
138
+ More information needed
139
+
140
+ ## Training procedure
141
+
142
+ ### Training hyperparameters
143
+
144
+ The following hyperparameters were used during training:
145
+ - learning_rate: 0.0002
146
+ - train_batch_size: 10
147
+ - eval_batch_size: 10
148
+ - seed: 42
149
+ - distributed_type: multi-GPU
150
+ - num_devices: 4
151
+ - gradient_accumulation_steps: 3
152
+ - total_train_batch_size: 120
153
+ - total_eval_batch_size: 40
154
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
155
+ - lr_scheduler_type: cosine
156
+ - lr_scheduler_warmup_steps: 3
157
+ - training_steps: 87
158
+
159
+ ### Training results
160
+
161
+ | Training Loss | Epoch | Step | Validation Loss |
162
+ |:-------------:|:------:|:----:|:---------------:|
163
+ | 0.8691 | 0.0345 | 1 | 1.0258 |
164
+ | 0.7982 | 0.8621 | 25 | 0.8201 |
165
+ | 0.8211 | 1.7241 | 50 | 0.7991 |
166
+ | 0.7486 | 2.5862 | 75 | 0.7945 |
167
+
168
+
169
+ ### Framework versions
170
+
171
+ - PEFT 0.13.2
172
+ - Transformers 4.45.2
173
+ - Pytorch 2.4.1+cu124
174
+ - Datasets 3.0.1
175
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:359620a8e22ef9379c1eb4fd44ce9536058484bb5e48c26091d2ca536ed8f977
3
+ size 45169354
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:37b624f6cd34e742c70b1beca5886f62f1b30834576340df21a6ccd9ed51ef3a
3
  size 45118424
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c60eeea7a6de18390f3a4c758307ab1fc12d6f553995d38f452605fc143401bc
3
  size 45118424