Edit model card

sft-safe-spin-v

This model is a fine-tuned version of AmberYifan/zephyr-7b-sft-safe on the None dataset. It achieves the following results on the evaluation set:

  • Loss: 0.1338
  • Rewards/real: -3.4589
  • Rewards/generated: -13.0205
  • Rewards/accuracies: 0.9522
  • Rewards/margins: 9.5616
  • Logps/generated: -186.5033
  • Logps/real: -173.6707
  • Logits/generated: -3.1233
  • Logits/real: -3.5104

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-07
  • train_batch_size: 8
  • eval_batch_size: 8
  • seed: 42
  • distributed_type: multi-GPU
  • num_devices: 4
  • total_train_batch_size: 32
  • total_eval_batch_size: 32
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: linear
  • lr_scheduler_warmup_ratio: 0.1
  • num_epochs: 1

Training results

Training Loss Epoch Step Validation Loss Rewards/real Rewards/generated Rewards/accuracies Rewards/margins Logps/generated Logps/real Logits/generated Logits/real
0.4603 0.06 100 0.2849 0.3170 -4.8525 0.9697 5.1696 -104.8239 -135.9118 -4.1358 -4.3181
0.2425 0.12 200 0.2396 -1.7168 -15.7686 0.8997 14.0518 -213.9848 -156.2504 -3.7662 -3.9307
0.1942 0.17 300 0.1536 -2.2725 -23.7294 0.9395 21.4568 -293.5923 -161.8076 -3.6024 -3.7832
0.1872 0.23 400 0.1591 -1.9811 -26.8335 0.9443 24.8523 -324.6334 -158.8936 -3.7387 -3.9242
0.5386 0.29 500 0.2124 -2.1951 -12.1230 0.9260 9.9280 -177.5292 -161.0329 -3.5142 -3.8361
0.1318 0.35 600 0.1397 -2.3554 -19.3040 0.9570 16.9486 -249.3387 -162.6357 -3.3916 -3.8319
0.1311 0.41 700 0.1589 -2.6398 -20.7908 0.9363 18.1510 -264.2064 -165.4799 -3.2845 -3.7517
0.121 0.47 800 0.1282 -2.8500 -22.0061 0.9546 19.1561 -276.3602 -167.5825 -3.1277 -3.6228
0.1115 0.52 900 0.1392 -3.3374 -22.9391 0.9419 19.6017 -285.6900 -172.4560 -3.0962 -3.6427
2.648 0.58 1000 0.1711 -3.2299 -10.5445 0.9411 7.3146 -161.7435 -171.3813 -3.4082 -3.6724
0.1078 0.64 1100 0.1340 -2.8961 -11.3713 0.9498 8.4752 -170.0120 -168.0435 -3.3383 -3.6687
0.0751 0.7 1200 0.1293 -2.8024 -11.6866 0.9522 8.8842 -173.1649 -167.1059 -3.2816 -3.6419
0.0927 0.76 1300 0.1276 -3.0019 -12.3015 0.9514 9.2996 -179.3133 -169.1012 -3.2296 -3.6103
0.0963 0.81 1400 0.1256 -2.9332 -12.3140 0.9546 9.3809 -179.4392 -168.4139 -3.2433 -3.6265
0.1122 0.87 1500 0.1280 -3.3660 -12.7449 0.9546 9.3789 -183.7474 -172.7419 -3.1923 -3.5761
0.092 0.93 1600 0.1407 -3.5290 -13.0250 0.9459 9.4960 -186.5488 -174.3717 -3.1057 -3.4905
0.0876 0.99 1700 0.1338 -3.4589 -13.0205 0.9522 9.5616 -186.5033 -173.6707 -3.1233 -3.5104

Framework versions

  • Transformers 4.37.0
  • Pytorch 2.1.2+cu121
  • Datasets 2.14.6
  • Tokenizers 0.15.2
Downloads last month
5
Safetensors
Model size
7.24B params
Tensor type
BF16
·
Inference Examples
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social visibility and check back later, or deploy to Inference Endpoints (dedicated) instead.

Model tree for AmberYifan/sft-safe-spin-v