CoolFace
Modelpublic

chargoddard/mistral-24b-reddit-writing-v1

sourceHugging Facecc-by-nc-4.0updated 1y agoView on Hugging Face
0likes10downloads
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

yaml
base_model: /workspace/models/mistral3p1-24b-textonly
tokenizer_config: IntervitensInc/Mistral-Small-24B-Instruct-2501-chatml

load_in_8bit: false
load_in_4bit: false
strict: false

plugins:
  - axolotl.integrations.liger.LigerPlugin
liger_rope: true
liger_rms_norm: true
liger_glu_activation: true
liger_fused_linear_cross_entropy: true

datasets:
  - path: chargoddard/reddit-writing-prompts-reprompted
    type: chat_template
    field_messages: messages
    message_field_role: role
    message_field_content: content
    roles:
      system:
        - system
      user:
        - human
        - user
      assistant:
        - gpt
        - assistant
  - path: chargoddard/reddit-writing-advice-r1-messages
    type: chat_template
    field_messages: messages
    message_field_role: role
    message_field_content: content
    roles:
      system:
        - system
      user:
        - human
        - user
      assistant:
        - gpt
        - assistant
  - path: chargoddard/persona-evolve-v0-sft
    type: chat_template
    field_messages: messages
    message_field_role: role
    message_field_content: content
    roles:
      system:
        - system
      user:
        - human
        - user
      assistant:
        - gpt
        - assistant
dataset_prepared_path: /workspace/data/prepared_datasets

chat_template: chatml
shuffle_merged_datasets: true
val_set_size: 0.02
output_dir: /workspace/models/mistral-24b-writing

sequence_len: 16384
sample_packing: true
eval_sample_packing: false
pad_to_sequence_len: true

wandb_project: mistral-24b-writing
wandb_entity:
wandb_watch:
wandb_name:
wandb_log_model:

gradient_accumulation_steps: 4
micro_batch_size: 2
num_epochs: 2
optimizer: paged_adamw_8bit
lr_scheduler: cosine
learning_rate: 0.00002
max_grad_norm: 3

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

gradient_checkpointing: true
gradient_checkpointing_kwargs:
  use_reentrant: false
early_stopping_patience:
resume_from_checkpoint:
local_rank:
logging_steps: 1
xformers_attention:
flash_attention: true

warmup_ratio: 0.02
saves_per_epoch: 8
evals_per_epoch: 4
save_total_limit: 5
save_safetensors: true
hub_model_id: chargoddard/mistral-24b-writing-v1
hub_strategy: every_save
debug:
deepspeed: /workspace/axolotl/deepspeed_configs/zero3_bf16.json
weight_decay: 0.01

seed: 64939

</details><br>

mistral-24b-writing-v1

This model was trained from scratch on the chargoddard/reddit-writing-prompts-reprompted, the chargoddard/reddit-writing-advice-r1-messages and the arcee-train/persona-evolve-v1-sft datasets. It achieves the following results on the evaluation set:

  • —Loss: 1.7083

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: 2e-05
  • —trainbatchsize: 2
  • —evalbatchsize: 2
  • —seed: 64939
  • —distributed_type: multi-GPU
  • —num_devices: 8
  • —gradientaccumulationsteps: 4
  • —totaltrainbatch_size: 64
  • —totalevalbatch_size: 16
  • —optimizer: Use pagedadamw8bit with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
  • —lrschedulertype: cosine
  • —lrschedulerwarmup_steps: 6
  • —num_epochs: 2.0

Training results

Training LossEpochStepValidation Loss
2.50640.006012.5349
1.93340.2530421.8756
1.78160.5060841.7640
1.75530.75901261.7354
1.50431.01201681.7856
1.35431.26512101.7375
1.34971.51812521.7169
1.30951.77112941.7083

Framework versions

  • —Transformers 4.51.1
  • —Pytorch 2.5.1+cu124
  • —Datasets 3.5.0
  • —Tokenizers 0.21.1