ardaspear commited on
Commit
b4c3afb
1 Parent(s): e7afa9c

End of training

Browse files
Files changed (2) hide show
  1. README.md +161 -0
  2. adapter_model.bin +3 -0
README.md ADDED
@@ -0,0 +1,161 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: 23c1d3fe-0c98-44fc-aece-b8eadcfbdb27
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: auto
23
+ chat_template: llama3
24
+ dataset_prepared_path: null
25
+ datasets:
26
+ - data_files:
27
+ - 97fa2c1fc1c81cc5_train_data.json
28
+ ds_type: json
29
+ format: custom
30
+ path: /workspace/input_data/97fa2c1fc1c81cc5_train_data.json
31
+ type:
32
+ field_instruction: text
33
+ field_output: label_text
34
+ format: '{instruction}'
35
+ no_input_format: '{instruction}'
36
+ system_format: '{system}'
37
+ system_prompt: ''
38
+ debug: null
39
+ deepspeed: null
40
+ early_stopping_patience: null
41
+ eval_max_new_tokens: 128
42
+ eval_table_size: null
43
+ evals_per_epoch: 4
44
+ flash_attention: false
45
+ fp16: true
46
+ fsdp: null
47
+ fsdp_config: null
48
+ gradient_accumulation_steps: 4
49
+ gradient_checkpointing: true
50
+ group_by_length: false
51
+ hub_model_id: ardaspear/23c1d3fe-0c98-44fc-aece-b8eadcfbdb27
52
+ hub_repo: null
53
+ hub_strategy: checkpoint
54
+ hub_token: null
55
+ learning_rate: 0.0001
56
+ load_in_4bit: false
57
+ load_in_8bit: false
58
+ local_rank: 0
59
+ logging_steps: 3
60
+ lora_alpha: 128
61
+ lora_dropout: 0.1
62
+ lora_fan_in_fan_out: true
63
+ lora_model_dir: null
64
+ lora_r: 64
65
+ lora_target_linear: true
66
+ lr_scheduler: cosine
67
+ max_memory:
68
+ 0: 72GB
69
+ max_steps: 50
70
+ micro_batch_size: 8
71
+ mlflow_experiment_name: /tmp/97fa2c1fc1c81cc5_train_data.json
72
+ model_type: AutoModelForCausalLM
73
+ num_epochs: 3
74
+ optimizer: adamw_bnb_8bit
75
+ output_dir: miner_id_24
76
+ pad_to_sequence_len: true
77
+ resume_from_checkpoint: null
78
+ s2_attention: false
79
+ sample_packing: false
80
+ saves_per_epoch: 4
81
+ sequence_len: 1024
82
+ special_tokens:
83
+ pad_token: </s>
84
+ strict: false
85
+ tf32: false
86
+ tokenizer_type: AutoTokenizer
87
+ train_on_inputs: false
88
+ trust_remote_code: true
89
+ val_set_size: 0.05
90
+ wandb_entity: leixa-personal
91
+ wandb_mode: online
92
+ wandb_name: 23c1d3fe-0c98-44fc-aece-b8eadcfbdb27
93
+ wandb_project: Gradients-On-Two
94
+ wandb_run: your_name
95
+ wandb_runid: 23c1d3fe-0c98-44fc-aece-b8eadcfbdb27
96
+ warmup_steps: 10
97
+ weight_decay: 0.01
98
+ xformers_attention: null
99
+
100
+ ```
101
+
102
+ </details><br>
103
+
104
+ # 23c1d3fe-0c98-44fc-aece-b8eadcfbdb27
105
+
106
+ 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.
107
+ It achieves the following results on the evaluation set:
108
+ - Loss: 0.3349
109
+
110
+ ## Model description
111
+
112
+ More information needed
113
+
114
+ ## Intended uses & limitations
115
+
116
+ More information needed
117
+
118
+ ## Training and evaluation data
119
+
120
+ More information needed
121
+
122
+ ## Training procedure
123
+
124
+ ### Training hyperparameters
125
+
126
+ The following hyperparameters were used during training:
127
+ - learning_rate: 0.0001
128
+ - train_batch_size: 8
129
+ - eval_batch_size: 8
130
+ - seed: 42
131
+ - gradient_accumulation_steps: 4
132
+ - total_train_batch_size: 32
133
+ - optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
134
+ - lr_scheduler_type: cosine
135
+ - lr_scheduler_warmup_steps: 10
136
+ - training_steps: 50
137
+
138
+ ### Training results
139
+
140
+ | Training Loss | Epoch | Step | Validation Loss |
141
+ |:-------------:|:------:|:----:|:---------------:|
142
+ | No log | 0.0059 | 1 | 8.0095 |
143
+ | 31.8204 | 0.0293 | 5 | 7.0160 |
144
+ | 21.4367 | 0.0586 | 10 | 3.3853 |
145
+ | 7.8936 | 0.0878 | 15 | 1.4027 |
146
+ | 4.3689 | 0.1171 | 20 | 0.8026 |
147
+ | 2.5484 | 0.1464 | 25 | 0.6136 |
148
+ | 2.319 | 0.1757 | 30 | 0.4831 |
149
+ | 2.2084 | 0.2050 | 35 | 0.4224 |
150
+ | 1.5966 | 0.2343 | 40 | 0.3683 |
151
+ | 1.0295 | 0.2635 | 45 | 0.3390 |
152
+ | 1.0625 | 0.2928 | 50 | 0.3349 |
153
+
154
+
155
+ ### Framework versions
156
+
157
+ - PEFT 0.13.2
158
+ - Transformers 4.46.0
159
+ - Pytorch 2.5.0+cu124
160
+ - Datasets 3.0.1
161
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6000e6231d59bf7a6fe2a6de1af9125adaedc0496a40b93baeaf14a70468eb6a
3
+ size 639793354