lesso04 commited on
Commit
79c9b56
·
verified ·
1 Parent(s): 6a39274

End of training

Browse files
Files changed (2) hide show
  1. README.md +153 -0
  2. adapter_model.bin +3 -0
README.md ADDED
@@ -0,0 +1,153 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: 31568be0-5848-4a01-81d3-46f12a0d26f5
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
+ - 14586e4c817accfa_train_data.json
27
+ ds_type: json
28
+ format: custom
29
+ path: /workspace/input_data/14586e4c817accfa_train_data.json
30
+ type:
31
+ field_instruction: import_statement
32
+ field_output: cropped_code
33
+ format: '{instruction}'
34
+ no_input_format: '{instruction}'
35
+ system_format: '{system}'
36
+ system_prompt: ''
37
+ debug: null
38
+ deepspeed: null
39
+ early_stopping_patience: 2
40
+ eval_max_new_tokens: 128
41
+ eval_steps: 5
42
+ eval_table_size: null
43
+ flash_attention: false
44
+ fp16: false
45
+ fsdp: null
46
+ fsdp_config: null
47
+ gradient_accumulation_steps: 4
48
+ gradient_checkpointing: false
49
+ group_by_length: false
50
+ hub_model_id: lesso04/31568be0-5848-4a01-81d3-46f12a0d26f5
51
+ hub_repo: null
52
+ hub_strategy: checkpoint
53
+ hub_token: null
54
+ learning_rate: 0.0002
55
+ load_in_4bit: false
56
+ load_in_8bit: true
57
+ local_rank: null
58
+ logging_steps: 1
59
+ lora_alpha: 16
60
+ lora_dropout: 0.05
61
+ lora_fan_in_fan_out: null
62
+ lora_model_dir: null
63
+ lora_r: 8
64
+ lora_target_linear: true
65
+ lr_scheduler: cosine
66
+ max_steps: 25
67
+ micro_batch_size: 2
68
+ mlflow_experiment_name: /tmp/14586e4c817accfa_train_data.json
69
+ model_type: AutoModelForCausalLM
70
+ num_epochs: 1
71
+ optimizer: adamw_bnb_8bit
72
+ output_dir: miner_id_24
73
+ pad_to_sequence_len: true
74
+ resume_from_checkpoint: null
75
+ s2_attention: null
76
+ sample_packing: false
77
+ save_steps: 10
78
+ sequence_len: 512
79
+ special_tokens:
80
+ pad_token: </s>
81
+ strict: false
82
+ tf32: false
83
+ tokenizer_type: AutoTokenizer
84
+ train_on_inputs: false
85
+ trust_remote_code: true
86
+ val_set_size: 0.05
87
+ wandb_entity: null
88
+ wandb_mode: online
89
+ wandb_name: 2b7261bb-53d0-4a0f-a27c-269f51d1445f
90
+ wandb_project: Gradients-On-Demand
91
+ wandb_run: your_name
92
+ wandb_runid: 2b7261bb-53d0-4a0f-a27c-269f51d1445f
93
+ warmup_steps: 10
94
+ weight_decay: 0.0
95
+ xformers_attention: null
96
+
97
+ ```
98
+
99
+ </details><br>
100
+
101
+ # 31568be0-5848-4a01-81d3-46f12a0d26f5
102
+
103
+ This model is a fine-tuned version of [NousResearch/CodeLlama-7b-hf](https://huggingface.co/NousResearch/CodeLlama-7b-hf) on the None dataset.
104
+ It achieves the following results on the evaluation set:
105
+ - Loss: 0.8642
106
+
107
+ ## Model description
108
+
109
+ More information needed
110
+
111
+ ## Intended uses & limitations
112
+
113
+ More information needed
114
+
115
+ ## Training and evaluation data
116
+
117
+ More information needed
118
+
119
+ ## Training procedure
120
+
121
+ ### Training hyperparameters
122
+
123
+ The following hyperparameters were used during training:
124
+ - learning_rate: 0.0002
125
+ - train_batch_size: 2
126
+ - eval_batch_size: 2
127
+ - seed: 42
128
+ - gradient_accumulation_steps: 4
129
+ - total_train_batch_size: 8
130
+ - optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
131
+ - lr_scheduler_type: cosine
132
+ - lr_scheduler_warmup_steps: 10
133
+ - training_steps: 25
134
+
135
+ ### Training results
136
+
137
+ | Training Loss | Epoch | Step | Validation Loss |
138
+ |:-------------:|:------:|:----:|:---------------:|
139
+ | 3.1068 | 0.0004 | 1 | 0.8964 |
140
+ | 3.4202 | 0.0018 | 5 | 0.8961 |
141
+ | 3.2592 | 0.0036 | 10 | 0.8891 |
142
+ | 3.6892 | 0.0054 | 15 | 0.8726 |
143
+ | 4.1322 | 0.0072 | 20 | 0.8655 |
144
+ | 3.0519 | 0.0090 | 25 | 0.8642 |
145
+
146
+
147
+ ### Framework versions
148
+
149
+ - PEFT 0.13.2
150
+ - Transformers 4.46.0
151
+ - Pytorch 2.5.0+cu124
152
+ - Datasets 3.0.1
153
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b4d2409fa72f1819934a784dab6bd7974f59cbaeb3e6c516e31d5b746606d8e2
3
+ size 80115210