nttx commited on
Commit
adf7e3a
·
verified ·
1 Parent(s): 9354f54

End of training

Browse files
Files changed (2) hide show
  1. README.md +169 -0
  2. adapter_model.bin +3 -0
README.md ADDED
@@ -0,0 +1,169 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: Xenova/tiny-random-Phi3ForCausalLM
4
+ tags:
5
+ - axolotl
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: 8f68d8b0-2c28-488e-88c7-95dae12ed223
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ [<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)
16
+ <details><summary>See axolotl config</summary>
17
+
18
+ axolotl version: `0.4.1`
19
+ ```yaml
20
+ adapter: lora
21
+ base_model: Xenova/tiny-random-Phi3ForCausalLM
22
+ bf16: true
23
+ chat_template: llama3
24
+ dataloader_num_workers: 24
25
+ dataset_prepared_path: null
26
+ datasets:
27
+ - data_files:
28
+ - 59716c9c4c29f66a_train_data.json
29
+ ds_type: json
30
+ format: custom
31
+ path: /workspace/input_data/59716c9c4c29f66a_train_data.json
32
+ type:
33
+ field_input: text_encoding
34
+ field_instruction: question
35
+ field_output: answer
36
+ format: '{instruction} {input}'
37
+ no_input_format: '{instruction}'
38
+ system_format: '{system}'
39
+ system_prompt: ''
40
+ debug: null
41
+ deepspeed: null
42
+ device_map: auto
43
+ do_eval: true
44
+ early_stopping_patience: 3
45
+ eval_batch_size: 4
46
+ eval_max_new_tokens: 128
47
+ eval_steps: 150
48
+ eval_table_size: null
49
+ evals_per_epoch: null
50
+ flash_attention: true
51
+ fp16: false
52
+ fsdp: null
53
+ fsdp_config: null
54
+ gradient_accumulation_steps: 4
55
+ gradient_checkpointing: false
56
+ group_by_length: true
57
+ hub_model_id: nttx/8f68d8b0-2c28-488e-88c7-95dae12ed223
58
+ hub_repo: null
59
+ hub_strategy: checkpoint
60
+ hub_token: null
61
+ learning_rate: 0.0001
62
+ load_in_4bit: false
63
+ load_in_8bit: false
64
+ local_rank: null
65
+ logging_steps: 10
66
+ lora_alpha: 64
67
+ lora_dropout: 0.1
68
+ lora_fan_in_fan_out: null
69
+ lora_model_dir: null
70
+ lora_r: 32
71
+ lora_target_linear: true
72
+ lr_scheduler: cosine
73
+ max_grad_norm: 1.0
74
+ max_steps: 1500
75
+ micro_batch_size: 4
76
+ mlflow_experiment_name: /tmp/59716c9c4c29f66a_train_data.json
77
+ model_type: AutoModelForCausalLM
78
+ num_epochs: 3
79
+ optim_args:
80
+ adam_beta1: 0.9
81
+ adam_beta2: 0.999
82
+ adam_epsilon: 1e-8
83
+ optimizer: adamw_bnb_8bit
84
+ output_dir: miner_id_24
85
+ pad_to_sequence_len: true
86
+ resume_from_checkpoint: null
87
+ s2_attention: null
88
+ sample_packing: false
89
+ save_steps: 150
90
+ saves_per_epoch: null
91
+ sequence_len: 1024
92
+ strict: false
93
+ tf32: true
94
+ tokenizer_type: AutoTokenizer
95
+ train_on_inputs: false
96
+ trust_remote_code: true
97
+ val_set_size: 0.05
98
+ wandb_entity: null
99
+ wandb_mode: online
100
+ wandb_name: e59de8f8-41d9-4aa7-9fa3-2f4cd7c59f6b
101
+ wandb_project: Gradients-On-Demand
102
+ wandb_run: your_name
103
+ wandb_runid: e59de8f8-41d9-4aa7-9fa3-2f4cd7c59f6b
104
+ warmup_steps: 50
105
+ weight_decay: 0.1
106
+ xformers_attention: null
107
+
108
+ ```
109
+
110
+ </details><br>
111
+
112
+ # 8f68d8b0-2c28-488e-88c7-95dae12ed223
113
+
114
+ This model is a fine-tuned version of [Xenova/tiny-random-Phi3ForCausalLM](https://huggingface.co/Xenova/tiny-random-Phi3ForCausalLM) on the None dataset.
115
+ It achieves the following results on the evaluation set:
116
+ - Loss: 9.7743
117
+
118
+ ## Model description
119
+
120
+ More information needed
121
+
122
+ ## Intended uses & limitations
123
+
124
+ More information needed
125
+
126
+ ## Training and evaluation data
127
+
128
+ More information needed
129
+
130
+ ## Training procedure
131
+
132
+ ### Training hyperparameters
133
+
134
+ The following hyperparameters were used during training:
135
+ - learning_rate: 0.0001
136
+ - train_batch_size: 4
137
+ - eval_batch_size: 4
138
+ - seed: 42
139
+ - gradient_accumulation_steps: 4
140
+ - total_train_batch_size: 16
141
+ - 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.999,adam_epsilon=1e-8
142
+ - lr_scheduler_type: cosine
143
+ - lr_scheduler_warmup_steps: 50
144
+ - training_steps: 1500
145
+
146
+ ### Training results
147
+
148
+ | Training Loss | Epoch | Step | Validation Loss |
149
+ |:-------------:|:------:|:----:|:---------------:|
150
+ | No log | 0.0017 | 1 | 10.3561 |
151
+ | 9.8747 | 0.2604 | 150 | 9.8336 |
152
+ | 9.8098 | 0.5208 | 300 | 9.7942 |
153
+ | 9.7926 | 0.7812 | 450 | 9.7823 |
154
+ | 9.781 | 1.0417 | 600 | 9.7785 |
155
+ | 9.7784 | 1.3021 | 750 | 9.7763 |
156
+ | 9.7775 | 1.5625 | 900 | 9.7751 |
157
+ | 9.7766 | 1.8229 | 1050 | 9.7747 |
158
+ | 9.7743 | 2.0833 | 1200 | 9.7746 |
159
+ | 9.771 | 2.3438 | 1350 | 9.7743 |
160
+ | 9.7759 | 2.6042 | 1500 | 9.7743 |
161
+
162
+
163
+ ### Framework versions
164
+
165
+ - PEFT 0.13.2
166
+ - Transformers 4.46.0
167
+ - Pytorch 2.5.0+cu124
168
+ - Datasets 3.0.1
169
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ef91700726c774634824179118beab0695284f60db5c8ef146c2680058d6eeaf
3
+ size 120926