strickvl commited on
Commit
82b2d03
·
verified ·
1 Parent(s): 8ad3793

End of training

Browse files
Files changed (2) hide show
  1. README.md +163 -0
  2. adapter_model.bin +3 -0
README.md ADDED
@@ -0,0 +1,163 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ library_name: peft
4
+ tags:
5
+ - axolotl
6
+ - generated_from_trainer
7
+ base_model: TinyLlama/TinyLlama-1.1B-intermediate-step-1431k-3T
8
+ model-index:
9
+ - name: isafpr-tiny-llama-lora-sharegpt
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/OpenAccess-AI-Collective/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/OpenAccess-AI-Collective/axolotl)
17
+ <details><summary>See axolotl config</summary>
18
+
19
+ axolotl version: `0.4.1`
20
+ ```yaml
21
+ base_model: TinyLlama/TinyLlama-1.1B-intermediate-step-1431k-3T
22
+ model_type: LlamaForCausalLM
23
+ tokenizer_type: LlamaTokenizer
24
+
25
+ load_in_8bit: false
26
+ # I'm training on 4090 GPUs
27
+ # so I'm using 4-bit precision to save on memory
28
+ load_in_4bit: true
29
+ strict: false
30
+
31
+ data_seed: 42
32
+ seed: 42
33
+
34
+ datasets:
35
+ - path: data/sharegpt_isaf_press_releases_ft_train.jsonl
36
+ type: sharegpt
37
+ conversation: alpaca
38
+ dataset_prepared_path:
39
+ val_set_size: 0.1
40
+ output_dir: ./outputs/tiny-llama/lora-out-sharegpt
41
+ hub_model_id: strickvl/isafpr-tiny-llama-lora-sharegpt
42
+
43
+ sequence_len: 4096
44
+ sample_packing: true
45
+ eval_sample_packing: false
46
+ pad_to_sequence_len: true
47
+
48
+ adapter: lora
49
+ lora_model_dir:
50
+ lora_r: 32
51
+ lora_alpha: 16
52
+ lora_dropout: 0.05
53
+ lora_target_linear: true
54
+ lora_fan_in_fan_out:
55
+
56
+ wandb_project: isaf_pr_ft
57
+ wandb_entity: strickvl
58
+ wandb_watch:
59
+ wandb_name:
60
+ wandb_log_model:
61
+
62
+ gradient_accumulation_steps: 4
63
+ micro_batch_size: 2
64
+ num_epochs: 4
65
+ optimizer: adamw_bnb_8bit
66
+ lr_scheduler: cosine
67
+ learning_rate: 0.0002
68
+
69
+ train_on_inputs: false
70
+ group_by_length: false
71
+ bf16: auto
72
+ fp16:
73
+ tf32: false
74
+
75
+ gradient_checkpointing: true
76
+ early_stopping_patience:
77
+ resume_from_checkpoint:
78
+ local_rank:
79
+ logging_steps: 1
80
+ xformers_attention:
81
+ flash_attention: true
82
+
83
+ warmup_steps: 10
84
+ evals_per_epoch: 4
85
+ saves_per_epoch: 1
86
+ debug:
87
+ deepspeed:
88
+ weight_decay: 0.0
89
+ fsdp:
90
+ fsdp_config:
91
+ special_tokens:
92
+ bos_token: "<s>"
93
+ eos_token: "</s>"
94
+
95
+ ```
96
+
97
+ </details><br>
98
+
99
+ # isafpr-tiny-llama-lora-sharegpt
100
+
101
+ This model is a fine-tuned version of [TinyLlama/TinyLlama-1.1B-intermediate-step-1431k-3T](https://huggingface.co/TinyLlama/TinyLlama-1.1B-intermediate-step-1431k-3T) on the None dataset.
102
+ It achieves the following results on the evaluation set:
103
+ - Loss: 0.0507
104
+
105
+ ## Model description
106
+
107
+ More information needed
108
+
109
+ ## Intended uses & limitations
110
+
111
+ More information needed
112
+
113
+ ## Training and evaluation data
114
+
115
+ More information needed
116
+
117
+ ## Training procedure
118
+
119
+ ### Training hyperparameters
120
+
121
+ The following hyperparameters were used during training:
122
+ - learning_rate: 0.0002
123
+ - train_batch_size: 2
124
+ - eval_batch_size: 2
125
+ - seed: 42
126
+ - distributed_type: multi-GPU
127
+ - num_devices: 2
128
+ - gradient_accumulation_steps: 4
129
+ - total_train_batch_size: 16
130
+ - total_eval_batch_size: 4
131
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
132
+ - lr_scheduler_type: cosine
133
+ - lr_scheduler_warmup_steps: 10
134
+ - num_epochs: 4
135
+
136
+ ### Training results
137
+
138
+ | Training Loss | Epoch | Step | Validation Loss |
139
+ |:-------------:|:------:|:----:|:---------------:|
140
+ | 1.7687 | 0.0270 | 1 | 1.7719 |
141
+ | 1.0632 | 0.2703 | 10 | 0.9033 |
142
+ | 0.1374 | 0.5405 | 20 | 0.1365 |
143
+ | 0.0763 | 0.8108 | 30 | 0.0942 |
144
+ | 0.0752 | 1.0608 | 40 | 0.0765 |
145
+ | 0.0764 | 1.3311 | 50 | 0.0680 |
146
+ | 0.0623 | 1.6014 | 60 | 0.0630 |
147
+ | 0.0596 | 1.8716 | 70 | 0.0593 |
148
+ | 0.0523 | 2.1216 | 80 | 0.0570 |
149
+ | 0.0514 | 2.3919 | 90 | 0.0543 |
150
+ | 0.0501 | 2.6622 | 100 | 0.0528 |
151
+ | 0.0475 | 2.9324 | 110 | 0.0515 |
152
+ | 0.0525 | 3.1824 | 120 | 0.0511 |
153
+ | 0.0436 | 3.4527 | 130 | 0.0509 |
154
+ | 0.0508 | 3.7230 | 140 | 0.0507 |
155
+
156
+
157
+ ### Framework versions
158
+
159
+ - PEFT 0.11.1
160
+ - Transformers 4.41.1
161
+ - Pytorch 2.3.0+cu121
162
+ - Datasets 2.19.1
163
+ - Tokenizers 0.19.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec4062e85090a9e3aa635a8ff53bf5ad3efb5199bf57dc80377a5d44655f8e16
3
+ size 101036698