broodmother41 commited on
Commit
136909d
·
verified ·
1 Parent(s): 2c4f6c4

End of training

Browse files
Files changed (3) hide show
  1. README.md +168 -0
  2. adapter_model.bin +3 -0
  3. adapter_model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,168 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: JackFram/llama-160m
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: 29191c52-e371-4796-9804-1bb5df3abd9c
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
+ base_model: JackFram/llama-160m
23
+ bf16: true
24
+ chat_template: llama3
25
+ dataset_prepared_path: null
26
+ datasets:
27
+ - data_files:
28
+ - 3532d07b974eef52_train_data.json
29
+ ds_type: json
30
+ format: custom
31
+ path: /workspace/input_data/3532d07b974eef52_train_data.json
32
+ type:
33
+ field_input: code
34
+ field_instruction: question
35
+ field_output: solution
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: 5
45
+ eval_batch_size: 8
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: 12
55
+ gradient_checkpointing: true
56
+ group_by_length: true
57
+ hub_model_id: broodmother41/29191c52-e371-4796-9804-1bb5df3abd9c
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: 1
66
+ lora_alpha: 128
67
+ lora_dropout: 0.05
68
+ lora_fan_in_fan_out: null
69
+ lora_model_dir: null
70
+ lora_r: 64
71
+ lora_target_linear: true
72
+ lr_scheduler: cosine
73
+ max_grad_norm: 1.0
74
+ max_steps: 1500
75
+ micro_batch_size: 12
76
+ mlflow_experiment_name: /tmp/3532d07b974eef52_train_data.json
77
+ model_type: AutoModelForCausalLM
78
+ num_epochs: 1
79
+ optim_args:
80
+ adam_beta1: 0.9
81
+ adam_beta2: 0.95
82
+ adam_epsilon: 1e-5
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
+ special_tokens:
93
+ pad_token: </s>
94
+ strict: false
95
+ tf32: true
96
+ tokenizer_type: AutoTokenizer
97
+ train_on_inputs: false
98
+ trust_remote_code: true
99
+ val_set_size: 0.05
100
+ wandb_entity: null
101
+ wandb_mode: online
102
+ wandb_name: f6c9a3cc-6228-4ee5-86ba-2d74f374f037
103
+ wandb_project: Gradients-On-Demand
104
+ wandb_run: your_name
105
+ wandb_runid: f6c9a3cc-6228-4ee5-86ba-2d74f374f037
106
+ warmup_steps: 20
107
+ weight_decay: 0.0
108
+ xformers_attention: null
109
+
110
+ ```
111
+
112
+ </details><br>
113
+
114
+ # 29191c52-e371-4796-9804-1bb5df3abd9c
115
+
116
+ This model is a fine-tuned version of [JackFram/llama-160m](https://huggingface.co/JackFram/llama-160m) on the None dataset.
117
+ It achieves the following results on the evaluation set:
118
+ - Loss: 1.3225
119
+
120
+ ## Model description
121
+
122
+ More information needed
123
+
124
+ ## Intended uses & limitations
125
+
126
+ More information needed
127
+
128
+ ## Training and evaluation data
129
+
130
+ More information needed
131
+
132
+ ## Training procedure
133
+
134
+ ### Training hyperparameters
135
+
136
+ The following hyperparameters were used during training:
137
+ - learning_rate: 0.0001
138
+ - train_batch_size: 12
139
+ - eval_batch_size: 8
140
+ - seed: 42
141
+ - gradient_accumulation_steps: 12
142
+ - total_train_batch_size: 144
143
+ - 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.95,adam_epsilon=1e-5
144
+ - lr_scheduler_type: cosine
145
+ - lr_scheduler_warmup_steps: 20
146
+ - training_steps: 1088
147
+
148
+ ### Training results
149
+
150
+ | Training Loss | Epoch | Step | Validation Loss |
151
+ |:-------------:|:------:|:----:|:---------------:|
152
+ | 6.0754 | 0.0009 | 1 | 4.4312 |
153
+ | 1.6275 | 0.1380 | 150 | 1.9198 |
154
+ | 1.257 | 0.2759 | 300 | 1.6552 |
155
+ | 1.1749 | 0.4139 | 450 | 1.5186 |
156
+ | 1.031 | 0.5519 | 600 | 1.4311 |
157
+ | 0.9195 | 0.6898 | 750 | 1.3665 |
158
+ | 0.978 | 0.8278 | 900 | 1.3344 |
159
+ | 0.9236 | 0.9657 | 1050 | 1.3225 |
160
+
161
+
162
+ ### Framework versions
163
+
164
+ - PEFT 0.13.2
165
+ - Transformers 4.46.0
166
+ - Pytorch 2.5.0+cu124
167
+ - Datasets 3.0.1
168
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:49d08586a06a83f46a6402e0a96de000f217c807d0cf149e73f3eaa2b574be5e
3
+ size 54324202
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:384f36007b97fbb92ffad76cabf9847376c7a4cb47cbde2ce83ad9d3c2e5b138
3
  size 54285928
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3b5640fad40281fd5d639511356095a8552ab13034cf39c186ed59e06ab055a1
3
  size 54285928