clarxus commited on
Commit
07748f3
·
verified ·
1 Parent(s): 0504a1a

End of training

Browse files
Files changed (3) hide show
  1. README.md +169 -0
  2. adapter_model.bin +3 -0
  3. adapter_model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,169 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: NousResearch/CodeLlama-7b-hf-flash
4
+ tags:
5
+ - axolotl
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: 70f835e6-753d-4943-a600-da9a38849596
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: NousResearch/CodeLlama-7b-hf-flash
22
+ bf16: true
23
+ chat_template: llama3
24
+ dataset_prepared_path: null
25
+ datasets:
26
+ - data_files:
27
+ - 9cd778d3fdd2a7e1_train_data.json
28
+ ds_type: json
29
+ format: custom
30
+ path: /workspace/input_data/9cd778d3fdd2a7e1_train_data.json
31
+ type:
32
+ field_instruction: instruction
33
+ field_output: response
34
+ format: '{instruction}'
35
+ no_input_format: '{instruction}'
36
+ system_format: '{system}'
37
+ system_prompt: ''
38
+ debug: null
39
+ deepspeed: null
40
+ device_map: auto
41
+ do_eval: true
42
+ early_stopping_patience: 5
43
+ eval_batch_size: 4
44
+ eval_max_new_tokens: 128
45
+ eval_steps: 50
46
+ eval_table_size: null
47
+ evals_per_epoch: null
48
+ flash_attention: false
49
+ fp16: false
50
+ fsdp: null
51
+ fsdp_config: null
52
+ gradient_accumulation_steps: 4
53
+ gradient_checkpointing: true
54
+ group_by_length: true
55
+ hub_model_id: clarxus/70f835e6-753d-4943-a600-da9a38849596
56
+ hub_repo: null
57
+ hub_strategy: checkpoint
58
+ hub_token: null
59
+ learning_rate: 0.0001
60
+ load_in_4bit: false
61
+ load_in_8bit: false
62
+ local_rank: null
63
+ logging_steps: 1
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_memory:
73
+ 0: 75GB
74
+ max_steps: 400
75
+ micro_batch_size: 8
76
+ mlflow_experiment_name: /tmp/9cd778d3fdd2a7e1_train_data.json
77
+ model_type: AutoModelForCausalLM
78
+ num_epochs: 3
79
+ optim_args:
80
+ adam_beta1: 0.9
81
+ adam_beta2: 0.95
82
+ adam_epsilon: 1.0e-05
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: 50
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: techspear-hub
101
+ wandb_mode: online
102
+ wandb_name: 7329d618-b093-4879-9a44-84fdf900e657
103
+ wandb_project: Gradients-On-Seven
104
+ wandb_run: your_name
105
+ wandb_runid: 7329d618-b093-4879-9a44-84fdf900e657
106
+ warmup_steps: 10
107
+ weight_decay: 0.0
108
+ xformers_attention: null
109
+
110
+ ```
111
+
112
+ </details><br>
113
+
114
+ # 70f835e6-753d-4943-a600-da9a38849596
115
+
116
+ This model is a fine-tuned version of [NousResearch/CodeLlama-7b-hf-flash](https://huggingface.co/NousResearch/CodeLlama-7b-hf-flash) on the None dataset.
117
+ It achieves the following results on the evaluation set:
118
+ - Loss: 0.6053
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: 8
139
+ - eval_batch_size: 4
140
+ - seed: 42
141
+ - gradient_accumulation_steps: 4
142
+ - total_train_batch_size: 32
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-05
144
+ - lr_scheduler_type: cosine
145
+ - lr_scheduler_warmup_steps: 10
146
+ - training_steps: 400
147
+
148
+ ### Training results
149
+
150
+ | Training Loss | Epoch | Step | Validation Loss |
151
+ |:-------------:|:------:|:----:|:---------------:|
152
+ | 3.9142 | 0.0007 | 1 | 0.8924 |
153
+ | 2.5959 | 0.0338 | 50 | 0.6769 |
154
+ | 2.8556 | 0.0676 | 100 | 0.6497 |
155
+ | 2.8556 | 0.1015 | 150 | 0.6404 |
156
+ | 3.4501 | 0.1353 | 200 | 0.6237 |
157
+ | 2.2869 | 0.1691 | 250 | 0.6161 |
158
+ | 2.7379 | 0.2029 | 300 | 0.6078 |
159
+ | 2.7666 | 0.2367 | 350 | 0.6042 |
160
+ | 2.3809 | 0.2705 | 400 | 0.6053 |
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:f5541839d33d54dce62196b087e2f54594983169e43e1c0ae8684ce92add82f4
3
+ size 639793354
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:abd03df3ec9b99061dcf59f3abf55c8541a657b8902b434d873e6b10d5c6ab3f
3
  size 639691872
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e19087281fbf0bc086e16e66e145673720f004cb1c8dabe800025cbfc691ab76
3
  size 639691872