bbytxt commited on
Commit
8a1d3d8
1 Parent(s): 7a5f9ac

End of training

Browse files
Files changed (3) hide show
  1. README.md +155 -0
  2. adapter_model.bin +3 -0
  3. adapter_model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,155 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: d5cfa622-cd63-4475-9ce8-a81149a5bbe4
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: true
23
+ chat_template: llama3
24
+ dataset_prepared_path: null
25
+ datasets:
26
+ - data_files:
27
+ - 19ed00d6bca3fba1_train_data.json
28
+ ds_type: json
29
+ format: custom
30
+ path: /workspace/input_data/19ed00d6bca3fba1_train_data.json
31
+ type:
32
+ field_instruction: question
33
+ field_output: query
34
+ format: '{instruction}'
35
+ no_input_format: '{instruction}'
36
+ system_format: '{system}'
37
+ system_prompt: ''
38
+ debug: null
39
+ deepspeed: null
40
+ device_map: auto
41
+ early_stopping_patience: 5
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: false
48
+ fsdp: null
49
+ fsdp_config: null
50
+ gradient_accumulation_steps: 16
51
+ gradient_checkpointing: true
52
+ group_by_length: false
53
+ hub_model_id: bbytxt/d5cfa622-cd63-4475-9ce8-a81149a5bbe4
54
+ hub_repo: null
55
+ hub_strategy: checkpoint
56
+ hub_token: null
57
+ learning_rate: 0.0001
58
+ load_in_4bit: false
59
+ load_in_8bit: false
60
+ local_rank: null
61
+ logging_steps: 1
62
+ lora_alpha: 128
63
+ lora_dropout: 0.05
64
+ lora_fan_in_fan_out: null
65
+ lora_model_dir: null
66
+ lora_r: 64
67
+ lora_target_linear: true
68
+ lr_scheduler: cosine
69
+ max_memory:
70
+ 0: 70GB
71
+ max_steps: 75
72
+ micro_batch_size: 4
73
+ mlflow_experiment_name: /tmp/19ed00d6bca3fba1_train_data.json
74
+ model_type: AutoModelForCausalLM
75
+ num_epochs: 3
76
+ optimizer: adamw_bnb_8bit
77
+ output_dir: miner_id_24
78
+ pad_to_sequence_len: true
79
+ resume_from_checkpoint: null
80
+ s2_attention: null
81
+ sample_packing: false
82
+ save_steps: 50
83
+ saves_per_epoch: null
84
+ sequence_len: 2048
85
+ special_tokens:
86
+ pad_token: </s>
87
+ strict: false
88
+ tf32: false
89
+ tokenizer_type: AutoTokenizer
90
+ train_on_inputs: false
91
+ trust_remote_code: true
92
+ val_set_size: 0.05
93
+ wandb_entity: null
94
+ wandb_mode: online
95
+ wandb_name: d5cfa622-cd63-4475-9ce8-a81149a5bbe4
96
+ wandb_project: Gradients-On-Demand
97
+ wandb_run: your_name
98
+ wandb_runid: d5cfa622-cd63-4475-9ce8-a81149a5bbe4
99
+ warmup_steps: 20
100
+ weight_decay: 0.0
101
+ xformers_attention: null
102
+
103
+ ```
104
+
105
+ </details><br>
106
+
107
+ # d5cfa622-cd63-4475-9ce8-a81149a5bbe4
108
+
109
+ 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.
110
+ It achieves the following results on the evaluation set:
111
+ - Loss: 0.3579
112
+
113
+ ## Model description
114
+
115
+ More information needed
116
+
117
+ ## Intended uses & limitations
118
+
119
+ More information needed
120
+
121
+ ## Training and evaluation data
122
+
123
+ More information needed
124
+
125
+ ## Training procedure
126
+
127
+ ### Training hyperparameters
128
+
129
+ The following hyperparameters were used during training:
130
+ - learning_rate: 0.0001
131
+ - train_batch_size: 4
132
+ - eval_batch_size: 4
133
+ - seed: 42
134
+ - gradient_accumulation_steps: 16
135
+ - total_train_batch_size: 64
136
+ - optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
137
+ - lr_scheduler_type: cosine
138
+ - lr_scheduler_warmup_steps: 20
139
+ - training_steps: 75
140
+
141
+ ### Training results
142
+
143
+ | Training Loss | Epoch | Step | Validation Loss |
144
+ |:-------------:|:------:|:----:|:---------------:|
145
+ | 26.7779 | 0.0086 | 1 | 1.7484 |
146
+ | 5.4502 | 0.4296 | 50 | 0.3579 |
147
+
148
+
149
+ ### Framework versions
150
+
151
+ - PEFT 0.13.2
152
+ - Transformers 4.46.0
153
+ - Pytorch 2.5.0+cu124
154
+ - Datasets 3.0.1
155
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8533b65a6bb583c4fc4f9d7508474586ac950a8e4f9d1bc953ac440ff9497e24
3
+ size 639793354
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b9e52ab4049fb88bf6300474783e1923795fe4e5207e28f7002b5b7874f44631
3
  size 639691872
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bd85eae4563d08f6deea624ac62d6c377e01129afb8c512e96f694b66b14fbfc
3
  size 639691872