AiAF commited on
Commit
a9935fb
·
verified ·
1 Parent(s): 7769226

End of training

Browse files
Files changed (2) hide show
  1. README.md +149 -0
  2. generation_config.json +7 -0
README.md ADDED
@@ -0,0 +1,149 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: mistralai/Mistral-7B-v0.1
5
+ tags:
6
+ - axolotl
7
+ - generated_from_trainer
8
+ datasets:
9
+ - AiAF/KJV-LLM-pretraining.jsonl
10
+ model-index:
11
+ - name: KJV-LLM-Pretrained-V1.0
12
+ results: []
13
+ ---
14
+
15
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
16
+ should probably proofread and complete it, then remove this comment. -->
17
+
18
+ [<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)
19
+ <details><summary>See axolotl config</summary>
20
+
21
+ axolotl version: `0.6.0`
22
+ ```yaml
23
+ base_model: mistralai/Mistral-7B-v0.1
24
+ # optionally might have model_type or tokenizer_type
25
+ model_type: MistralForCausalLM
26
+ tokenizer_type: LlamaTokenizer
27
+ # Automatically upload checkpoint and final model to HF
28
+ hub_model_id: AiAF/KJV-LLM-Pretrained-V1.0
29
+
30
+ load_in_8bit: false
31
+ load_in_4bit: false
32
+ strict: false
33
+
34
+ datasets:
35
+ - path: AiAF/KJV-LLM-pretraining.jsonl
36
+ type: completion
37
+ dataset_prepared_path:
38
+ val_set_size: 0.05
39
+ output_dir: ./outputs/out/KJV-LLM-Pretrained-V1.0
40
+
41
+ sequence_len: 8192
42
+ sample_packing: true
43
+ pad_to_sequence_len: true
44
+ eval_sample_packing: false
45
+
46
+ wandb_project: "LLM-Pretraining"
47
+ wandb_entity:
48
+ wandb_watch: "all"
49
+ wandb_name: "KJV-LLM-Pretrained-V1.0"
50
+ wandb_log_model: "false"
51
+
52
+ gradient_accumulation_steps: 4
53
+ micro_batch_size: 2
54
+ num_epochs: 4
55
+ optimizer: adamw_bnb_8bit
56
+ lr_scheduler: cosine
57
+ learning_rate: 0.000005
58
+
59
+ train_on_inputs: false
60
+ group_by_length: false
61
+ bf16: auto
62
+ fp16:
63
+ tf32: false
64
+
65
+ gradient_checkpointing: true
66
+ early_stopping_patience:
67
+ resume_from_checkpoint:
68
+ local_rank:
69
+ logging_steps: 1
70
+ xformers_attention:
71
+ flash_attention: true
72
+
73
+ warmup_steps: 10
74
+ evals_per_epoch: 4
75
+ eval_table_size:
76
+ eval_max_new_tokens: 128
77
+ saves_per_epoch: 1
78
+ debug:
79
+ deepspeed:
80
+ weight_decay: 0.0
81
+ fsdp:
82
+ fsdp_config:
83
+ special_tokens:
84
+
85
+ ```
86
+
87
+ </details><br>
88
+
89
+ # KJV-LLM-Pretrained-V1.0
90
+
91
+ This model is a fine-tuned version of [mistralai/Mistral-7B-v0.1](https://huggingface.co/mistralai/Mistral-7B-v0.1) on the AiAF/KJV-LLM-pretraining.jsonl dataset.
92
+ It achieves the following results on the evaluation set:
93
+ - Loss: 0.0901
94
+
95
+ ## Model description
96
+
97
+ More information needed
98
+
99
+ ## Intended uses & limitations
100
+
101
+ More information needed
102
+
103
+ ## Training and evaluation data
104
+
105
+ More information needed
106
+
107
+ ## Training procedure
108
+
109
+ ### Training hyperparameters
110
+
111
+ The following hyperparameters were used during training:
112
+ - learning_rate: 5e-06
113
+ - train_batch_size: 2
114
+ - eval_batch_size: 2
115
+ - seed: 42
116
+ - gradient_accumulation_steps: 4
117
+ - total_train_batch_size: 8
118
+ - optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
119
+ - lr_scheduler_type: cosine
120
+ - lr_scheduler_warmup_steps: 10
121
+ - num_epochs: 4.0
122
+
123
+ ### Training results
124
+
125
+ | Training Loss | Epoch | Step | Validation Loss |
126
+ |:-------------:|:------:|:----:|:---------------:|
127
+ | 0.0809 | 0.1333 | 1 | 0.0975 |
128
+ | 0.0878 | 0.2667 | 2 | 0.0963 |
129
+ | 0.3153 | 0.5333 | 4 | 0.0909 |
130
+ | 0.077 | 0.8 | 6 | 0.0854 |
131
+ | 0.2377 | 1.0 | 8 | 0.0820 |
132
+ | 0.0509 | 1.2667 | 10 | 0.0858 |
133
+ | 0.0429 | 1.5333 | 12 | 0.0862 |
134
+ | 0.3496 | 1.8 | 14 | 0.0872 |
135
+ | 0.0426 | 2.0 | 16 | 0.0895 |
136
+ | 0.0337 | 2.2667 | 18 | 0.0888 |
137
+ | 0.0348 | 2.5333 | 20 | 0.0905 |
138
+ | 0.0852 | 2.8 | 22 | 0.0902 |
139
+ | 0.0317 | 3.0 | 24 | 0.0902 |
140
+ | 0.0304 | 3.2667 | 26 | 0.0900 |
141
+ | 0.0242 | 3.5333 | 28 | 0.0901 |
142
+
143
+
144
+ ### Framework versions
145
+
146
+ - Transformers 4.48.3
147
+ - Pytorch 2.5.1+cu124
148
+ - Datasets 3.2.0
149
+ - Tokenizers 0.21.0
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "do_sample": true,
5
+ "eos_token_id": 2,
6
+ "transformers_version": "4.48.3"
7
+ }