CoolFace
Modelpublic

AlekseyKorshuk/ai-detection-gutenberg-human-formatted-ai-v1-sft-qwen-3b

sourceHugging Faceotherupdated 2y agoView on Hugging Face
0likes17downloads
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.4.1

yaml
base_model: Qwen/Qwen2.5-3B-Instruct

strict: false

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

chat_template: chatml
datasets:
  - path: AlekseyKorshuk/ai-detection-gutenberg-human-formatted-ai-v1-sft
    type: chat_template
    field_messages: messages
    message_field_role: role
    message_field_content: content
    roles:
      user:
        - user
      assistant:
        - assistant

val_set_size: 0.05
output_dir: ./outputs/out

eval_table_size: 0
eval_max_new_tokens: 1

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

wandb_project: ai-seo-rewriter
wandb_entity:
wandb_watch:
wandb_name: ai-detection-gutenberg-human-formatted-ai-v1-sft-qwen-3b
wandb_log_model:

gradient_accumulation_steps: 1
micro_batch_size: 32
eval_batch_size: 32
num_epochs: 1
optimizer: adamw_torch
# adam_beta1: 0.9
# adam_beta2: 0.95
max_grad_norm: 1.0
# adam_epsilon: 0.00001
lr_scheduler: cosine
learning_rate: 1e-5

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

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

warmup_ratio: 0.1
evals_per_epoch: 10
saves_per_epoch: 1
debug:
deepspeed:
weight_decay: 0.0
fsdp:
  - full_shard
  - auto_wrap
fsdp_config:
  fsdp_limit_all_gathers: true
  fsdp_sync_module_states: true
  fsdp_offload_params: true
  fsdp_use_orig_params: false
  fsdp_cpu_ram_efficient_loading: true
  fsdp_auto_wrap_policy: TRANSFORMER_BASED_WRAP
  fsdp_transformer_layer_cls_to_wrap: Qwen2DecoderLayer
  fsdp_state_dict_type: FULL_STATE_DICT



hub_model_id: AlekseyKorshuk/ai-detection-gutenberg-human-formatted-ai-v1-sft-qwen-3b

</details><br>

ai-detection-gutenberg-human-formatted-ai-v1-sft-qwen-3b

This model is a fine-tuned version of Qwen/Qwen2.5-3B-Instruct on the None dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.9958

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: 1e-05
  • —trainbatchsize: 32
  • —evalbatchsize: 32
  • —seed: 42
  • —distributed_type: multi-GPU
  • —num_devices: 8
  • —totaltrainbatch_size: 256
  • —totalevalbatch_size: 256
  • —optimizer: Use adamwtorch with betas=(0.9,0.999) and epsilon=1e-08 and optimizerargs=No additional optimizer arguments
  • —lrschedulertype: cosine
  • —lrschedulerwarmup_steps: 83
  • —num_epochs: 1

Training results

Training LossEpochStepValidation Loss
2.29860.001212.3205
1.07840.1005841.0696
1.03330.20101681.0426
0.97160.30142521.0284
1.0250.40193361.0189
0.98150.50244201.0107
0.98140.60295041.0044
0.99910.70335880.9998
0.95940.80386720.9970
1.00060.90437560.9958

Framework versions

  • —Transformers 4.46.0
  • —Pytorch 2.4.0+cu121
  • —Datasets 3.0.1
  • —Tokenizers 0.20.1