error577 commited on
Commit
ca774a9
·
verified ·
1 Parent(s): d53674b

End of training

Browse files
Files changed (3) hide show
  1. README.md +166 -0
  2. adapter_model.bin +3 -0
  3. adapter_model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,166 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: mit
4
+ base_model: microsoft/Phi-3-mini-4k-instruct
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: e99b6a20-be94-4148-af75-f696f7fce256
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: qlora
22
+ auto_resume_from_checkpoints: true
23
+ base_model: microsoft/Phi-3-mini-4k-instruct
24
+ bf16: auto
25
+ chat_template: llama3
26
+ dataset_prepared_path: null
27
+ dataset_processes: 6
28
+ datasets:
29
+ - data_files:
30
+ - e2ea22acdb815831_train_data.json
31
+ ds_type: json
32
+ format: custom
33
+ path: /workspace/input_data/e2ea22acdb815831_train_data.json
34
+ type:
35
+ field_instruction: premise
36
+ field_output: hypothesis
37
+ format: '{instruction}'
38
+ no_input_format: '{instruction}'
39
+ system_format: '{system}'
40
+ system_prompt: ''
41
+ debug: null
42
+ deepspeed: null
43
+ early_stopping_patience: 3
44
+ eval_max_new_tokens: 128
45
+ eval_steps: 200
46
+ eval_table_size: null
47
+ evals_per_epoch: null
48
+ flash_attention: true
49
+ fp16: false
50
+ fsdp: null
51
+ fsdp_config: null
52
+ gradient_accumulation_steps: 4
53
+ gradient_checkpointing: true
54
+ group_by_length: false
55
+ hub_model_id: error577/e99b6a20-be94-4148-af75-f696f7fce256
56
+ hub_repo: null
57
+ hub_strategy: checkpoint
58
+ hub_token: null
59
+ learning_rate: 0.0002
60
+ load_in_4bit: true
61
+ load_in_8bit: false
62
+ local_rank: null
63
+ logging_steps: 1
64
+ lora_alpha: 64
65
+ lora_dropout: 0.1
66
+ lora_fan_in_fan_out: null
67
+ lora_model_dir: null
68
+ lora_r: 32
69
+ lora_target_linear: true
70
+ lr_scheduler: cosine
71
+ max_grad_norm: 1.0
72
+ max_steps: null
73
+ micro_batch_size: 2
74
+ mlflow_experiment_name: /tmp/e2ea22acdb815831_train_data.json
75
+ model_type: AutoModelForCausalLM
76
+ num_epochs: 3
77
+ optimizer: adamw_bnb_8bit
78
+ output_dir: miner_id_24
79
+ pad_to_sequence_len: true
80
+ resume_from_checkpoint: null
81
+ s2_attention: null
82
+ sample_packing: false
83
+ save_steps: 200
84
+ sequence_len: 512
85
+ strict: false
86
+ tf32: false
87
+ tokenizer_type: AutoTokenizer
88
+ train_on_inputs: false
89
+ trust_remote_code: true
90
+ val_set_size: 0.005
91
+ wandb_entity: null
92
+ wandb_mode: online
93
+ wandb_name: c04ebf44-479a-4275-a61c-afd0b7f9fa9a
94
+ wandb_project: Gradients-On-Demand
95
+ wandb_run: your_name
96
+ wandb_runid: c04ebf44-479a-4275-a61c-afd0b7f9fa9a
97
+ warmup_steps: 30
98
+ weight_decay: 0.0
99
+ xformers_attention: null
100
+
101
+ ```
102
+
103
+ </details><br>
104
+
105
+ # e99b6a20-be94-4148-af75-f696f7fce256
106
+
107
+ This model is a fine-tuned version of [microsoft/Phi-3-mini-4k-instruct](https://huggingface.co/microsoft/Phi-3-mini-4k-instruct) on the None dataset.
108
+ It achieves the following results on the evaluation set:
109
+ - Loss: 1.6192
110
+
111
+ ## Model description
112
+
113
+ More information needed
114
+
115
+ ## Intended uses & limitations
116
+
117
+ More information needed
118
+
119
+ ## Training and evaluation data
120
+
121
+ More information needed
122
+
123
+ ## Training procedure
124
+
125
+ ### Training hyperparameters
126
+
127
+ The following hyperparameters were used during training:
128
+ - learning_rate: 0.0002
129
+ - train_batch_size: 2
130
+ - eval_batch_size: 2
131
+ - seed: 42
132
+ - gradient_accumulation_steps: 4
133
+ - total_train_batch_size: 8
134
+ - optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
135
+ - lr_scheduler_type: cosine
136
+ - lr_scheduler_warmup_steps: 30
137
+ - num_epochs: 3
138
+
139
+ ### Training results
140
+
141
+ | Training Loss | Epoch | Step | Validation Loss |
142
+ |:-------------:|:------:|:----:|:---------------:|
143
+ | 12.5501 | 0.0000 | 1 | 3.1170 |
144
+ | 8.1989 | 0.0095 | 200 | 1.6985 |
145
+ | 6.3793 | 0.0191 | 400 | 1.6660 |
146
+ | 8.2906 | 0.0286 | 600 | 1.6446 |
147
+ | 5.6457 | 0.0382 | 800 | 1.6340 |
148
+ | 7.2242 | 0.0477 | 1000 | 1.6225 |
149
+ | 6.4631 | 0.0573 | 1200 | 1.6280 |
150
+ | 5.7667 | 0.0668 | 1400 | 1.6251 |
151
+ | 8.727 | 0.0764 | 1600 | 1.6216 |
152
+ | 5.2037 | 0.0859 | 1800 | 1.6195 |
153
+ | 3.9859 | 0.0955 | 2000 | 1.6056 |
154
+ | 5.4473 | 0.1050 | 2200 | 1.6023 |
155
+ | 6.4552 | 0.1145 | 2400 | 1.6121 |
156
+ | 5.2552 | 0.1241 | 2600 | 1.6165 |
157
+ | 6.5086 | 0.1336 | 2800 | 1.6192 |
158
+
159
+
160
+ ### Framework versions
161
+
162
+ - PEFT 0.13.2
163
+ - Transformers 4.46.0
164
+ - Pytorch 2.5.0+cu124
165
+ - Datasets 3.0.1
166
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0b85515625570ea1e987368a4b919cce35f7b3e83b78cfb9a5bd2852a6d34711
3
+ size 201419466
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a26138f4d4689fa8b725947d495dbade33603970d0d8a9e87c0397e9d80c7171
3
  size 201361312
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c0f3344c939664491da45ddbb458b11f72bfc2f8316695ca448d39f79c7e8629
3
  size 201361312