eddysang commited on
Commit
f185593
·
verified ·
1 Parent(s): 4dd95c3

End of training

Browse files
Files changed (2) hide show
  1. README.md +163 -0
  2. adapter_model.bin +3 -0
README.md ADDED
@@ -0,0 +1,163 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: 290fc0c6-86ce-426b-aafa-db3d3f7e240c
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
+ dataset_prepared_path: null
25
+ datasets:
26
+ - data_files:
27
+ - b64954fcc6e77b0d_train_data.json
28
+ ds_type: json
29
+ format: custom
30
+ path: /workspace/input_data/b64954fcc6e77b0d_train_data.json
31
+ type:
32
+ field_input: input
33
+ field_instruction: instruction
34
+ field_output: output
35
+ format: '{instruction} {input}'
36
+ no_input_format: '{instruction}'
37
+ system_format: '{system}'
38
+ system_prompt: ''
39
+ debug: null
40
+ deepspeed: null
41
+ early_stopping_patience: null
42
+ eval_max_new_tokens: 128
43
+ eval_steps: 50
44
+ eval_table_size: null
45
+ evals_per_epoch: null
46
+ flash_attention: false
47
+ fp16: null
48
+ fsdp: null
49
+ fsdp_config: null
50
+ gradient_accumulation_steps: 32
51
+ gradient_checkpointing: true
52
+ group_by_length: false
53
+ hub_model_id: eddysang/290fc0c6-86ce-426b-aafa-db3d3f7e240c
54
+ hub_repo: null
55
+ hub_strategy: checkpoint
56
+ hub_token: null
57
+ learning_rate: 0.00015
58
+ load_in_4bit: false
59
+ load_in_8bit: false
60
+ local_rank: null
61
+ logging_steps: 1
62
+ lora_alpha: 64
63
+ lora_dropout: 0.05
64
+ lora_fan_in_fan_out: null
65
+ lora_model_dir: null
66
+ lora_r: 32
67
+ lora_target_linear: true
68
+ lora_target_modules:
69
+ - q_proj
70
+ - k_proj
71
+ - v_proj
72
+ - o_proj
73
+ lr_scheduler: cosine
74
+ max_grad_norm: 2
75
+ max_steps: 100
76
+ micro_batch_size: 2
77
+ mlflow_experiment_name: /tmp/b64954fcc6e77b0d_train_data.json
78
+ model_type: AutoModelForCausalLM
79
+ num_epochs: 3
80
+ optim_args:
81
+ adam_beta1: 0.9
82
+ adam_beta2: 0.95
83
+ adam_epsilon: 1.0e-05
84
+ optimizer: adamw_torch
85
+ output_dir: miner_id_24
86
+ pad_to_sequence_len: true
87
+ resume_from_checkpoint: null
88
+ s2_attention: null
89
+ sample_packing: false
90
+ saves_per_epoch: 4
91
+ sequence_len: 2048
92
+ special_tokens:
93
+ pad_token: </s>
94
+ strict: false
95
+ tf32: false
96
+ tokenizer_type: AutoTokenizer
97
+ train_on_inputs: false
98
+ trust_remote_code: true
99
+ val_set_size: 0.05
100
+ wandb_entity: yaudayah0
101
+ wandb_mode: online
102
+ wandb_name: bbdc12a3-1333-4e46-9918-0d4631f90551
103
+ wandb_project: Gradients-On-Demand
104
+ wandb_run: your_name
105
+ wandb_runid: bbdc12a3-1333-4e46-9918-0d4631f90551
106
+ warmup_steps: 20
107
+ weight_decay: 0.015
108
+ xformers_attention: false
109
+
110
+ ```
111
+
112
+ </details><br>
113
+
114
+ # 290fc0c6-86ce-426b-aafa-db3d3f7e240c
115
+
116
+ This model is a fine-tuned version of [NousResearch/CodeLlama-7b-hf](https://huggingface.co/NousResearch/CodeLlama-7b-hf) on the None dataset.
117
+ It achieves the following results on the evaluation set:
118
+ - Loss: 0.7185
119
+
120
+ ## Model description
121
+
122
+ More information needed
123
+
124
+ ## Intended uses & limitations
125
+
126
+ More information needed
127
+
128
+ ## Training and evaluation data
129
+
130
+ More information needed
131
+
132
+ ## Training procedure
133
+
134
+ ### Training hyperparameters
135
+
136
+ The following hyperparameters were used during training:
137
+ - learning_rate: 0.00015
138
+ - train_batch_size: 2
139
+ - eval_batch_size: 2
140
+ - seed: 42
141
+ - gradient_accumulation_steps: 32
142
+ - total_train_batch_size: 64
143
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=adam_beta1=0.9,adam_beta2=0.95,adam_epsilon=1e-05
144
+ - lr_scheduler_type: cosine
145
+ - lr_scheduler_warmup_steps: 20
146
+ - training_steps: 100
147
+
148
+ ### Training results
149
+
150
+ | Training Loss | Epoch | Step | Validation Loss |
151
+ |:-------------:|:------:|:----:|:---------------:|
152
+ | 84.1949 | 0.0215 | 1 | 2.7061 |
153
+ | 24.7449 | 1.0760 | 50 | 0.8255 |
154
+ | 21.7676 | 2.1520 | 100 | 0.7185 |
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:2368b54d2607fdd4aebaa1e1030d52df6c02607921a14983eb3b379a265510df
3
+ size 319977674