1base_model: mistralai/Mistral-7B-v0.1
2# optionally might have model_type or tokenizer_type
3model_type: MistralForCausalLM
4tokenizer_type: LlamaTokenizer
5# Automatically upload checkpoint and final model to HF
6hub_model_id: AiAF/KJV-LLM-Pretrained-V1.0
7
8load_in_8bit: false
9load_in_4bit: false
10strict: false
11
12datasets:
13 - path: AiAF/KJV-LLM-pretraining.jsonl
14 type: completion
15dataset_prepared_path:
16val_set_size: 0.05
17output_dir: ./outputs/out/KJV-LLM-Pretrained-V1.0
18
19sequence_len: 8192
20sample_packing: true
21pad_to_sequence_len: true
22eval_sample_packing: false
23
24wandb_project: "LLM-Pretraining"
25wandb_entity:
26wandb_watch: "all"
27wandb_name: "KJV-LLM-Pretrained-V1.0"
28wandb_log_model: "false"
29
30gradient_accumulation_steps: 4
31micro_batch_size: 2
32num_epochs: 4
33optimizer: adamw_bnb_8bit
34lr_scheduler: cosine
35learning_rate: 0.000005
36
37train_on_inputs: false
38group_by_length: false
39bf16: auto
40fp16:
41tf32: false
42
43gradient_checkpointing: true
44early_stopping_patience:
45resume_from_checkpoint:
46local_rank:
47logging_steps: 1
48xformers_attention:
49flash_attention: true
50
51warmup_steps: 10
52evals_per_epoch: 4
53eval_table_size:
54eval_max_new_tokens: 128
55saves_per_epoch: 1
56debug:
57deepspeed:
58weight_decay: 0.0
59fsdp:
60fsdp_config:
61special_tokens:
62