CoolFace
Modelpublic

khongtrunght/Qwen2-7B-Instruct-SPPO-Function-call-v2.12

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes5downloads
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. -->

Qwen2-7B-Instruct-SPPO-Function-call-v2.12

This model is a fine-tuned version of slm-research-vn/Qwen2-7B-Instruct-SPPO-Function-call-v2.8 on the slm-research-vn/dpo-format-function-calling-v4, the slm-research-vn/dpo-format-glaive-code-assistant-v3-with-mistral-large-slm-iter4 and the argilla/dpo-mix-7k datasets. It achieves the following results on the evaluation set:

  • —Loss: 0.3322
  • —Rewards/chosen: 0.5523
  • —Rewards/rejected: -0.7005
  • —Rewards/accuracies: 0.9017
  • —Rewards/margins: 1.2528
  • —Logps/rejected: -278.7327
  • —Logps/chosen: -129.0717
  • —Logits/rejected: -0.5984
  • —Logits/chosen: -0.7738

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-06
  • —trainbatchsize: 1
  • —evalbatchsize: 1
  • —seed: 42
  • —distributed_type: multi-GPU
  • —num_devices: 8
  • —gradientaccumulationsteps: 4
  • —totaltrainbatch_size: 32
  • —totalevalbatch_size: 8
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: cosine
  • —lrschedulerwarmup_ratio: 0.1
  • —num_epochs: 1

Training results

Training LossEpochStepValidation LossRewards/chosenRewards/rejectedRewards/accuraciesRewards/marginsLogps/rejectedLogps/chosenLogits/rejectedLogits/chosen
0.68060.09161000.68160.03030.00990.64450.0205-264.5260-139.5110-0.5879-0.7638
0.57040.18322000.59930.34950.14730.82370.2023-261.7780-133.1277-0.5881-0.7638
0.50320.27493000.53130.57950.17920.85260.4003-261.1383-128.5271-0.5893-0.7651
0.45480.36654000.47270.64060.05230.88440.5884-263.6780-127.3051-0.5901-0.7660
0.38230.45815000.42350.6412-0.13140.89310.7726-267.3507-127.2934-0.5914-0.7672
0.35130.54976000.38430.6087-0.34150.91330.9502-271.5532-127.9448-0.5936-0.7693
0.34440.64137000.35710.5871-0.50280.91041.0898-274.7784-128.3763-0.5965-0.7721
0.34860.73298000.34270.5681-0.61550.91041.1836-277.0341-128.7559-0.5971-0.7725
0.33170.82469000.33490.5586-0.67390.91331.2326-278.2013-128.9451-0.5993-0.7748
0.30770.916210000.33280.5530-0.69740.90751.2504-278.6715-129.0585-0.5998-0.7754

Framework versions

  • —PEFT 0.12.0
  • —Transformers 4.44.0
  • —Pytorch 2.3.1+cu121
  • —Datasets 2.20.0
  • —Tokenizers 0.19.1