RoyJoy commited on
Commit
d0146fb
·
verified ·
1 Parent(s): f99279e

End of training

Browse files
Files changed (3) hide show
  1. README.md +171 -0
  2. adapter_model.bin +3 -0
  3. adapter_model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,171 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: mit
4
+ base_model: microsoft/phi-1_5
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: 76be5225-3cab-4be3-9fe8-9839159e8213
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: microsoft/phi-1_5
23
+ bf16: true
24
+ chat_template: llama3
25
+ data_processes: 16
26
+ dataset_prepared_path: null
27
+ datasets:
28
+ - data_files:
29
+ - 31e5f3a859d0b618_train_data.json
30
+ ds_type: json
31
+ format: custom
32
+ path: /workspace/input_data/31e5f3a859d0b618_train_data.json
33
+ type:
34
+ field_input: ''
35
+ field_instruction: prompt
36
+ field_output: chosen
37
+ format: '{instruction}'
38
+ no_input_format: '{instruction}'
39
+ system_format: '{system}'
40
+ system_prompt: ''
41
+ debug: null
42
+ deepspeed: null
43
+ device_map: auto
44
+ do_eval: true
45
+ early_stopping_patience: 5
46
+ eval_batch_size: 4
47
+ eval_max_new_tokens: 128
48
+ eval_steps: 50
49
+ eval_table_size: null
50
+ evals_per_epoch: null
51
+ flash_attention: true
52
+ fp16: false
53
+ fsdp: null
54
+ fsdp_config: null
55
+ gradient_accumulation_steps: 4
56
+ gradient_checkpointing: true
57
+ group_by_length: true
58
+ hub_model_id: sn56t0/76be5225-3cab-4be3-9fe8-9839159e8213
59
+ hub_repo: null
60
+ hub_strategy: checkpoint
61
+ hub_token: null
62
+ learning_rate: 0.0001
63
+ load_in_4bit: false
64
+ load_in_8bit: false
65
+ local_rank: null
66
+ logging_steps: 1
67
+ lora_alpha: 128
68
+ lora_dropout: 0.05
69
+ lora_fan_in_fan_out: null
70
+ lora_model_dir: null
71
+ lora_r: 64
72
+ lora_target_linear: true
73
+ lr_scheduler: cosine
74
+ max_grad_norm: 1.0
75
+ max_memory:
76
+ 0: 75GB
77
+ max_steps: 200
78
+ micro_batch_size: 8
79
+ mlflow_experiment_name: /tmp/31e5f3a859d0b618_train_data.json
80
+ model_type: AutoModelForCausalLM
81
+ num_epochs: 3
82
+ optim_args:
83
+ adam_beta1: 0.9
84
+ adam_beta2: 0.95
85
+ adam_epsilon: 1e-5
86
+ optimizer: adamw_bnb_8bit
87
+ output_dir: miner_id_24
88
+ pad_to_sequence_len: true
89
+ resume_from_checkpoint: null
90
+ s2_attention: null
91
+ sample_packing: false
92
+ save_steps: 50
93
+ saves_per_epoch: null
94
+ seed: 3264654189
95
+ sequence_len: 1024
96
+ shuffle: true
97
+ special_tokens:
98
+ pad_token: <|endoftext|>
99
+ strict: false
100
+ tf32: true
101
+ tokenizer_type: AutoTokenizer
102
+ torch_compile: true
103
+ train_on_inputs: false
104
+ trust_remote_code: true
105
+ val_set_size: 0.05
106
+ wandb_entity: sn56-miner
107
+ wandb_mode: disabled
108
+ wandb_name: null
109
+ wandb_project: god
110
+ wandb_run: izv6
111
+ wandb_runid: null
112
+ warmup_steps: 10
113
+ weight_decay: 0.0
114
+ xformers_attention: null
115
+
116
+ ```
117
+
118
+ </details><br>
119
+
120
+ # 76be5225-3cab-4be3-9fe8-9839159e8213
121
+
122
+ This model is a fine-tuned version of [microsoft/phi-1_5](https://huggingface.co/microsoft/phi-1_5) on the None dataset.
123
+ It achieves the following results on the evaluation set:
124
+ - Loss: 1.4963
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: 8
145
+ - eval_batch_size: 4
146
+ - seed: 3264654189
147
+ - distributed_type: multi-GPU
148
+ - num_devices: 4
149
+ - gradient_accumulation_steps: 4
150
+ - total_train_batch_size: 128
151
+ - total_eval_batch_size: 16
152
+ - 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
153
+ - lr_scheduler_type: cosine
154
+ - lr_scheduler_warmup_steps: 10
155
+ - training_steps: 60
156
+
157
+ ### Training results
158
+
159
+ | Training Loss | Epoch | Step | Validation Loss |
160
+ |:-------------:|:-----:|:----:|:---------------:|
161
+ | 1.9156 | 0.05 | 1 | 2.0066 |
162
+ | 1.5616 | 2.5 | 50 | 1.4963 |
163
+
164
+
165
+ ### Framework versions
166
+
167
+ - PEFT 0.13.2
168
+ - Transformers 4.46.0
169
+ - Pytorch 2.5.0+cu124
170
+ - Datasets 3.0.1
171
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f00e584277f2538021dbf33e6a616fbcf7aae23b7b14149682efe67cff10b430
3
+ size 226596042
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8eedc6dd7db3d4fe601dd08ca45ac38cf98205c00682b172f51a906272469b9b
3
  size 226530600
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2dc1ed4ea3f34346ba15f8517ff368ba55023ad108f2ac9b39b14eb2653313a6
3
  size 226530600