error577 commited on
Commit
dddbb27
·
verified ·
1 Parent(s): 6ee6a25

End of training

Browse files
Files changed (3) hide show
  1. README.md +159 -0
  2. adapter_model.bin +3 -0
  3. adapter_model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,159 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: mit
4
+ base_model: unsloth/Phi-3-mini-4k-instruct
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: ba55cd3e-0abc-40f1-8d7b-be7e54d8b3cd
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: unsloth/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
+ - 27baa28e2081da37_train_data.json
31
+ ds_type: json
32
+ format: custom
33
+ path: /workspace/input_data/27baa28e2081da37_train_data.json
34
+ type:
35
+ field_instruction: prompt
36
+ field_output: gold_standard_solution
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/ba55cd3e-0abc-40f1-8d7b-be7e54d8b3cd
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/27baa28e2081da37_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: 5ada3ea5-5a8e-4e04-a917-5857ffb8b096
94
+ wandb_project: Gradients-On-Demand
95
+ wandb_run: your_name
96
+ wandb_runid: 5ada3ea5-5a8e-4e04-a917-5857ffb8b096
97
+ warmup_steps: 30
98
+ weight_decay: 0.0
99
+ xformers_attention: null
100
+
101
+ ```
102
+
103
+ </details><br>
104
+
105
+ # ba55cd3e-0abc-40f1-8d7b-be7e54d8b3cd
106
+
107
+ This model is a fine-tuned version of [unsloth/Phi-3-mini-4k-instruct](https://huggingface.co/unsloth/Phi-3-mini-4k-instruct) on the None dataset.
108
+ It achieves the following results on the evaluation set:
109
+ - Loss: 0.2144
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
+ | 0.9665 | 0.0001 | 1 | 0.3062 |
144
+ | 1.5107 | 0.0234 | 200 | 0.2194 |
145
+ | 1.2022 | 0.0468 | 400 | 0.2141 |
146
+ | 0.6125 | 0.0702 | 600 | 0.2148 |
147
+ | 0.9861 | 0.0936 | 800 | 0.2137 |
148
+ | 1.3334 | 0.1170 | 1000 | 0.2147 |
149
+ | 0.7461 | 0.1404 | 1200 | 0.2137 |
150
+ | 0.6805 | 0.1637 | 1400 | 0.2144 |
151
+
152
+
153
+ ### Framework versions
154
+
155
+ - PEFT 0.13.2
156
+ - Transformers 4.46.0
157
+ - Pytorch 2.5.0+cu124
158
+ - Datasets 3.0.1
159
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:76d91751507b92d2578dff6f01a720a0fb944bd25b853dd66e86e79ad31f6355
3
+ size 239237322
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a425bf6d9793f71ffddebb6105cc566b2b51a51e3ca05ce200f38128838ecf38
3
  size 239135488
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:737dbf6609daa5f37fa094ebc1dcab9cc18c95833de4b0c318de5d310301e390
3
  size 239135488