lesso08 commited on
Commit
6b8d2e8
1 Parent(s): b2f5b51

End of training

Browse files
Files changed (2) hide show
  1. README.md +152 -0
  2. adapter_model.bin +3 -0
README.md ADDED
@@ -0,0 +1,152 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: c48b283d-a43b-4042-ace8-737577a1639c
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
+ - e45bf77ec68bf027_train_data.json
28
+ ds_type: json
29
+ format: custom
30
+ path: /workspace/input_data/e45bf77ec68bf027_train_data.json
31
+ type:
32
+ field_instruction: prompt
33
+ field_output: chosen
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: null
46
+ fsdp: null
47
+ fsdp_config: null
48
+ gradient_accumulation_steps: 4
49
+ gradient_checkpointing: false
50
+ group_by_length: false
51
+ hub_model_id: lesso08/c48b283d-a43b-4042-ace8-737577a1639c
52
+ hub_repo: null
53
+ hub_strategy: checkpoint
54
+ hub_token: null
55
+ learning_rate: 0.0002
56
+ load_in_4bit: false
57
+ load_in_8bit: false
58
+ local_rank: null
59
+ logging_steps: 1
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: 10
68
+ micro_batch_size: 2
69
+ mlflow_experiment_name: /tmp/e45bf77ec68bf027_train_data.json
70
+ model_type: AutoModelForCausalLM
71
+ num_epochs: 1
72
+ optimizer: adamw_bnb_8bit
73
+ output_dir: miner_id_24
74
+ pad_to_sequence_len: true
75
+ resume_from_checkpoint: null
76
+ s2_attention: null
77
+ sample_packing: false
78
+ saves_per_epoch: 4
79
+ sequence_len: 512
80
+ special_tokens:
81
+ pad_token: </s>
82
+ strict: false
83
+ tf32: false
84
+ tokenizer_type: AutoTokenizer
85
+ train_on_inputs: false
86
+ trust_remote_code: true
87
+ val_set_size: 0.05
88
+ wandb_entity: null
89
+ wandb_mode: online
90
+ wandb_name: c48b283d-a43b-4042-ace8-737577a1639c
91
+ wandb_project: Gradients-On-Demand
92
+ wandb_run: your_name
93
+ wandb_runid: c48b283d-a43b-4042-ace8-737577a1639c
94
+ warmup_steps: 10
95
+ weight_decay: 0.0
96
+ xformers_attention: null
97
+
98
+ ```
99
+
100
+ </details><br>
101
+
102
+ # c48b283d-a43b-4042-ace8-737577a1639c
103
+
104
+ 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.
105
+ It achieves the following results on the evaluation set:
106
+ - Loss: 2.2087
107
+
108
+ ## Model description
109
+
110
+ More information needed
111
+
112
+ ## Intended uses & limitations
113
+
114
+ More information needed
115
+
116
+ ## Training and evaluation data
117
+
118
+ More information needed
119
+
120
+ ## Training procedure
121
+
122
+ ### Training hyperparameters
123
+
124
+ The following hyperparameters were used during training:
125
+ - learning_rate: 0.0002
126
+ - train_batch_size: 2
127
+ - eval_batch_size: 2
128
+ - seed: 42
129
+ - gradient_accumulation_steps: 4
130
+ - total_train_batch_size: 8
131
+ - optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
132
+ - lr_scheduler_type: cosine
133
+ - lr_scheduler_warmup_steps: 10
134
+ - training_steps: 10
135
+
136
+ ### Training results
137
+
138
+ | Training Loss | Epoch | Step | Validation Loss |
139
+ |:-------------:|:------:|:----:|:---------------:|
140
+ | 38.7076 | 0.0004 | 1 | 9.1160 |
141
+ | 35.1822 | 0.0012 | 3 | 9.0038 |
142
+ | 32.4459 | 0.0023 | 6 | 6.3717 |
143
+ | 5.0641 | 0.0035 | 9 | 2.2087 |
144
+
145
+
146
+ ### Framework versions
147
+
148
+ - PEFT 0.13.2
149
+ - Transformers 4.46.0
150
+ - Pytorch 2.5.0+cu124
151
+ - Datasets 3.0.1
152
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:619d363a135444bbf3cca56e26befcddaa0a0e100a7175567d52b1ee06038a03
3
+ size 80115210