lesso03 commited on
Commit
2954031
·
verified ·
1 Parent(s): 2406383

End of training

Browse files
Files changed (2) hide show
  1. README.md +159 -0
  2. adapter_model.bin +3 -0
README.md ADDED
@@ -0,0 +1,159 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: NousResearch/CodeLlama-7b-hf
4
+ tags:
5
+ - axolotl
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: 99492c66-9578-458b-b02d-57164ab27e48
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
22
+ bf16: true
23
+ chat_template: llama3
24
+ datasets:
25
+ - data_files:
26
+ - d8256b4b8cd1ba18_train_data.json
27
+ ds_type: json
28
+ format: custom
29
+ path: /workspace/input_data/d8256b4b8cd1ba18_train_data.json
30
+ type:
31
+ field_input: attributes
32
+ field_instruction: prompt
33
+ field_output: init_response
34
+ format: '{instruction} {input}'
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: false
46
+ fsdp: null
47
+ fsdp_config: null
48
+ gradient_accumulation_steps: 2
49
+ gradient_checkpointing: true
50
+ group_by_length: false
51
+ hub_model_id: lesso03/99492c66-9578-458b-b02d-57164ab27e48
52
+ hub_repo: null
53
+ hub_strategy: checkpoint
54
+ hub_token: null
55
+ learning_rate: 1.0e-05
56
+ load_in_4bit: false
57
+ load_in_8bit: false
58
+ local_rank: null
59
+ logging_steps: 1
60
+ lora_alpha: 32
61
+ lora_dropout: 0.05
62
+ lora_fan_in_fan_out: null
63
+ lora_model_dir: null
64
+ lora_r: 16
65
+ lora_target_linear: true
66
+ lr_scheduler: cosine
67
+ max_memory:
68
+ 0: 70GiB
69
+ max_steps: 30
70
+ micro_batch_size: 4
71
+ mlflow_experiment_name: /tmp/d8256b4b8cd1ba18_train_data.json
72
+ model_type: AutoModelForCausalLM
73
+ num_epochs: 2
74
+ optimizer: adamw_torch
75
+ output_dir: miner_id_24
76
+ pad_to_sequence_len: true
77
+ resume_from_checkpoint: null
78
+ s2_attention: null
79
+ sample_packing: false
80
+ save_steps: 20
81
+ save_strategy: steps
82
+ sequence_len: 1024
83
+ special_tokens:
84
+ pad_token: </s>
85
+ strict: false
86
+ tf32: false
87
+ tokenizer_type: AutoTokenizer
88
+ train_on_inputs: false
89
+ trust_remote_code: true
90
+ val_set_size: 0.05
91
+ wandb_entity: null
92
+ wandb_mode: online
93
+ wandb_name: 99492c66-9578-458b-b02d-57164ab27e48
94
+ wandb_project: Gradients-On-Demand
95
+ wandb_run: your_name
96
+ wandb_runid: 99492c66-9578-458b-b02d-57164ab27e48
97
+ warmup_steps: 5
98
+ weight_decay: 0.01
99
+ xformers_attention: false
100
+
101
+ ```
102
+
103
+ </details><br>
104
+
105
+ # 99492c66-9578-458b-b02d-57164ab27e48
106
+
107
+ This model is a fine-tuned version of [NousResearch/CodeLlama-7b-hf](https://huggingface.co/NousResearch/CodeLlama-7b-hf) on the None dataset.
108
+ It achieves the following results on the evaluation set:
109
+ - Loss: 1.7304
110
+
111
+ ## Model description
112
+
113
+ More information needed
114
+
115
+ ## Intended uses & limitations
116
+
117
+ More information needed
118
+
119
+ ## Training and evaluation data
120
+
121
+ More information needed
122
+
123
+ ## Training procedure
124
+
125
+ ### Training hyperparameters
126
+
127
+ The following hyperparameters were used during training:
128
+ - learning_rate: 1e-05
129
+ - train_batch_size: 4
130
+ - eval_batch_size: 4
131
+ - seed: 42
132
+ - gradient_accumulation_steps: 2
133
+ - total_train_batch_size: 8
134
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
135
+ - lr_scheduler_type: cosine
136
+ - lr_scheduler_warmup_steps: 5
137
+ - training_steps: 30
138
+
139
+ ### Training results
140
+
141
+ | Training Loss | Epoch | Step | Validation Loss |
142
+ |:-------------:|:------:|:----:|:---------------:|
143
+ | 3.3086 | 0.0010 | 1 | 1.7368 |
144
+ | 3.727 | 0.0042 | 4 | 1.7366 |
145
+ | 3.5749 | 0.0084 | 8 | 1.7355 |
146
+ | 3.4273 | 0.0126 | 12 | 1.7341 |
147
+ | 3.3864 | 0.0168 | 16 | 1.7325 |
148
+ | 2.9594 | 0.0209 | 20 | 1.7312 |
149
+ | 3.4563 | 0.0251 | 24 | 1.7307 |
150
+ | 3.663 | 0.0293 | 28 | 1.7304 |
151
+
152
+
153
+ ### Framework versions
154
+
155
+ - PEFT 0.13.2
156
+ - Transformers 4.46.0
157
+ - Pytorch 2.5.0+cu124
158
+ - Datasets 3.0.1
159
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7edb9007093b8bc0d5a17ed0b9f121e6622801c49e03893bb4e35e8d2ffa8e9c
3
+ size 160069834