CoolFace
Modelpublic

Jongbin-kr/llama-3.1-8b-instruct-4x1-moe-sni-switch-top1-router-ffn-lora-aux-anneal-5ep

sourceHugging Faceupdated 11d agoView on Hugging Face
0likes286downloads
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. -->

llama-3.1-8b-instruct-4x1-moe-sni-switch-top1-router-ffn-lora-aux-anneal-5ep

This model was trained from scratch on an unknown dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.3883
  • —Router Entropy: 1.1134
  • —Router Max Load: 0.2685
  • —Expert 0 Utilization: 0.2470
  • —Expert 1 Utilization: 0.2418
  • —Expert 2 Utilization: 0.2427
  • —Expert 3 Utilization: 0.2685
  • —Router Aux Loss: 0.9996
  • —Router Aux Loss Coef: 0.0010
  • —Router Aux Loss Weighted: 0.0010
  • —Router Z Loss: 0.4890

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: 1
  • —evalbatchsize: 1
  • —seed: 42
  • —distributed_type: multi-GPU
  • —num_devices: 2
  • —gradientaccumulationsteps: 16
  • —totaltrainbatch_size: 32
  • —totalevalbatch_size: 2
  • —optimizer: Use OptimizerNames.ADAMWTORCHFUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
  • —lrschedulertype: linear
  • —lrschedulerwarmup_steps: 0.03
  • —num_epochs: 5.0

Training results

Training LossEpochStepValidation LossEntropyMax Load0 Utilization1 Utilization2 Utilization3 UtilizationAux LossAux Loss CoefAux Loss WeightedZ Loss
1.21140.09202000.82611.26300.33860.20360.20840.24940.33861.02120.01000.01022.2378
0.84680.18414000.51831.16280.32410.22200.20140.25250.32411.00960.01000.01012.1002
0.76730.27616000.45611.12550.28580.23900.23240.24280.28580.99880.01000.01001.7220
0.57860.36818000.43241.09560.27850.24210.23560.24380.27850.99820.01000.01001.4931
0.75340.460210000.41271.09070.27700.24110.23610.24580.27700.99830.01000.01001.3975
0.60430.552212000.39881.07520.27650.24660.23210.24480.27650.99820.01000.01001.2850
0.64190.644214000.39351.08290.27230.25190.23050.24530.27230.99780.01000.01001.1872
0.62110.736216000.38571.07590.27270.25090.22920.24720.27270.99830.01000.01001.1512
0.64620.828318000.37871.07260.27080.24600.23540.24790.27080.99780.01000.01001.0753
0.54540.920320000.37341.07100.27330.25720.22270.24680.27330.99870.01000.01001.0610
0.58731.012022000.37091.05720.26760.25060.23710.24460.26760.99790.01000.01001.0066
0.58661.104024000.36781.05610.26340.25060.23400.25200.26340.99800.00980.00970.9194
0.62671.196026000.36401.07440.26740.25600.23400.24260.26740.99890.00960.00950.8921
0.54471.288128000.36311.07940.26840.25570.23030.24560.26840.99880.00940.00930.8736
0.62351.380130000.35981.08110.26340.25470.23630.24570.26340.99890.00910.00910.8421
0.53941.472132000.35741.09030.26080.25450.23440.25030.26080.99870.00890.00890.8101
0.49951.564134000.35541.07420.26660.25130.23680.24530.26660.99870.00870.00870.8077
0.54771.656236000.35371.07930.26510.25320.23400.24770.26510.99880.00850.00850.7793
0.59791.748238000.35151.08770.26940.25080.23310.24670.26940.99880.00830.00830.7670
0.59001.840240000.35121.08400.26540.25080.23680.24710.26540.99900.00810.00810.7494
0.48701.932342000.34851.09280.26200.25300.23840.24660.26200.99900.00790.00790.7250
0.46682.023944000.35811.07860.26700.25030.23550.24720.26700.99900.00770.00770.7038
0.63772.116046000.35741.08140.26360.25280.23780.24580.26360.99870.00750.00750.6586
0.44022.208048000.35741.10280.26980.24450.24240.24330.26980.99890.00730.00730.6282
0.47862.300050000.35731.10620.26840.24860.23730.24570.26840.99910.00710.00710.6280
0.36952.392152000.35851.09410.26930.24870.23890.24310.26930.99920.00690.00690.6454
0.50382.484154000.35701.10560.26340.24940.24020.24710.26340.99920.00670.00670.6188
0.49152.576156000.35611.10730.27140.24940.23700.24220.27140.99980.00650.00650.6281
0.48362.668158000.35431.10260.27150.24770.23770.24310.27150.99950.00620.00620.6319
0.45212.760260000.35361.10270.26650.24770.24330.24240.26650.99940.00600.00600.6062
0.40572.852262000.35401.10560.26970.24990.23550.24500.26970.99970.00580.00580.6074
0.40032.944264000.35191.11360.26490.24740.23630.25150.26490.99930.00560.00560.5839
0.35403.035966000.37131.10240.25970.24750.24450.24840.25970.99950.00540.00540.5655
0.48633.127968000.37051.10050.26400.24790.24160.24660.26400.99940.00520.00520.5580
0.39153.220070000.37451.10440.26470.25130.23560.24840.26470.99950.00500.00500.5579
0.32653.312072000.36781.10410.26970.24810.24030.24190.26970.99980.00480.00480.5539
0.35053.404074000.36911.10990.26930.24720.24550.23800.26930.99970.00460.00460.5456
0.40063.496076000.37181.09900.26930.24550.24120.24410.26930.99940.00440.00440.5454
0.41093.588178000.37031.10280.26750.25090.23740.24420.26750.99960.00420.00420.5401
0.39073.680180000.37111.10620.26610.24790.24280.24320.26610.99960.00400.00400.5373
0.41613.772182000.36551.10780.26560.24450.24660.24330.26560.99940.00380.00380.5341
0.33123.864284000.36711.11090.26540.24720.24180.24560.26540.99950.00360.00360.5332
0.40793.956286000.36661.11150.26760.24720.23980.24530.26760.99950.00330.00330.5256
0.32044.047988000.38531.11290.26200.24660.24410.24740.26200.99960.00310.00310.5082
0.25054.139990000.39031.10910.26580.24670.24330.24420.26580.99960.00290.00290.5080
0.40934.231992000.38951.10990.26700.24630.24570.24090.26700.99970.00270.00270.5042
0.32674.323994000.38721.11650.26740.24940.24030.24290.26740.99970.00250.00250.4896
0.33354.416096000.39431.11580.26420.24710.24210.24660.26420.99960.00230.00230.4902
0.30074.508098000.39101.10920.26740.24630.24110.24520.26740.99950.00210.00210.4944
0.23444.6000100000.39071.11620.26840.24890.23890.24380.26840.99970.00190.00190.4887
0.29294.6921102000.38811.11250.26930.24530.24160.24380.26930.99970.00170.00170.4992
0.31714.7841104000.38771.11090.26880.24630.24070.24420.26880.99960.00150.00150.4946
0.33404.8761106000.38941.11440.26800.24770.24070.24360.26800.99950.00130.00130.4870
0.22234.9682108000.38841.11330.27150.24710.24170.23970.27150.99970.00110.00110.4893
0.20705.0108700.38831.11340.26850.24700.24180.24270.26850.99960.00100.00100.4890

Framework versions

  • —PEFT 0.19.1
  • —Transformers 5.9.0
  • —Pytorch 2.11.0+cu128
  • —Datasets 4.8.5
  • —Tokenizers 0.22.2