RichardErkhov commited on
Commit
ab78028
·
verified ·
1 Parent(s): fd8da4c

uploaded readme

Browse files
Files changed (1) hide show
  1. README.md +184 -0
README.md ADDED
@@ -0,0 +1,184 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Quantization made by Richard Erkhov.
2
+
3
+ [Github](https://github.com/RichardErkhov)
4
+
5
+ [Discord](https://discord.gg/pvy7H8DZMG)
6
+
7
+ [Request more models](https://github.com/RichardErkhov/quant_request)
8
+
9
+
10
+ evol-codealpaca-pairwise-sharegpt-test - bnb 4bits
11
+ - Model creator: https://huggingface.co/AlekseyKorshuk/
12
+ - Original model: https://huggingface.co/AlekseyKorshuk/evol-codealpaca-pairwise-sharegpt-test/
13
+
14
+
15
+
16
+
17
+ Original model description:
18
+ ---
19
+ license: mit
20
+ base_model: microsoft/phi-2
21
+ tags:
22
+ - axolotl
23
+ - generated_from_trainer
24
+ model-index:
25
+ - name: evol-codealpaca-pairwise-sharegpt-test
26
+ results: []
27
+ ---
28
+
29
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
30
+ should probably proofread and complete it, then remove this comment. -->
31
+
32
+ [<img src="https://raw.githubusercontent.com/OpenAccess-AI-Collective/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/OpenAccess-AI-Collective/axolotl)
33
+ <details><summary>See axolotl config</summary>
34
+
35
+ axolotl version: `0.3.0`
36
+ ```yaml
37
+ base_model: microsoft/phi-2
38
+ model_type: AutoModelForCausalLM
39
+ tokenizer_type: AutoTokenizer
40
+ trust_remote_code: true
41
+
42
+ hub_model_id: AlekseyKorshuk/evol-codealpaca-pairwise-sharegpt-test
43
+ hub_strategy: every_save
44
+
45
+ load_in_8bit: false
46
+ load_in_4bit: false
47
+ strict: false
48
+
49
+ datasets:
50
+ - path: AlekseyKorshuk/evol-codealpaca-pairwise-sharegpt
51
+ type: sharegpt
52
+ conversation: chatml
53
+
54
+ dataset_prepared_path:
55
+ val_set_size: 0.001
56
+ output_dir: ./output
57
+
58
+ sequence_len: 2048
59
+ sample_packing: false # currently unsupported
60
+ pad_to_sequence_len:
61
+
62
+ lora_r:
63
+ lora_alpha:
64
+ lora_dropout:
65
+ lora_target_modules:
66
+ lora_target_linear:
67
+ lora_fan_in_fan_out:
68
+
69
+ wandb_project: ui-thesis
70
+ wandb_entity:
71
+ wandb_watch:
72
+ wandb_name: phi-2-chatml-test
73
+ wandb_log_model:
74
+
75
+ gradient_accumulation_steps: 1
76
+ micro_batch_size: 16
77
+ num_epochs: 1
78
+ optimizer: paged_adamw_8bit
79
+ adam_beta1: 0.9
80
+ adam_beta2: 0.95
81
+ max_grad_norm: 1.0
82
+ adam_epsilon: 0.00001
83
+ lr_scheduler: cosine
84
+ cosine_min_lr_ratio: 0.1
85
+ learning_rate: 4e-5
86
+ warmup_ratio: 0.1
87
+ weight_decay: 0.1
88
+
89
+ train_on_inputs: false
90
+ group_by_length: false
91
+ bf16: false
92
+ fp16: false
93
+ tf32: false
94
+ float16: true
95
+ bloat16: false
96
+
97
+ gradient_checkpointing: true
98
+ early_stopping_patience:
99
+ resume_from_checkpoint:
100
+ local_rank:
101
+ logging_steps: 1
102
+ xformers_attention:
103
+ flash_attention: true
104
+
105
+
106
+ evals_per_epoch: 5
107
+ eval_table_size: 8 # Approximate number of predictions sent to wandb depending on batch size. Enabled above 0. Default is 0
108
+ eval_table_max_new_tokens: 768 # Total number of tokens generated for predictions sent to wandb. Default is 128
109
+
110
+ chat_template: chatml
111
+ saves_per_epoch: 1
112
+ save_total_limit: 1
113
+ seed: 42
114
+ debug:
115
+ deepspeed:
116
+
117
+ fsdp:
118
+ fsdp_config:
119
+ resize_token_embeddings_to_32x: true
120
+
121
+ special_tokens:
122
+ eos_token: "<|im_end|>"
123
+ pad_token: "<|endoftext|>"
124
+ tokens:
125
+ - "<|im_start|>"
126
+ ```
127
+
128
+ </details><br>
129
+
130
+ # evol-codealpaca-pairwise-sharegpt-test
131
+
132
+ This model is a fine-tuned version of [microsoft/phi-2](https://huggingface.co/microsoft/phi-2) on the None dataset.
133
+ It achieves the following results on the evaluation set:
134
+ - Loss: 0.8954
135
+
136
+ ## Model description
137
+
138
+ More information needed
139
+
140
+ ## Intended uses & limitations
141
+
142
+ More information needed
143
+
144
+ ## Training and evaluation data
145
+
146
+ More information needed
147
+
148
+ ## Training procedure
149
+
150
+ ### Training hyperparameters
151
+
152
+ The following hyperparameters were used during training:
153
+ - learning_rate: 4e-05
154
+ - train_batch_size: 16
155
+ - eval_batch_size: 16
156
+ - seed: 42
157
+ - distributed_type: multi-GPU
158
+ - num_devices: 8
159
+ - total_train_batch_size: 128
160
+ - total_eval_batch_size: 128
161
+ - optimizer: Adam with betas=(0.9,0.95) and epsilon=1e-05
162
+ - lr_scheduler_type: cosine
163
+ - lr_scheduler_warmup_steps: 2
164
+ - num_epochs: 1
165
+
166
+ ### Training results
167
+
168
+ | Training Loss | Epoch | Step | Validation Loss |
169
+ |:-------------:|:-----:|:----:|:---------------:|
170
+ | 1.0814 | 0.01 | 1 | 1.3422 |
171
+ | 0.8144 | 0.2 | 34 | 0.9416 |
172
+ | 0.7945 | 0.41 | 68 | 0.9114 |
173
+ | 0.7396 | 0.61 | 102 | 0.9004 |
174
+ | 0.7636 | 0.81 | 136 | 0.8954 |
175
+
176
+
177
+ ### Framework versions
178
+
179
+ - Transformers 4.37.0.dev0
180
+ - Pytorch 2.0.1+cu118
181
+ - Datasets 2.16.1
182
+ - Tokenizers 0.15.0
183
+
184
+