sam2ai commited on
Commit
21eaaca
·
verified ·
1 Parent(s): 7717d57

End of training

Browse files
Files changed (1) hide show
  1. README.md +166 -0
README.md ADDED
@@ -0,0 +1,166 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: gemma
3
+ library_name: peft
4
+ tags:
5
+ - axolotl
6
+ - generated_from_trainer
7
+ base_model: google/gemma-2b
8
+ model-index:
9
+ - name: gemma_odia_2b_v1
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: google/gemma-2b
22
+ model_type: AutoModelForCausalLM
23
+ tokenizer_type: AutoTokenizer
24
+
25
+ load_in_8bit: false
26
+ load_in_4bit: true
27
+ strict: false
28
+
29
+ datasets:
30
+ - path: OdiaGenAIdata/culturax-odia
31
+ type: completion
32
+ field: text
33
+ dataset_prepared_path:
34
+ val_set_size: 0.1
35
+ output_dir: ./gemma-odia-2b-pretrain-v1
36
+ hub_model_id: sam2ai/gemma_odia_2b_v1
37
+
38
+ adapter: qlora
39
+ lora_model_dir:
40
+
41
+ sequence_len: 4096
42
+ sample_packing: true
43
+ pad_to_sequence_len: true
44
+
45
+ wandb_project: gemma-completion-2b-odia-v1
46
+ wandb_entity:
47
+ wandb_watch:
48
+ wandb_name:
49
+ wandb_log_model:
50
+
51
+ lora_r: 64
52
+ lora_alpha: 128
53
+ lora_dropout: 0.05
54
+ lora_target_modules:
55
+ - q_proj
56
+ - v_proj
57
+ - k_proj
58
+ - o_proj
59
+ - gate_proj
60
+ - down_proj
61
+ - up_proj
62
+ lora_modules_to_save:
63
+ - embed_tokens
64
+ - lm_head
65
+ lora_target_linear: true
66
+ lora_fan_in_fan_out:
67
+
68
+ gradient_accumulation_steps: 8
69
+ micro_batch_size: 2
70
+ num_epochs: 2
71
+ optimizer: adamw_bnb_8bit
72
+ lr_scheduler: cosine
73
+ learning_rate: 0.0002
74
+
75
+ train_on_inputs: false
76
+ group_by_length: false
77
+ bf16: false
78
+ fp16: false
79
+ tf32: false
80
+
81
+ gradient_checkpointing: true
82
+ early_stopping_patience:
83
+ resume_from_checkpoint:
84
+ local_rank:
85
+ logging_steps: 1
86
+ xformers_attention:
87
+ flash_attention: False
88
+
89
+ warmup_ratio: 0.1
90
+ evals_per_epoch: 4
91
+ eval_table_size:
92
+ eval_max_new_tokens: 128
93
+ eval_sample_packing: False
94
+ saves_per_epoch: 1
95
+ debug:
96
+ deepspeed:
97
+ weight_decay: 0.0
98
+ fsdp:
99
+ fsdp_config:
100
+ special_tokens:
101
+
102
+ save_safetensors: True
103
+
104
+
105
+ ```
106
+
107
+ </details><br>
108
+
109
+ # gemma_odia_2b_v1
110
+
111
+ This model is a fine-tuned version of [google/gemma-2b](https://huggingface.co/google/gemma-2b) on the None dataset.
112
+ It achieves the following results on the evaluation set:
113
+ - Loss: 3.2357
114
+
115
+ ## Model description
116
+
117
+ More information needed
118
+
119
+ ## Intended uses & limitations
120
+
121
+ More information needed
122
+
123
+ ## Training and evaluation data
124
+
125
+ More information needed
126
+
127
+ ## Training procedure
128
+
129
+ ### Training hyperparameters
130
+
131
+ The following hyperparameters were used during training:
132
+ - learning_rate: 0.0002
133
+ - train_batch_size: 2
134
+ - eval_batch_size: 2
135
+ - seed: 42
136
+ - distributed_type: multi-GPU
137
+ - num_devices: 8
138
+ - gradient_accumulation_steps: 8
139
+ - total_train_batch_size: 128
140
+ - total_eval_batch_size: 16
141
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
142
+ - lr_scheduler_type: cosine
143
+ - lr_scheduler_warmup_steps: 6
144
+ - num_epochs: 2
145
+
146
+ ### Training results
147
+
148
+ | Training Loss | Epoch | Step | Validation Loss |
149
+ |:-------------:|:-----:|:----:|:---------------:|
150
+ | 48.3861 | 0.0 | 1 | 48.2747 |
151
+ | 3.3986 | 0.25 | 169 | 3.2901 |
152
+ | 3.3659 | 0.5 | 338 | 3.2334 |
153
+ | 3.1731 | 0.75 | 507 | 3.0614 |
154
+ | 3.1942 | 1.0 | 676 | 3.0977 |
155
+ | 3.3983 | 1.24 | 845 | 3.3234 |
156
+ | 3.3853 | 1.49 | 1014 | 3.2983 |
157
+ | 3.3254 | 1.74 | 1183 | 3.2357 |
158
+
159
+
160
+ ### Framework versions
161
+
162
+ - PEFT 0.9.0
163
+ - Transformers 4.40.0.dev0
164
+ - Pytorch 2.4.0.dev20240326+rocm6.0
165
+ - Datasets 2.18.0
166
+ - Tokenizers 0.15.0