sam2ai commited on
Commit
34b15e7
1 Parent(s): e6d1c05

End of training

Browse files
Files changed (1) hide show
  1. README.md +165 -0
README.md ADDED
@@ -0,0 +1,165 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ library_name: peft
4
+ tags:
5
+ - axolotl
6
+ - generated_from_trainer
7
+ base_model: meta-llama/Meta-Llama-3-8B
8
+ model-index:
9
+ - name: llama3_8b_odia_v2
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: meta-llama/Meta-Llama-3-8B
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: ./llama_3_8b_pretrain_v2
36
+ hub_model_id: sam2ai/llama3_8b_odia_v2
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
+ lora_r: 64
46
+ lora_alpha: 128
47
+ lora_dropout: 0.05
48
+ lora_target_modules:
49
+ lora_target_linear: true
50
+ #lora_modules_to_save:
51
+ # - embed_tokens
52
+ # - lm_head
53
+ lora_fan_in_fan_out:
54
+
55
+ wandb_project: llama-3-8b-pretrain-odia-plain
56
+ wandb_entity:
57
+ wandb_watch:
58
+ wandb_name:
59
+ wandb_log_model:
60
+
61
+ gradient_accumulation_steps: 8
62
+ micro_batch_size: 2
63
+ num_epochs: 4
64
+ optimizer: paged_adamw_32bit
65
+ lr_scheduler: cosine
66
+ learning_rate: 0.0002
67
+
68
+ train_on_inputs: false
69
+ group_by_length: false
70
+ bf16: auto
71
+ fp16:
72
+ tf32: false
73
+
74
+ gradient_checkpointing: true
75
+ early_stopping_patience:
76
+ resume_from_checkpoint:
77
+ local_rank:
78
+ logging_steps: 1
79
+ xformers_attention:
80
+ flash_attention: false
81
+
82
+ warmup_steps: 10
83
+ evals_per_epoch: 4
84
+ eval_table_size:
85
+ saves_per_epoch: 1
86
+ debug:
87
+ deepspeed:
88
+ weight_decay: 0.0
89
+ fsdp:
90
+ fsdp_config:
91
+ special_tokens:
92
+ pad_token: "<|end_of_text|>"
93
+ save_safetensors: True
94
+
95
+ ```
96
+
97
+ </details><br>
98
+
99
+ # llama3_8b_odia_v2
100
+
101
+ This model is a fine-tuned version of [meta-llama/Meta-Llama-3-8B](https://huggingface.co/meta-llama/Meta-Llama-3-8B) on the None dataset.
102
+ It achieves the following results on the evaluation set:
103
+ - Loss: nan
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: 8
128
+ - gradient_accumulation_steps: 8
129
+ - total_train_batch_size: 128
130
+ - total_eval_batch_size: 16
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
+ | 13.7841 | 0.0007 | 1 | nan |
141
+ | 0.0 | 0.25 | 384 | nan |
142
+ | 0.0 | 0.5 | 768 | nan |
143
+ | 0.0 | 0.75 | 1152 | nan |
144
+ | 0.0 | 1.0 | 1536 | nan |
145
+ | 0.0 | 1.2362 | 1920 | nan |
146
+ | 0.0 | 1.4862 | 2304 | nan |
147
+ | 0.0 | 1.7362 | 2688 | nan |
148
+ | 0.0 | 1.9862 | 3072 | nan |
149
+ | 0.0 | 2.2220 | 3456 | nan |
150
+ | 0.0 | 2.4720 | 3840 | nan |
151
+ | 0.0 | 2.7220 | 4224 | nan |
152
+ | 0.0 | 2.9720 | 4608 | nan |
153
+ | 0.0 | 3.2078 | 4992 | nan |
154
+ | 0.0 | 3.4578 | 5376 | nan |
155
+ | 0.0 | 3.7078 | 5760 | nan |
156
+ | 0.0 | 3.9578 | 6144 | nan |
157
+
158
+
159
+ ### Framework versions
160
+
161
+ - PEFT 0.9.0
162
+ - Transformers 4.40.0
163
+ - Pytorch 2.4.0.dev20240326+rocm6.0
164
+ - Datasets 2.15.0
165
+ - Tokenizers 0.19.1