abaddon182 commited on
Commit
aa54df1
·
verified ·
1 Parent(s): 85864a9

End of training

Browse files
Files changed (3) hide show
  1. README.md +171 -0
  2. adapter_model.bin +3 -0
  3. adapter_model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,171 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: apache-2.0
4
+ base_model: berkeley-nest/Starling-LM-7B-alpha
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: 80a87a9d-a02d-42b7-a629-6338b4718a61
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.4.1`
20
+ ```yaml
21
+ adapter: lora
22
+ base_model: berkeley-nest/Starling-LM-7B-alpha
23
+ bf16: true
24
+ chat_template: llama3
25
+ dataloader_num_workers: 12
26
+ dataset_prepared_path: null
27
+ datasets:
28
+ - data_files:
29
+ - 6048e49854cb2d5a_train_data.json
30
+ ds_type: json
31
+ format: custom
32
+ path: /workspace/input_data/6048e49854cb2d5a_train_data.json
33
+ type:
34
+ field_instruction: question
35
+ field_output: risposta_1
36
+ format: '{instruction}'
37
+ no_input_format: '{instruction}'
38
+ system_format: '{system}'
39
+ system_prompt: ''
40
+ debug: null
41
+ deepspeed: null
42
+ device_map: auto
43
+ do_eval: true
44
+ early_stopping_patience: 3
45
+ eval_batch_size: 8
46
+ eval_max_new_tokens: 128
47
+ eval_steps: 150
48
+ eval_table_size: null
49
+ evals_per_epoch: null
50
+ flash_attention: true
51
+ fp16: false
52
+ fsdp: null
53
+ fsdp_config: null
54
+ gradient_accumulation_steps: 4
55
+ gradient_checkpointing: true
56
+ group_by_length: true
57
+ hub_model_id: abaddon182/80a87a9d-a02d-42b7-a629-6338b4718a61
58
+ hub_repo: null
59
+ hub_strategy: checkpoint
60
+ hub_token: null
61
+ learning_rate: 3e-5
62
+ load_in_4bit: false
63
+ load_in_8bit: false
64
+ local_rank: null
65
+ logging_steps: 10
66
+ lora_alpha: 16
67
+ lora_dropout: 0.05
68
+ lora_fan_in_fan_out: null
69
+ lora_model_dir: null
70
+ lora_r: 8
71
+ lora_target_linear: true
72
+ lr_scheduler: cosine
73
+ max_grad_norm: 1.0
74
+ max_memory:
75
+ 0: 75GB
76
+ max_steps: 1500
77
+ micro_batch_size: 8
78
+ mlflow_experiment_name: /tmp/6048e49854cb2d5a_train_data.json
79
+ model_type: AutoModelForCausalLM
80
+ num_epochs: 15
81
+ optim_args:
82
+ adam_beta1: 0.9
83
+ adam_beta2: 0.999
84
+ adam_epsilon: 1e-8
85
+ optimizer: adamw_torch
86
+ output_dir: miner_id_24
87
+ pad_to_sequence_len: true
88
+ resume_from_checkpoint: null
89
+ s2_attention: null
90
+ sample_packing: false
91
+ save_steps: 150
92
+ saves_per_epoch: null
93
+ sequence_len: 1024
94
+ strict: false
95
+ tf32: true
96
+ tokenizer_type: AutoTokenizer
97
+ train_on_inputs: false
98
+ trust_remote_code: true
99
+ val_set_size: 0.05
100
+ wandb_entity: null
101
+ wandb_mode: online
102
+ wandb_name: 62f85a5e-425f-4d9f-b1fc-8243f1d183bc
103
+ wandb_project: Gradients-On-Demand
104
+ wandb_run: your_name
105
+ wandb_runid: 62f85a5e-425f-4d9f-b1fc-8243f1d183bc
106
+ warmup_steps: 50
107
+ weight_decay: 0.1
108
+ xformers_attention: null
109
+
110
+ ```
111
+
112
+ </details><br>
113
+
114
+ # 80a87a9d-a02d-42b7-a629-6338b4718a61
115
+
116
+ This model is a fine-tuned version of [berkeley-nest/Starling-LM-7B-alpha](https://huggingface.co/berkeley-nest/Starling-LM-7B-alpha) on the None dataset.
117
+ It achieves the following results on the evaluation set:
118
+ - Loss: 0.7147
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: 3e-05
138
+ - train_batch_size: 8
139
+ - eval_batch_size: 8
140
+ - seed: 42
141
+ - gradient_accumulation_steps: 4
142
+ - total_train_batch_size: 32
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.999,adam_epsilon=1e-8
144
+ - lr_scheduler_type: cosine
145
+ - lr_scheduler_warmup_steps: 50
146
+ - training_steps: 1500
147
+
148
+ ### Training results
149
+
150
+ | Training Loss | Epoch | Step | Validation Loss |
151
+ |:-------------:|:------:|:----:|:---------------:|
152
+ | No log | 0.0018 | 1 | 0.9616 |
153
+ | 3.2751 | 0.2692 | 150 | 0.7649 |
154
+ | 3.191 | 0.5384 | 300 | 0.7427 |
155
+ | 3.2114 | 0.8075 | 450 | 0.7333 |
156
+ | 3.1693 | 1.0767 | 600 | 0.7255 |
157
+ | 2.9872 | 1.3459 | 750 | 0.7228 |
158
+ | 2.9755 | 1.6151 | 900 | 0.7174 |
159
+ | 3.0243 | 1.8843 | 1050 | 0.7148 |
160
+ | 2.7709 | 2.1534 | 1200 | 0.7157 |
161
+ | 2.6879 | 2.4226 | 1350 | 0.7146 |
162
+ | 2.695 | 2.6918 | 1500 | 0.7147 |
163
+
164
+
165
+ ### Framework versions
166
+
167
+ - PEFT 0.13.2
168
+ - Transformers 4.46.0
169
+ - Pytorch 2.5.0+cu124
170
+ - Datasets 3.0.1
171
+ - Tokenizers 0.20.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a2aa7ad66265f788e55540a8283992f4466ace67e3fb6b3a714f1fb36a05a514
3
+ size 608385234
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:19adb2d1a0b7182043a942819ffba081f1801fc64dfa70057047dfaf19ffbb54
3
  size 608282672
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d30350e360f601a3511eb106d62c7ac2fcc119d79f328213767c37a43f5539e
3
  size 608282672