RoyJoy commited on
Commit
f5620ac
1 Parent(s): d30eda3

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
+ base_model: HuggingFaceH4/tiny-random-LlamaForCausalLM
4
+ tags:
5
+ - axolotl
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: 1b7592f2-9ae4-4280-8212-f96a7b3cea94
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: HuggingFaceH4/tiny-random-LlamaForCausalLM
22
+ bf16: auto
23
+ chat_template: llama3
24
+ cosine_min_lr_ratio: 0.1
25
+ data_processes: 16
26
+ dataset_prepared_path: null
27
+ datasets:
28
+ - data_files:
29
+ - c363ae3eadc4c069_train_data.json
30
+ ds_type: json
31
+ format: custom
32
+ path: /workspace/input_data/c363ae3eadc4c069_train_data.json
33
+ type:
34
+ field_instruction: prompt_lang
35
+ field_output: answer_lang
36
+ format: '{instruction}'
37
+ no_input_format: '{instruction}'
38
+ system_format: '{system}'
39
+ system_prompt: ''
40
+ debug: null
41
+ deepspeed: null
42
+ device_map: auto
43
+ do_eval: true
44
+ early_stopping_patience: 1
45
+ eval_batch_size: 1
46
+ eval_sample_packing: false
47
+ eval_steps: 25
48
+ evaluation_strategy: steps
49
+ flash_attention: true
50
+ fp16: null
51
+ fsdp: null
52
+ fsdp_config: null
53
+ gradient_accumulation_steps: 32
54
+ gradient_checkpointing: true
55
+ group_by_length: true
56
+ hub_model_id: sn56a1/1b7592f2-9ae4-4280-8212-f96a7b3cea94
57
+ hub_strategy: checkpoint
58
+ hub_token: null
59
+ hub_username: dada22231
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: 70GiB
78
+ 1: 70GiB
79
+ 2: 70GiB
80
+ 3: 70GiB
81
+ max_steps: 95
82
+ micro_batch_size: 1
83
+ mlflow_experiment_name: /tmp/c363ae3eadc4c069_train_data.json
84
+ model_type: AutoModelForCausalLM
85
+ num_epochs: 3
86
+ optim_args:
87
+ adam_beta1: 0.9
88
+ adam_beta2: 0.95
89
+ adam_epsilon: 1e-5
90
+ optimizer: adamw_torch
91
+ output_dir: miner_id_24
92
+ pad_to_sequence_len: true
93
+ repository_id: dada22231/77d95c8a-4c70-4eb9-a221-df84d7ed4b00
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
+ special_tokens:
101
+ pad_token: </s>
102
+ strict: false
103
+ tf32: false
104
+ tokenizer_type: AutoTokenizer
105
+ torch_compile: false
106
+ train_on_inputs: false
107
+ trust_remote_code: true
108
+ val_set_size: 50
109
+ wandb_entity: null
110
+ wandb_mode: disabled
111
+ wandb_name: 1b7592f2-9ae4-4280-8212-f96a7b3cea94
112
+ wandb_project: Public_TuningSN
113
+ wandb_runid: 1b7592f2-9ae4-4280-8212-f96a7b3cea94
114
+ warmup_ratio: 0.04
115
+ weight_decay: 0.01
116
+ xformers_attention: null
117
+
118
+ ```
119
+
120
+ </details><br>
121
+
122
+ # 1b7592f2-9ae4-4280-8212-f96a7b3cea94
123
+
124
+ This model is a fine-tuned version of [HuggingFaceH4/tiny-random-LlamaForCausalLM](https://huggingface.co/HuggingFaceH4/tiny-random-LlamaForCausalLM) on the None dataset.
125
+ It achieves the following results on the evaluation set:
126
+ - Loss: 10.1207
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.0001
146
+ - train_batch_size: 1
147
+ - eval_batch_size: 1
148
+ - seed: 42
149
+ - distributed_type: multi-GPU
150
+ - num_devices: 4
151
+ - gradient_accumulation_steps: 32
152
+ - total_train_batch_size: 128
153
+ - total_eval_batch_size: 4
154
+ - 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
155
+ - lr_scheduler_type: cosine
156
+ - lr_scheduler_warmup_steps: 3
157
+ - training_steps: 95
158
+
159
+ ### Training results
160
+
161
+ | Training Loss | Epoch | Step | Validation Loss |
162
+ |:-------------:|:------:|:----:|:---------------:|
163
+ | 10.4083 | 0.0008 | 1 | 10.4085 |
164
+ | 10.2504 | 0.0206 | 25 | 10.2250 |
165
+ | 10.1444 | 0.0413 | 50 | 10.1389 |
166
+ | 10.1341 | 0.0619 | 75 | 10.1207 |
167
+
168
+
169
+ ### Framework versions
170
+
171
+ - PEFT 0.13.2
172
+ - Transformers 4.46.0
173
+ - Pytorch 2.5.0+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:01324fcfeab4db7f6a2648aa6aee5dc372f7e4ea0c950a6ed04865f271d7ed8d
3
+ size 104322
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:079fe34616f8e60a65e8e9f96c468e972a3078550321495a15cdb67684df2282
3
  size 97728
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a77035769512ca32e73719aa55c11bc79eb5cc0b61959f7810e492a01abae8b
3
  size 97728