TracyTank commited on
Commit
ea818e2
1 Parent(s): 8ff3037

End of training

Browse files
Files changed (2) hide show
  1. README.md +172 -0
  2. adapter_model.bin +3 -0
README.md ADDED
@@ -0,0 +1,172 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: trl-internal-testing/tiny-random-LlamaForCausalLM
4
+ tags:
5
+ - axolotl
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: e9b6697f-b0d4-4434-8cf6-757d3202d201
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: trl-internal-testing/tiny-random-LlamaForCausalLM
22
+ bf16: auto
23
+ chat_template: llama3
24
+ cosine_min_lr_ratio: 0.1
25
+ data_processes: 4
26
+ dataset_prepared_path: null
27
+ datasets:
28
+ - data_files:
29
+ - e7d2781d0bcdf238_train_data.json
30
+ ds_type: json
31
+ format: custom
32
+ path: /workspace/input_data/e7d2781d0bcdf238_train_data.json
33
+ type:
34
+ field_input: input
35
+ field_instruction: instruction
36
+ field_output: output
37
+ format: '{instruction} {input}'
38
+ no_input_format: '{instruction}'
39
+ system_format: '{system}'
40
+ system_prompt: ''
41
+ debug: null
42
+ deepspeed: null
43
+ device_map: balanced
44
+ do_eval: true
45
+ early_stopping_patience: 1
46
+ eval_batch_size: 1
47
+ eval_sample_packing: false
48
+ eval_steps: 25
49
+ evaluation_strategy: steps
50
+ flash_attention: true
51
+ fp16: null
52
+ fsdp: null
53
+ fsdp_config: null
54
+ gradient_accumulation_steps: 16
55
+ gradient_checkpointing: true
56
+ group_by_length: true
57
+ hub_model_id: sn56b2/e9b6697f-b0d4-4434-8cf6-757d3202d201
58
+ hub_strategy: checkpoint
59
+ hub_token: null
60
+ learning_rate: 0.0001
61
+ load_in_4bit: false
62
+ load_in_8bit: false
63
+ local_rank: null
64
+ logging_steps: 1
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
+ lora_target_modules:
72
+ - q_proj
73
+ - v_proj
74
+ lr_scheduler: cosine
75
+ max_grad_norm: 1.0
76
+ max_memory:
77
+ 0: 75GB
78
+ 1: 75GB
79
+ 2: 75GB
80
+ 3: 75GB
81
+ max_steps: 50
82
+ micro_batch_size: 2
83
+ mixed_precision: bf16
84
+ mlflow_experiment_name: /tmp/e7d2781d0bcdf238_train_data.json
85
+ model_type: AutoModelForCausalLM
86
+ num_epochs: 3
87
+ optim_args:
88
+ adam_beta1: 0.9
89
+ adam_beta2: 0.95
90
+ adam_epsilon: 1e-5
91
+ optimizer: adamw_torch
92
+ output_dir: miner_id_24
93
+ pad_to_sequence_len: true
94
+ resume_from_checkpoint: null
95
+ s2_attention: null
96
+ sample_packing: false
97
+ save_steps: 25
98
+ save_strategy: steps
99
+ sequence_len: 2048
100
+ strict: false
101
+ tf32: false
102
+ tokenizer_type: AutoTokenizer
103
+ torch_compile: false
104
+ train_on_inputs: false
105
+ trust_remote_code: true
106
+ val_set_size: 50
107
+ wandb_entity: null
108
+ wandb_mode: disabled
109
+ wandb_name: e9b6697f-b0d4-4434-8cf6-757d3202d201
110
+ wandb_project: Public_TuningSN
111
+ wandb_runid: e9b6697f-b0d4-4434-8cf6-757d3202d201
112
+ warmup_ratio: 0.04
113
+ weight_decay: 0.01
114
+ xformers_attention: null
115
+
116
+ ```
117
+
118
+ </details><br>
119
+
120
+ # e9b6697f-b0d4-4434-8cf6-757d3202d201
121
+
122
+ This model is a fine-tuned version of [trl-internal-testing/tiny-random-LlamaForCausalLM](https://huggingface.co/trl-internal-testing/tiny-random-LlamaForCausalLM) on the None dataset.
123
+ It achieves the following results on the evaluation set:
124
+ - Loss: 10.3579
125
+
126
+ ## Model description
127
+
128
+ More information needed
129
+
130
+ ## Intended uses & limitations
131
+
132
+ More information needed
133
+
134
+ ## Training and evaluation data
135
+
136
+ More information needed
137
+
138
+ ## Training procedure
139
+
140
+ ### Training hyperparameters
141
+
142
+ The following hyperparameters were used during training:
143
+ - learning_rate: 0.0001
144
+ - train_batch_size: 2
145
+ - eval_batch_size: 1
146
+ - seed: 42
147
+ - distributed_type: multi-GPU
148
+ - num_devices: 4
149
+ - gradient_accumulation_steps: 16
150
+ - total_train_batch_size: 128
151
+ - total_eval_batch_size: 4
152
+ - optimizer: Use OptimizerNames.ADAMW_TORCH 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
153
+ - lr_scheduler_type: cosine
154
+ - lr_scheduler_warmup_steps: 2
155
+ - training_steps: 50
156
+
157
+ ### Training results
158
+
159
+ | Training Loss | Epoch | Step | Validation Loss |
160
+ |:-------------:|:------:|:----:|:---------------:|
161
+ | 10.3782 | 0.0024 | 1 | 10.3751 |
162
+ | 10.3618 | 0.0595 | 25 | 10.3639 |
163
+ | 10.3561 | 0.1190 | 50 | 10.3579 |
164
+
165
+
166
+ ### Framework versions
167
+
168
+ - PEFT 0.13.2
169
+ - Transformers 4.46.0
170
+ - Pytorch 2.5.0+cu124
171
+ - Datasets 3.0.1
172
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5a7b1a743ccd73510eae1ebf54d0b2378b34501eceee5738c0a4597f09ed7f0b
3
+ size 104322