tuantmdev commited on
Commit
29b1dfb
·
verified ·
1 Parent(s): bb839e7

End of training

Browse files
Files changed (2) hide show
  1. README.md +156 -0
  2. adapter_model.bin +3 -0
README.md ADDED
@@ -0,0 +1,156 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: NousResearch/CodeLlama-13b-hf
4
+ tags:
5
+ - axolotl
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: 5a42628f-1969-4291-a5f0-3b3d2de52772
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
22
+ bf16: true
23
+ chat_template: llama3
24
+ dataset_prepared_path: null
25
+ datasets:
26
+ - data_files:
27
+ - 3d3a72140838877f_train_data.json
28
+ ds_type: json
29
+ format: custom
30
+ path: /workspace/input_data/3d3a72140838877f_train_data.json
31
+ type:
32
+ field_input: ''
33
+ field_instruction: input
34
+ field_output: code_output
35
+ format: '{instruction}'
36
+ no_input_format: '{instruction}'
37
+ system_format: '{system}'
38
+ system_prompt: ''
39
+ debug: null
40
+ deepspeed: null
41
+ eval_max_new_tokens: 128
42
+ eval_table_size: null
43
+ evals_per_epoch: 5
44
+ flash_attention: false
45
+ fp16: null
46
+ fsdp: null
47
+ fsdp_config: null
48
+ gradient_accumulation_steps: 16
49
+ gradient_checkpointing: true
50
+ group_by_length: false
51
+ hub_model_id: tuantmdev/5a42628f-1969-4291-a5f0-3b3d2de52772
52
+ hub_repo: null
53
+ hub_strategy: checkpoint
54
+ hub_token: null
55
+ learning_rate: 2e-05
56
+ load_in_4bit: false
57
+ load_in_8bit: true
58
+ local_rank: null
59
+ logging_steps: 10
60
+ lora_alpha: 16
61
+ lora_dropout: 0.05
62
+ lora_fan_in_fan_out: null
63
+ lora_model_dir: null
64
+ lora_r: 8
65
+ lora_target_linear: true
66
+ lr_scheduler: cosine
67
+ max_steps: 50
68
+ micro_batch_size: 2
69
+ mixed_precision: bf16
70
+ mlflow_experiment_name: /tmp/3d3a72140838877f_train_data.json
71
+ model_type: AutoModelForCausalLM
72
+ num_epochs: 1
73
+ optimizer: adamw_bnb_8bit
74
+ output_dir: miner_id_24
75
+ pad_to_sequence_len: true
76
+ resume_from_checkpoint: null
77
+ s2_attention: null
78
+ sample_packing: false
79
+ save_strategy: best
80
+ saves_per_epoch: 5
81
+ sequence_len: 512
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: null
91
+ wandb_mode: online
92
+ wandb_name: 551f45a8-c2f1-4d37-99fd-18ad00dfaafa
93
+ wandb_project: Gradients-On-Demand
94
+ wandb_run: unknown
95
+ wandb_runid: 551f45a8-c2f1-4d37-99fd-18ad00dfaafa
96
+ warmup_steps: 10
97
+ weight_decay: 0.01
98
+ xformers_attention: null
99
+
100
+ ```
101
+
102
+ </details><br>
103
+
104
+ # 5a42628f-1969-4291-a5f0-3b3d2de52772
105
+
106
+ This model is a fine-tuned version of [NousResearch/CodeLlama-13b-hf](https://huggingface.co/NousResearch/CodeLlama-13b-hf) on the None dataset.
107
+ It achieves the following results on the evaluation set:
108
+ - Loss: 0.2051
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: 2e-05
128
+ - train_batch_size: 2
129
+ - eval_batch_size: 2
130
+ - seed: 42
131
+ - gradient_accumulation_steps: 16
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.0044 | 1 | 0.2533 |
143
+ | 3.9326 | 0.0435 | 10 | 0.2527 |
144
+ | 3.9188 | 0.0871 | 20 | 0.2426 |
145
+ | 4.2368 | 0.1306 | 30 | 0.2200 |
146
+ | 3.3521 | 0.1741 | 40 | 0.2071 |
147
+ | 3.4624 | 0.2176 | 50 | 0.2051 |
148
+
149
+
150
+ ### Framework versions
151
+
152
+ - PEFT 0.13.2
153
+ - Transformers 4.46.0
154
+ - Pytorch 2.5.0+cu124
155
+ - Datasets 3.0.1
156
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f3d91081973f2c6694da091cc1e3ba5c5fd5f614796702f175adc9cf1b5a6df
3
+ size 125375434