CoolFace
Modelpublic

Dans-DiscountModels/7b-m-dans-optimizersweeps-repremover-1-ademamix-b1_0.9-b2_0.999-b3_0.999-a15

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes7downloads
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: Dans-DiscountModels/7b-m-dans-personalityengine-v1.2.1-rc-2
model_type: AutoModelForCausalLM
tokenizer_type: AutoTokenizer

trust_remote_code:

# wandb configuration
wandb_project: 7b-m-dans-optimizersweeps
wandb_watch:

wandb_run_id: repremover-1-1-ademamix-b1_0.9-b2_0.999-b3_0.999-a15
wandb_log_model:

# push checkpoints to hub
hub_model_id: Dans-DiscountModels/7b-m-dans-optimizersweeps-repremover-1-ademamix-b1_0.9-b2_0.999-b3_0.999-a15
# how to push checkpoints to hub
# https://huggingface.co/docs/transformers/v4.31.0/en/main_classes/trainer#transformers.TrainingArguments.hub_strategy
hub_strategy: "every_save"
# Whether to use hf `use_auth_token` for loading datasets. Useful for fetching private datasets
# Required to be true when used in combination with `push_dataset_to_hub`
hf_use_auth_token: true

# where to save the finished model to
output_dir: ./7b-m-dans-optimizersweeps

# where to save the dataset to
dataset_prepared_path: ./7b-m-dans-optimizersweeps-data

save_safetensors: true

# dataset settings (local or huggingface repo)
datasets:
  - path: Dans-DiscountModels/pretokenization-test-3
    ds_type: parquet
    type:

plugins:
  - axolotl.integrations.liger.LigerPlugin
  - axolotl.integrations.cut_cross_entropy.CutCrossEntropyPlugin
liger_rope: true
liger_rms_norm: true
liger_layer_norm: true
liger_glu_activation: true
liger_fused_linear_cross_entropy: false
cut_cross_entropy: true

load_in_8bit: false
load_in_4bit: false
strict: false

adapter:
lora_model_dir:

val_set_size: 0.01
sequence_len: 8192

sample_packing: false
eval_sample_packing: false

pad_to_sequence_len: true

gradient_checkpointing: true
# gradient_checkpointing_kwargs:
# use_reentrant: false

gradient_accumulation_steps: 1
micro_batch_size: 4

num_epochs: 3

optimizer: ademamix
optim_args: "beta1=0.9,beta2=0.999,beta3=0.999,alpha=15"

lr_scheduler: rex
learning_rate: 0.0000001
cosine_min_lr_ratio:

# weight_decay: 0.03
max_grad_norm: 0.001

train_on_inputs: false
group_by_length: true

bf16: true
fp16: false
tf32: false

early_stopping_patience:

resume_from_checkpoint:
auto_resume_from_checkpoints: false

local_rank:
logging_steps: 1
xformers_attention:
flash_attention: true

warmup_ratio: 0.1

evals_per_epoch: 24
eval_table_size:
eval_max_new_tokens:

saves_per_epoch: 8
save_total_limit: 2

debug: false

deepspeed: deepspeed_configs/zero3_bf16.json

fsdp:
fsdp_config:

special_tokens:

</details><br>

7b-m-dans-optimizersweeps-repremover-1-ademamix-b10.9-b20.999-b3_0.999-a15

This model is a fine-tuned version of Dans-DiscountModels/7b-m-dans-personalityengine-v1.2.1-rc-2 on the Dans-DiscountModels/pretokenization-test-3 dataset. It achieves the following results on the evaluation set:

  • —Loss: 2.0850

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-07
  • —trainbatchsize: 4
  • —evalbatchsize: 4
  • —seed: 42
  • —distributed_type: multi-GPU
  • —num_devices: 8
  • —totaltrainbatch_size: 32
  • —totalevalbatch_size: 32
  • —optimizer: Use ademamix and the args are: beta1=0.9,beta2=0.999,beta3=0.999,alpha=15
  • —lrschedulertype: cosine
  • —lrschedulerwarmup_steps: 41
  • —num_epochs: 3.0

Training results

Training LossEpochStepValidation Loss
2.03760.007212.1457
2.26620.043262.1210
2.30770.0863122.1574
2.18640.1295182.1194
2.23860.1727242.1311
2.06020.2158302.1502
2.13970.2590362.1246
2.0380.3022422.1153
2.08770.3453482.1311
2.15850.3885542.1273
2.05130.4317602.1105
2.04610.4748662.1311
2.21310.5180722.1174
2.10540.5612782.1201
2.0270.6043842.1396
2.14590.6475902.1223
2.09670.6906962.1113
2.11310.73381022.1283
2.07690.77701082.1267
2.02930.82011142.1059
2.02880.86331202.1166
1.99890.90651262.1163
2.15790.94961322.1041
1.99820.99281382.1103
2.09531.03601442.1216
1.96261.07911502.1030
2.11261.12231562.1256
2.02911.16551622.1370
2.02191.20861682.1236
2.0141.25181742.1176
2.00081.29501802.1286
2.07281.33811862.1221
2.08731.38131922.1235
2.13411.42451982.1250
2.02581.46762042.1253
2.08041.51082102.1213
1.92851.55402162.1091
2.07891.59712222.1192
2.02341.64032282.1141
1.99921.68352342.1120
2.06811.72662402.1243
2.05011.76982462.1073
1.98971.81292522.1228
2.0161.85612582.1291
2.08011.89932642.1172
2.0511.94242702.0833
2.08641.98562762.1147
2.04312.02882822.1215
2.03212.07192882.1119
2.11072.11512942.1023
2.03752.15833002.1155
1.9792.20143062.1224
2.00812.24463122.1010
2.062.28783182.1260
2.02852.33093242.1282
2.03942.37413302.1087
2.02242.41733362.0999
2.07052.46043422.1132
2.01532.50363482.1028
2.08992.54683542.1298
2.04742.58993602.1162
2.04412.63313662.0987
2.00192.67633722.1071
1.91762.71943782.1005
1.9822.76263842.0925
2.0642.80583902.1295
2.02842.84893962.0917
2.06482.89214022.1241
1.96682.93534082.1286
1.94272.97844142.0850

Framework versions

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