Alphatao commited on
Commit
856ee15
·
verified ·
1 Parent(s): 808d5ca

End of training

Browse files
Files changed (3) hide show
  1. README.md +166 -0
  2. adapter_model.bin +3 -0
  3. adapter_model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,166 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: unsloth/codellama-7b
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: 90d5b725-9dfb-405c-86fa-326350c1c1ee
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: unsloth/codellama-7b
23
+ bf16: true
24
+ chat_template: llama3
25
+ dataset_prepared_path: null
26
+ datasets:
27
+ - data_files:
28
+ - 2ad46d0313986df7_train_data.json
29
+ ds_type: json
30
+ format: custom
31
+ path: /workspace/input_data/2ad46d0313986df7_train_data.json
32
+ type:
33
+ field_instruction: prompt
34
+ field_output: chosen
35
+ format: '{instruction}'
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: true
48
+ gradient_accumulation_steps: 8
49
+ gradient_checkpointing: true
50
+ group_by_length: false
51
+ hub_model_id: Alphatao/90d5b725-9dfb-405c-86fa-326350c1c1ee
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: 1092
77
+ micro_batch_size: 4
78
+ mlflow_experiment_name: /tmp/2ad46d0313986df7_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
+ strict: false
90
+ tf32: true
91
+ tokenizer_type: AutoTokenizer
92
+ train_on_inputs: false
93
+ trust_remote_code: true
94
+ val_set_size: 0.03354781570171966
95
+ wandb_entity: null
96
+ wandb_mode: online
97
+ wandb_name: d47f6846-6c00-4ad8-aca7-52fa04750bcb
98
+ wandb_project: Gradients-On-Demand
99
+ wandb_run: your_name
100
+ wandb_runid: d47f6846-6c00-4ad8-aca7-52fa04750bcb
101
+ warmup_steps: 10
102
+ weight_decay: 0.0
103
+ xformers_attention: null
104
+
105
+ ```
106
+
107
+ </details><br>
108
+
109
+ # 90d5b725-9dfb-405c-86fa-326350c1c1ee
110
+
111
+ This model is a fine-tuned version of [unsloth/codellama-7b](https://huggingface.co/unsloth/codellama-7b) on the None dataset.
112
+ It achieves the following results on the evaluation set:
113
+ - Loss: 1.6689
114
+
115
+ ## Model description
116
+
117
+ More information needed
118
+
119
+ ## Intended uses & limitations
120
+
121
+ More information needed
122
+
123
+ ## Training and evaluation data
124
+
125
+ More information needed
126
+
127
+ ## Training procedure
128
+
129
+ ### Training hyperparameters
130
+
131
+ The following hyperparameters were used during training:
132
+ - learning_rate: 0.0002
133
+ - train_batch_size: 4
134
+ - eval_batch_size: 4
135
+ - seed: 42
136
+ - gradient_accumulation_steps: 8
137
+ - total_train_batch_size: 32
138
+ - optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
139
+ - lr_scheduler_type: cosine
140
+ - lr_scheduler_warmup_steps: 10
141
+ - training_steps: 1092
142
+
143
+ ### Training results
144
+
145
+ | Training Loss | Epoch | Step | Validation Loss |
146
+ |:-------------:|:------:|:----:|:---------------:|
147
+ | 2.6172 | 0.0002 | 1 | 2.5837 |
148
+ | 1.5458 | 0.0222 | 100 | 1.7610 |
149
+ | 1.6923 | 0.0444 | 200 | 1.7392 |
150
+ | 1.6922 | 0.0666 | 300 | 1.7222 |
151
+ | 1.8 | 0.0889 | 400 | 1.7104 |
152
+ | 1.7277 | 0.1111 | 500 | 1.6967 |
153
+ | 1.7427 | 0.1333 | 600 | 1.6879 |
154
+ | 1.8182 | 0.1555 | 700 | 1.6800 |
155
+ | 1.6517 | 0.1777 | 800 | 1.6742 |
156
+ | 1.7055 | 0.1999 | 900 | 1.6706 |
157
+ | 1.646 | 0.2222 | 1000 | 1.6689 |
158
+
159
+
160
+ ### Framework versions
161
+
162
+ - PEFT 0.13.2
163
+ - Transformers 4.46.0
164
+ - Pytorch 2.5.0+cu124
165
+ - Datasets 3.0.1
166
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:66607c7cee2ebdedf8deec4e04ddea4a8f5e2058ee9f7405d5ba26a3e709851b
3
+ size 160069834
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:06462628b70909caaa3a1f2beeb83c69b424caf279912c317c678b1ec74d3d88
3
  size 159967880
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:068766c914b6decf7b7a0d437cfb6145c455bf67029dbf835a35a23d0e20b615
3
  size 159967880