Alphatao commited on
Commit
67e4d46
·
verified ·
1 Parent(s): bed89f2

End of training

Browse files
Files changed (3) hide show
  1. README.md +163 -0
  2. adapter_model.bin +3 -0
  3. adapter_model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,163 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: NousResearch/CodeLlama-13b-hf-flash
4
+ tags:
5
+ - axolotl
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: f2a810de-918d-486f-8ed9-b6fd6299887a
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-13b-hf-flash
22
+ bf16: true
23
+ chat_template: llama3
24
+ dataset_prepared_path: null
25
+ datasets:
26
+ - data_files:
27
+ - 1ed0fec459c9c984_train_data.json
28
+ ds_type: json
29
+ format: custom
30
+ path: /workspace/input_data/1ed0fec459c9c984_train_data.json
31
+ type:
32
+ field_input: observation_2
33
+ field_instruction: observation_1
34
+ field_output: hypothesis_1
35
+ format: '{instruction} {input}'
36
+ no_input_format: '{instruction}'
37
+ system_format: '{system}'
38
+ system_prompt: ''
39
+ debug: null
40
+ device_map:
41
+ ? ''
42
+ : 0,1,2,3,4,5,6,7
43
+ early_stopping_patience: 2
44
+ eval_max_new_tokens: 128
45
+ eval_steps: 100
46
+ eval_table_size: null
47
+ flash_attention: false
48
+ gradient_accumulation_steps: 8
49
+ gradient_checkpointing: true
50
+ group_by_length: false
51
+ hub_model_id: Alphatao/f2a810de-918d-486f-8ed9-b6fd6299887a
52
+ hub_repo: null
53
+ hub_strategy: null
54
+ hub_token: null
55
+ learning_rate: 0.0002
56
+ load_best_model_at_end: true
57
+ load_in_4bit: false
58
+ load_in_8bit: false
59
+ local_rank: null
60
+ logging_steps: 1
61
+ lora_alpha: 32
62
+ lora_dropout: 0.05
63
+ lora_fan_in_fan_out: null
64
+ lora_model_dir: null
65
+ lora_r: 16
66
+ lora_target_linear: true
67
+ lora_target_modules:
68
+ - q_proj
69
+ - k_proj
70
+ - v_proj
71
+ - o_proj
72
+ - down_proj
73
+ - up_proj
74
+ lr_scheduler: cosine
75
+ max_grad_norm: 1.0
76
+ max_steps: 588
77
+ micro_batch_size: 4
78
+ mlflow_experiment_name: /tmp/1ed0fec459c9c984_train_data.json
79
+ model_type: AutoModelForCausalLM
80
+ num_epochs: 2
81
+ optimizer: adamw_bnb_8bit
82
+ output_dir: miner_id_24
83
+ pad_to_sequence_len: true
84
+ resume_from_checkpoint: null
85
+ s2_attention: null
86
+ sample_packing: false
87
+ save_steps: 100
88
+ sequence_len: 2048
89
+ special_tokens:
90
+ pad_token: </s>
91
+ strict: false
92
+ tf32: true
93
+ tokenizer_type: AutoTokenizer
94
+ train_on_inputs: false
95
+ trust_remote_code: true
96
+ val_set_size: 0.029345133989881797
97
+ wandb_entity: null
98
+ wandb_mode: online
99
+ wandb_name: 6cc1fa71-dcea-4988-97e3-0d67a08867ef
100
+ wandb_project: Gradients-On-Demand
101
+ wandb_run: your_name
102
+ wandb_runid: 6cc1fa71-dcea-4988-97e3-0d67a08867ef
103
+ warmup_steps: 10
104
+ weight_decay: 0.0
105
+ xformers_attention: null
106
+
107
+ ```
108
+
109
+ </details><br>
110
+
111
+ # f2a810de-918d-486f-8ed9-b6fd6299887a
112
+
113
+ This model is a fine-tuned version of [NousResearch/CodeLlama-13b-hf-flash](https://huggingface.co/NousResearch/CodeLlama-13b-hf-flash) on the None dataset.
114
+ It achieves the following results on the evaluation set:
115
+ - Loss: 1.8271
116
+
117
+ ## Model description
118
+
119
+ More information needed
120
+
121
+ ## Intended uses & limitations
122
+
123
+ More information needed
124
+
125
+ ## Training and evaluation data
126
+
127
+ More information needed
128
+
129
+ ## Training procedure
130
+
131
+ ### Training hyperparameters
132
+
133
+ The following hyperparameters were used during training:
134
+ - learning_rate: 0.0002
135
+ - train_batch_size: 4
136
+ - eval_batch_size: 4
137
+ - seed: 42
138
+ - gradient_accumulation_steps: 8
139
+ - total_train_batch_size: 32
140
+ - optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
141
+ - lr_scheduler_type: cosine
142
+ - lr_scheduler_warmup_steps: 10
143
+ - training_steps: 588
144
+
145
+ ### Training results
146
+
147
+ | Training Loss | Epoch | Step | Validation Loss |
148
+ |:-------------:|:------:|:----:|:---------------:|
149
+ | 24.6095 | 0.0002 | 1 | 3.1461 |
150
+ | 14.9612 | 0.0193 | 100 | 1.8993 |
151
+ | 14.3441 | 0.0387 | 200 | 1.8664 |
152
+ | 15.0728 | 0.0580 | 300 | 1.8534 |
153
+ | 14.9383 | 0.0774 | 400 | 1.8353 |
154
+ | 14.7212 | 0.0967 | 500 | 1.8271 |
155
+
156
+
157
+ ### Framework versions
158
+
159
+ - PEFT 0.13.2
160
+ - Transformers 4.46.0
161
+ - Pytorch 2.5.0+cu124
162
+ - Datasets 3.0.1
163
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f250a3dbbd5a4639338dbec036664fe7fa74cf5d46970d3deeafcbd9afdc1c93
3
+ size 250550026
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:fc8be3feace14430c04cd61ba197e71f1c9e75e33ffae8a883d28ee047188666
3
  size 250422888
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4be5c634318b7f65cad9f87be097b7f96f67be6748e8cbe261bcbece5739b5b3
3
  size 250422888