CoolFace
Modelpublic

AiAF/Pretrained-QLoRA-Codename-75567-V1.1

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
0likes49downloads
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.8.0.dev0

yaml
base_model: mistralai/Mistral-7B-Instruct-v0.3
# 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/Pretrained-QLoRA-Codename-75567-V1

load_in_8bit: false
load_in_4bit: true
strict: false

datasets:
  - path: AiAF/Codename-75567-Pretrainin.jsonl
    type: completion

dataset_prepared_path: last_run_prepared
val_set_size: 0.05
output_dir: ./outputs/qlora-out
save_total_limit: 10

adapter: qlora
lora_model_dir:
lora_r: 256
lora_alpha: 64
lora_dropout: 0.05
lora_target_linear: true
lora_fan_in_fan_out:
lora_target_modules:
  - gate_proj
  - down_proj
  - up_proj
  - q_proj
  - v_proj
  - k_proj
  - o_proj

sequence_len: 512
sample_packing: true
pad_to_sequence_len: true
eval_sample_packing: false

wandb_project: "LLM-Pretraining"
wandb_watch: "all"
wandb_name: "QLoRA-Codename-75567-V1"
wandb_log_model: "false"
wandb_run_id: "QLoRA-Codename-75567-V1"

gradient_accumulation_steps: 4
micro_batch_size: 2
num_epochs: 10
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: 1
evals_per_epoch: 5
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>

Pretrained-QLoRA-Codename-75567-V1

This model is a fine-tuned version of mistralai/Mistral-7B-Instruct-v0.3 on the AiAF/Codename-75567-Pretrainin.jsonl dataset. It achieves the following results on the evaluation set:

  • —Loss: 1.6938

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: 2
  • —num_epochs: 10.0

Training results

Training LossEpochStepValidation Loss
1.89160.333311.8880
2.0170.666721.8847
1.91191.031.8795
1.97161.333341.8711
1.85321.666751.8601
1.97592.061.8488
1.8562.333371.8357
1.84042.666781.8241
1.9763.091.8131
1.85043.3333101.8012
1.85743.6667111.7860
1.81944.0121.7749
1.80224.3333131.7646
1.76324.6667141.7525
1.83265.0151.7440
1.76965.3333161.7325
1.80395.6667171.7257
1.70196.0181.7164
1.78786.3333191.7132
1.7186.6667201.7093
1.69947.0211.7049
1.7857.3333221.6996
1.66597.6667231.6977
1.72418.0241.6970
1.73978.3333251.6952
1.68948.6667261.6934
1.7239.0271.6932
1.79999.3333281.6927
1.67159.6667291.6941
1.669610.0301.6938

Framework versions

  • —PEFT 0.14.0
  • —Transformers 4.49.0
  • —Pytorch 2.6.0+cu124
  • —Datasets 3.2.0
  • —Tokenizers 0.21.0