ming030890
2025-07-04 a750595594321833b48dc19798eed66876a100b4
refs
用户 ming030890 <67713085+ming030890@users.noreply.github.com>
星期五, 七月 4, 2025 14:25 +0800
提交者 GitHub <noreply@github.com>
星期五, 七月 4, 2025 14:25 +0800
提交a750595594321833b48dc19798eed66876a100b4
目录 ded775d742a1a68decf1f0adc195e3d7f448550f 目录 | zip | gz
parent 05c8eba11c51ca928eee9c041de1a4192e590aec 查看 | 对比
Fix a few issues found during fine-tuning (#2582)

* Fix wandb log

* fix validation loss is not logged

batch_idx got reset for each epoch.
use the global step counter instead

* LR should only be updated per step, not per step+ per epoch

* add early stopping

* Fix bf16 handling

scaler is only needed for fp16

* more logs

---------

Co-authored-by: Tony Mak <tony@Tonys-MacBook-Air-1800.local>
3个文件已修改
38 ■■■■ 已修改文件
funasr/bin/train_ds.py 20 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史
funasr/train_utils/trainer.py 2 ●●● 对比 | 查看 | 原始文档 | blame | 历史
funasr/train_utils/trainer_ds.py 16 ●●●●● 对比 | 查看 | 原始文档 | blame | 历史