vdos commited on
Commit
5f2534a
1 Parent(s): bdbba88

End of training

Browse files
Files changed (3) hide show
  1. README.md +153 -0
  2. adapter_model.bin +3 -0
  3. adapter_model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,153 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: unsloth/codellama-7b
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: f0fdc34b-217c-4f39-b860-c7c4e5f63ab3
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ [<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)
17
+ <details><summary>See axolotl config</summary>
18
+
19
+ axolotl version: `0.5.2`
20
+ ```yaml
21
+ adapter: lora
22
+ base_model: unsloth/codellama-7b
23
+ bf16: auto
24
+ chat_template: llama3
25
+ dataset_prepared_path: null
26
+ datasets:
27
+ - data_files:
28
+ - 90cee4ce32af6b08_train_data.json
29
+ ds_type: json
30
+ format: custom
31
+ path: /workspace/input_data/90cee4ce32af6b08_train_data.json
32
+ type:
33
+ field_input: chosen
34
+ field_instruction: prompt
35
+ field_output: chosen_label
36
+ format: '{instruction} {input}'
37
+ no_input_format: '{instruction}'
38
+ system_format: '{system}'
39
+ system_prompt: ''
40
+ debug: null
41
+ deepspeed: null
42
+ early_stopping_patience: 1
43
+ eval_max_new_tokens: 128
44
+ eval_steps: 25
45
+ eval_table_size: 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: true
53
+ hub_model_id: vdos/f0fdc34b-217c-4f39-b860-c7c4e5f63ab3
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: 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
+ lr_scheduler: cosine
69
+ max_steps: 50
70
+ micro_batch_size: 2
71
+ mlflow_experiment_name: /tmp/90cee4ce32af6b08_train_data.json
72
+ model_type: AutoModelForCausalLM
73
+ num_epochs: 3
74
+ optimizer: adamw_torch
75
+ output_dir: miner_id_24
76
+ pad_to_sequence_len: true
77
+ resume_from_checkpoint: null
78
+ s2_attention: null
79
+ sample_packing: false
80
+ save_steps: 25
81
+ sequence_len: 2048
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: f0fdc34b-217c-4f39-b860-c7c4e5f63ab3
91
+ wandb_project: Gradients-On-Demand
92
+ wandb_run: your_name
93
+ wandb_runid: f0fdc34b-217c-4f39-b860-c7c4e5f63ab3
94
+ warmup_ratio: 0.05
95
+ weight_decay: 0.01
96
+ xformers_attention: true
97
+
98
+ ```
99
+
100
+ </details><br>
101
+
102
+ # f0fdc34b-217c-4f39-b860-c7c4e5f63ab3
103
+
104
+ This model is a fine-tuned version of [unsloth/codellama-7b](https://huggingface.co/unsloth/codellama-7b) on the None dataset.
105
+ It achieves the following results on the evaluation set:
106
+ - Loss: 0.2677
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.0001
126
+ - train_batch_size: 2
127
+ - eval_batch_size: 2
128
+ - seed: 42
129
+ - distributed_type: multi-GPU
130
+ - num_devices: 4
131
+ - gradient_accumulation_steps: 16
132
+ - total_train_batch_size: 128
133
+ - total_eval_batch_size: 8
134
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
135
+ - lr_scheduler_type: cosine
136
+ - lr_scheduler_warmup_steps: 2
137
+ - training_steps: 36
138
+
139
+ ### Training results
140
+
141
+ | Training Loss | Epoch | Step | Validation Loss |
142
+ |:-------------:|:------:|:----:|:---------------:|
143
+ | 6.1391 | 0.0842 | 1 | 6.0623 |
144
+ | 0.4467 | 2.1053 | 25 | 0.2677 |
145
+
146
+
147
+ ### Framework versions
148
+
149
+ - PEFT 0.13.2
150
+ - Transformers 4.46.3
151
+ - Pytorch 2.3.1+cu121
152
+ - Datasets 3.1.0
153
+ - Tokenizers 0.20.3
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3caabe98661f014e5522d7d7cb51310b3134c6c471a4333d154523ed1dcb5e0c
3
+ size 319977674
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:473ea3e3d593b485955cb7bfbbed914a5d88e9a0bb5a5807b3399185ede724a9
3
  size 319876032
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9403fb908bc695cebdf82191db72c614e2bf14fa8a73110595b157f28f62b456
3
  size 319876032