satish860 commited on
Commit
f0ac4eb
·
verified ·
1 Parent(s): bbce1ac

End of training

Browse files
Files changed (2) hide show
  1. README.md +154 -0
  2. adapter_model.bin +3 -0
README.md ADDED
@@ -0,0 +1,154 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: hc-tinyllama-alpaca
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.0`
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
+ load_in_4bit: true
27
+ strict: false
28
+
29
+ datasets:
30
+ - path: imdb_1k_alpaca.jsonl
31
+ type: alpaca
32
+ dataset_prepared_path: last_run_prepared
33
+ val_set_size: 0.05
34
+ output_dir: ./outputs/qlora-out
35
+ hub_model_id: satish860/hc-tinyllama-alpaca
36
+
37
+ adapter: qlora
38
+ lora_model_dir:
39
+
40
+ sequence_len: 4096
41
+ sample_packing: true
42
+ eval_sample_packing: false
43
+ pad_to_sequence_len: true
44
+
45
+ lora_r: 32
46
+ lora_alpha: 16
47
+ lora_dropout: 0.05
48
+ lora_target_modules:
49
+ lora_target_linear: true
50
+ lora_fan_in_fan_out:
51
+
52
+ wandb_project:
53
+ wandb_entity:
54
+ wandb_watch:
55
+ wandb_name:
56
+ wandb_log_model:
57
+
58
+ gradient_accumulation_steps: 4
59
+ micro_batch_size: 2
60
+ num_epochs: 4
61
+ optimizer: paged_adamw_32bit
62
+ lr_scheduler: cosine
63
+ learning_rate: 0.0002
64
+
65
+ train_on_inputs: false
66
+ group_by_length: false
67
+ bf16: auto
68
+ fp16:
69
+ tf32: false
70
+
71
+ gradient_checkpointing: true
72
+ early_stopping_patience:
73
+ resume_from_checkpoint:
74
+ local_rank:
75
+ logging_steps: 1
76
+ xformers_attention:
77
+ flash_attention: true
78
+
79
+ warmup_steps: 10
80
+ evals_per_epoch: 4
81
+ saves_per_epoch: 1
82
+ debug:
83
+ deepspeed:
84
+ weight_decay: 0.0
85
+ fsdp:
86
+ fsdp_config:
87
+ special_tokens:
88
+
89
+ ```
90
+
91
+ </details><br>
92
+
93
+ # hc-tinyllama-alpaca
94
+
95
+ 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.
96
+ It achieves the following results on the evaluation set:
97
+ - Loss: 0.0225
98
+
99
+ ## Model description
100
+
101
+ More information needed
102
+
103
+ ## Intended uses & limitations
104
+
105
+ More information needed
106
+
107
+ ## Training and evaluation data
108
+
109
+ More information needed
110
+
111
+ ## Training procedure
112
+
113
+ ### Training hyperparameters
114
+
115
+ The following hyperparameters were used during training:
116
+ - learning_rate: 0.0002
117
+ - train_batch_size: 2
118
+ - eval_batch_size: 2
119
+ - seed: 42
120
+ - gradient_accumulation_steps: 4
121
+ - total_train_batch_size: 8
122
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
123
+ - lr_scheduler_type: cosine
124
+ - lr_scheduler_warmup_steps: 10
125
+ - num_epochs: 4
126
+
127
+ ### Training results
128
+
129
+ | Training Loss | Epoch | Step | Validation Loss |
130
+ |:-------------:|:------:|:----:|:---------------:|
131
+ | 8.0151 | 0.0851 | 1 | 7.9045 |
132
+ | 7.967 | 0.2553 | 3 | 7.7350 |
133
+ | 6.5633 | 0.5106 | 6 | 4.8012 |
134
+ | 1.5838 | 0.7660 | 9 | 0.7756 |
135
+ | 0.2319 | 1.0213 | 12 | 0.1592 |
136
+ | 0.0669 | 1.2340 | 15 | 0.0973 |
137
+ | 0.0344 | 1.4894 | 18 | 0.0453 |
138
+ | 0.1146 | 1.7447 | 21 | 0.0754 |
139
+ | 0.0896 | 2.0 | 24 | 0.0517 |
140
+ | 0.0293 | 2.2340 | 27 | 0.0486 |
141
+ | 0.0378 | 2.4894 | 30 | 0.0566 |
142
+ | 0.0523 | 2.7447 | 33 | 0.0270 |
143
+ | 0.0886 | 3.0 | 36 | 0.0226 |
144
+ | 0.0504 | 3.2128 | 39 | 0.0232 |
145
+ | 0.089 | 3.4681 | 42 | 0.0225 |
146
+
147
+
148
+ ### Framework versions
149
+
150
+ - PEFT 0.10.0
151
+ - Transformers 4.40.2
152
+ - Pytorch 2.1.2+cu118
153
+ - Datasets 2.19.1
154
+ - Tokenizers 0.19.1
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c20b5613d907aaba6caf9319c6281e8cf1568661bac021bb861699afa413115b
3
+ size 50573978