CoolFace
Modelpublic

AiAF/KJV-LLM-Pretrained-V1.0

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
1likes13downloads
Model Card

<!-- This model card has been generated automatically according to the information the Trainer had access to. You should probably proofread and complete it, then remove this comment. -->

<img src="https://raw.githubusercontent.com/axolotl-ai-cloud/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/> <details><summary>See axolotl config</summary>

axolotl version: 0.6.0

yaml
base_model: mistralai/Mistral-7B-v0.1
# optionally might have model_type or tokenizer_type
model_type: MistralForCausalLM
tokenizer_type: LlamaTokenizer
# Automatically upload checkpoint and final model to HF
hub_model_id: AiAF/KJV-LLM-Pretrained-V1.0

load_in_8bit: false
load_in_4bit: false
strict: false

datasets:
  - path: AiAF/KJV-LLM-pretraining.jsonl
    type: completion
dataset_prepared_path:
val_set_size: 0.05
output_dir: ./outputs/out/KJV-LLM-Pretrained-V1.0

sequence_len: 8192
sample_packing: true
pad_to_sequence_len: true
eval_sample_packing: false

wandb_project: "LLM-Pretraining"
wandb_entity:
wandb_watch: "all"
wandb_name: "KJV-LLM-Pretrained-V1.0"
wandb_log_model: "false"

gradient_accumulation_steps: 4
micro_batch_size: 2
num_epochs: 4
optimizer: adamw_bnb_8bit
lr_scheduler: cosine
learning_rate: 0.000005

train_on_inputs: false
group_by_length: false
bf16: auto
fp16:
tf32: false

gradient_checkpointing: true
early_stopping_patience:
resume_from_checkpoint:
local_rank:
logging_steps: 1
xformers_attention:
flash_attention: true

warmup_steps: 10
evals_per_epoch: 4
eval_table_size:
eval_max_new_tokens: 128
saves_per_epoch: 1
debug:
deepspeed:
weight_decay: 0.0
fsdp:
fsdp_config:
special_tokens:

</details><br>

KJV-LLM-Pretrained-V1.0

This model is a fine-tuned version of mistralai/Mistral-7B-v0.1 on the AiAF/KJV-LLM-pretraining.jsonl dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.0901

Model description

More information needed

Intended uses & limitations

More information needed

Training and evaluation data

More information needed

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

  • —learning_rate: 5e-06
  • —trainbatchsize: 2
  • —evalbatchsize: 2
  • —seed: 42
  • —gradientaccumulationsteps: 4
  • —totaltrainbatch_size: 8
  • —optimizer: Use OptimizerNames.ADAMWBNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizerargs=No additional optimizer arguments
  • —lrschedulertype: cosine
  • —lrschedulerwarmup_steps: 10
  • —num_epochs: 4.0

Training results

Training LossEpochStepValidation Loss
0.08090.133310.0975
0.08780.266720.0963
0.31530.533340.0909
0.0770.860.0854
0.23771.080.0820
0.05091.2667100.0858
0.04291.5333120.0862
0.34961.8140.0872
0.04262.0160.0895
0.03372.2667180.0888
0.03482.5333200.0905
0.08522.8220.0902
0.03173.0240.0902
0.03043.2667260.0900
0.02423.5333280.0901

Framework versions

  • —Transformers 4.48.3
  • —Pytorch 2.5.1+cu124
  • —Datasets 3.2.0
  • —Tokenizers 0.21.0