baby-dev commited on
Commit
cfcffae
·
verified ·
1 Parent(s): 823e1d5

End of training

Browse files
README.md CHANGED
@@ -1,41 +1,165 @@
1
- ---
2
- library_name: peft
3
- base_model: HuggingFaceM4/tiny-random-LlamaForCausalLM
4
- tags:
5
- - axolotl
6
- - generated_from_trainer
7
- model-index:
8
- - name: test-default-01
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
-
17
- # test-default-01
18
-
19
- This model is a fine-tuned version of [HuggingFaceM4/tiny-random-LlamaForCausalLM](https://huggingface.co/HuggingFaceM4/tiny-random-LlamaForCausalLM) on the None dataset.
20
- It achieves the following results on the evaluation set:
21
- - Loss: 10.0458
22
-
23
- ## Model description
24
-
25
- More information needed
26
-
27
- ## Intended uses & limitations
28
-
29
- More information needed
30
-
31
- ## Training and evaluation data
32
-
33
- More information needed
34
-
35
- ### Framework versions
36
-
37
- - PEFT 0.13.2
38
- - Transformers 4.46.0
39
- - Pytorch 2.5.0+cu124
40
- - Datasets 3.0.1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
41
  - Tokenizers 0.20.1
 
1
+ ---
2
+ library_name: peft
3
+ base_model: HuggingFaceM4/tiny-random-LlamaForCausalLM
4
+ tags:
5
+ - axolotl
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: test-default-01
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
+ base_model: HuggingFaceM4/tiny-random-LlamaForCausalLM
22
+ bf16: true
23
+ chat_template: llama3
24
+ dataset_prepared_path: null
25
+ datasets:
26
+ - data_files:
27
+ - c730d273ec840a60_train_data.json
28
+ ds_type: json
29
+ format: custom
30
+ path: /workspace/input_data/c730d273ec840a60_train_data.json
31
+ type:
32
+ field_input: rows
33
+ field_instruction: code
34
+ field_output: name
35
+ format: '{instruction} {input}'
36
+ no_input_format: '{instruction}'
37
+ system_format: '{system}'
38
+ system_prompt: ''
39
+ debug: null
40
+ deepspeed: null
41
+ device_map: auto
42
+ do_eval: true
43
+ early_stopping_patience: 5
44
+ eval_batch_size: 4
45
+ eval_max_new_tokens: 128
46
+ eval_steps: 50
47
+ eval_table_size: null
48
+ evals_per_epoch: null
49
+ flash_attention: false
50
+ fp16: false
51
+ fsdp: null
52
+ fsdp_config: null
53
+ gradient_accumulation_steps: 4
54
+ gradient_checkpointing: false
55
+ group_by_length: true
56
+ hub_model_id: baby-dev/test-default-01
57
+ hub_repo: null
58
+ hub_strategy: end
59
+ hub_token: null
60
+ learning_rate: 0.0002
61
+ load_in_4bit: false
62
+ load_in_8bit: false
63
+ local_rank: null
64
+ logging_steps: 10
65
+ lora_alpha: 64
66
+ lora_dropout: 0.05
67
+ lora_fan_in_fan_out: null
68
+ lora_model_dir: null
69
+ lora_r: 32
70
+ lora_target_linear: true
71
+ lr_scheduler: constant
72
+ max_grad_norm: 1.0
73
+ max_memory:
74
+ 0: 75GB
75
+ max_steps: 250
76
+ micro_batch_size: 2
77
+ mlflow_experiment_name: /tmp/c730d273ec840a60_train_data.json
78
+ model_type: AutoModelForCausalLM
79
+ num_epochs: 3
80
+ optim_args:
81
+ adam_beta1: 0.9
82
+ adam_beta2: 0.95
83
+ adam_epsilon: 1e-5
84
+ optimizer: adamw_bnb_8bit
85
+ output_dir: miner_id_24
86
+ pad_to_sequence_len: true
87
+ resume_from_checkpoint: null
88
+ s2_attention: null
89
+ sample_packing: false
90
+ save_steps: 50
91
+ saves_per_epoch: null
92
+ sequence_len: 512
93
+ strict: false
94
+ tf32: true
95
+ tokenizer_type: AutoTokenizer
96
+ train_on_inputs: false
97
+ trust_remote_code: true
98
+ val_set_size: 0.05
99
+ wandb_entity: null
100
+ wandb_mode: online
101
+ wandb_name: 2b8100bd-e191-4852-9932-fc6745a83a32
102
+ wandb_project: SN56-43
103
+ wandb_run: your_name
104
+ wandb_runid: 2b8100bd-e191-4852-9932-fc6745a83a32
105
+ warmup_steps: 10
106
+ weight_decay: 0.0
107
+ xformers_attention: null
108
+
109
+ ```
110
+
111
+ </details><br>
112
+
113
+ # test-default-01
114
+
115
+ This model is a fine-tuned version of [HuggingFaceM4/tiny-random-LlamaForCausalLM](https://huggingface.co/HuggingFaceM4/tiny-random-LlamaForCausalLM) on the None dataset.
116
+ It achieves the following results on the evaluation set:
117
+ - Loss: 10.0461
118
+
119
+ ## Model description
120
+
121
+ More information needed
122
+
123
+ ## Intended uses & limitations
124
+
125
+ More information needed
126
+
127
+ ## Training and evaluation data
128
+
129
+ More information needed
130
+
131
+ ## Training procedure
132
+
133
+ ### Training hyperparameters
134
+
135
+ The following hyperparameters were used during training:
136
+ - learning_rate: 0.0002
137
+ - train_batch_size: 2
138
+ - eval_batch_size: 4
139
+ - seed: 42
140
+ - gradient_accumulation_steps: 4
141
+ - total_train_batch_size: 8
142
+ - optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=adam_beta1=0.9,adam_beta2=0.95,adam_epsilon=1e-5
143
+ - lr_scheduler_type: constant
144
+ - lr_scheduler_warmup_steps: 10
145
+ - training_steps: 250
146
+
147
+ ### Training results
148
+
149
+ | Training Loss | Epoch | Step | Validation Loss |
150
+ |:-------------:|:------:|:----:|:---------------:|
151
+ | No log | 0.0017 | 1 | 10.3632 |
152
+ | 10.1451 | 0.0846 | 50 | 10.1555 |
153
+ | 10.0091 | 0.1693 | 100 | 10.0546 |
154
+ | 10.0116 | 0.2539 | 150 | 10.0513 |
155
+ | 10.0141 | 0.3386 | 200 | 10.0488 |
156
+ | 10.0093 | 0.4232 | 250 | 10.0461 |
157
+
158
+
159
+ ### Framework versions
160
+
161
+ - PEFT 0.13.2
162
+ - Transformers 4.46.0
163
+ - Pytorch 2.5.0+cu124
164
+ - Datasets 3.0.1
165
  - Tokenizers 0.20.1
adapter_config.json CHANGED
@@ -20,13 +20,13 @@
20
  "rank_pattern": {},
21
  "revision": null,
22
  "target_modules": [
 
23
  "down_proj",
24
- "q_proj",
25
  "o_proj",
26
- "gate_proj",
27
- "up_proj",
28
  "k_proj",
29
- "v_proj"
 
 
30
  ],
31
  "task_type": "CAUSAL_LM",
32
  "use_dora": false,
 
20
  "rank_pattern": {},
21
  "revision": null,
22
  "target_modules": [
23
+ "v_proj",
24
  "down_proj",
 
25
  "o_proj",
 
 
26
  "k_proj",
27
+ "gate_proj",
28
+ "q_proj",
29
+ "up_proj"
30
  ],
31
  "task_type": "CAUSAL_LM",
32
  "use_dora": false,
adapter_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:205782a99f62519600cd2b68e7422316b22672b1d147d80e76630f1382c8466e
3
  size 104322
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:173082152d06d9881a0ba836787780672922d74b240bc452817a1a9e1dd65a88
3
  size 104322
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e4e4fe181e83e6c7c00bc6ec075e87fb77fe72f07a40d0f4551a2e673e9d70c7
3
  size 97728
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:787c931a61dcef9a09f4865f585ca9a1676ee6c8557bc725f6b3d862616f39ad
3
  size 97728
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2a1ec810967320e3c24d8c7b6696308cae904fc205727ef08a59093620d7caa2
3
  size 6776
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:247807b9fbae7bb66e11564d2bbc1ddd55c45a3a7ad93a60eaea6cb9b7e34d32
3
  size 6776