lesso14 commited on
Commit
54445ca
·
verified ·
1 Parent(s): 38f1766

End of training

Browse files
Files changed (2) hide show
  1. README.md +165 -0
  2. adapter_model.bin +3 -0
README.md ADDED
@@ -0,0 +1,165 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: mit
4
+ base_model: microsoft/phi-2
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: 15d56899-41e5-46be-9482-e05c51fc9787
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
+ auto_find_batch_size: true
23
+ base_model: microsoft/phi-2
24
+ bf16: auto
25
+ chat_template: llama3
26
+ dataset_prepared_path: null
27
+ datasets:
28
+ - data_files:
29
+ - 1ee69cf7c0a09cea_train_data.json
30
+ ds_type: json
31
+ format: custom
32
+ path: /workspace/input_data/1ee69cf7c0a09cea_train_data.json
33
+ type:
34
+ field_input: intent
35
+ field_instruction: instruction
36
+ field_output: response
37
+ format: '{instruction} {input}'
38
+ no_input_format: '{instruction}'
39
+ system_format: '{system}'
40
+ system_prompt: ''
41
+ debug: null
42
+ deepspeed: null
43
+ do_eval: true
44
+ early_stopping_patience: 3
45
+ eval_max_new_tokens: 128
46
+ eval_steps: 50
47
+ evals_per_epoch: null
48
+ flash_attention: true
49
+ fp16: false
50
+ fsdp: null
51
+ fsdp_config: null
52
+ gradient_accumulation_steps: 2
53
+ gradient_checkpointing: false
54
+ group_by_length: true
55
+ hub_model_id: lesso14/15d56899-41e5-46be-9482-e05c51fc9787
56
+ hub_repo: null
57
+ hub_strategy: checkpoint
58
+ hub_token: null
59
+ learning_rate: 0.000214
60
+ load_in_4bit: false
61
+ load_in_8bit: false
62
+ local_rank: null
63
+ logging_steps: 10
64
+ lora_alpha: 128
65
+ lora_dropout: 0.05
66
+ lora_fan_in_fan_out: null
67
+ lora_model_dir: null
68
+ lora_r: 64
69
+ lora_target_linear: true
70
+ lr_scheduler: cosine
71
+ max_grad_norm: 1.0
72
+ max_steps: 500
73
+ micro_batch_size: 4
74
+ mlflow_experiment_name: /tmp/G.O.D/1ee69cf7c0a09cea_train_data.json
75
+ model_type: AutoModelForCausalLM
76
+ num_epochs: 1
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: 50
84
+ saves_per_epoch: null
85
+ sequence_len: 512
86
+ special_tokens:
87
+ pad_token: <|endoftext|>
88
+ strict: false
89
+ tf32: true
90
+ tokenizer_type: AutoTokenizer
91
+ train_on_inputs: false
92
+ trust_remote_code: true
93
+ val_set_size: 0.05
94
+ wandb_entity: null
95
+ wandb_mode: online
96
+ wandb_name: 37cb917e-d3d3-40a3-8b8b-b71ad004f462
97
+ wandb_project: 14a
98
+ wandb_run: your_name
99
+ wandb_runid: 37cb917e-d3d3-40a3-8b8b-b71ad004f462
100
+ warmup_steps: 50
101
+ weight_decay: 0.0
102
+ xformers_attention: null
103
+
104
+ ```
105
+
106
+ </details><br>
107
+
108
+ # 15d56899-41e5-46be-9482-e05c51fc9787
109
+
110
+ This model is a fine-tuned version of [microsoft/phi-2](https://huggingface.co/microsoft/phi-2) on the None dataset.
111
+ It achieves the following results on the evaluation set:
112
+ - Loss: 0.6424
113
+
114
+ ## Model description
115
+
116
+ More information needed
117
+
118
+ ## Intended uses & limitations
119
+
120
+ More information needed
121
+
122
+ ## Training and evaluation data
123
+
124
+ More information needed
125
+
126
+ ## Training procedure
127
+
128
+ ### Training hyperparameters
129
+
130
+ The following hyperparameters were used during training:
131
+ - learning_rate: 0.000214
132
+ - train_batch_size: 4
133
+ - eval_batch_size: 4
134
+ - seed: 42
135
+ - gradient_accumulation_steps: 2
136
+ - total_train_batch_size: 8
137
+ - optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
138
+ - lr_scheduler_type: cosine
139
+ - lr_scheduler_warmup_steps: 50
140
+ - training_steps: 500
141
+
142
+ ### Training results
143
+
144
+ | Training Loss | Epoch | Step | Validation Loss |
145
+ |:-------------:|:------:|:----:|:---------------:|
146
+ | No log | 0.0000 | 1 | 0.7124 |
147
+ | 0.7606 | 0.0021 | 50 | 0.7107 |
148
+ | 0.7933 | 0.0042 | 100 | 0.8085 |
149
+ | 0.8646 | 0.0063 | 150 | 0.8180 |
150
+ | 0.8118 | 0.0084 | 200 | 0.6951 |
151
+ | 0.7386 | 0.0105 | 250 | 0.6735 |
152
+ | 0.7899 | 0.0126 | 300 | 0.6701 |
153
+ | 0.7901 | 0.0148 | 350 | 0.6612 |
154
+ | 0.7539 | 0.0169 | 400 | 0.6434 |
155
+ | 0.7689 | 0.0190 | 450 | 0.6437 |
156
+ | 0.737 | 0.0211 | 500 | 0.6424 |
157
+
158
+
159
+ ### Framework versions
160
+
161
+ - PEFT 0.13.2
162
+ - Transformers 4.46.0
163
+ - Pytorch 2.5.0+cu124
164
+ - Datasets 3.0.1
165
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:61cd0af36dbb60739898d33d2d8a165bec1e8133b1af49a198538d54cc886be2
3
+ size 377625610