Commit e920c2f
authored
fix: missing log in multitask training (#5382)
fix missing log during multitask training, resulting from #4850 .
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Refactor**
* Cleaner multi-task training logs: task-specific training metrics are
always shown, and validation metrics are emitted only when valid results
are present to avoid incomplete validation output.
* **Tests**
* Added post-training checks to ensure the training log contains
expected model-probability columns and that data rows match the header
column count.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 parent 3992159 commit e920c2f
2 files changed
Lines changed: 33 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1372 | 1372 | | |
1373 | 1373 | | |
1374 | 1374 | | |
1375 | | - | |
1376 | | - | |
1377 | | - | |
1378 | | - | |
1379 | | - | |
1380 | | - | |
1381 | | - | |
1382 | | - | |
1383 | | - | |
1384 | | - | |
1385 | | - | |
| 1375 | + | |
| 1376 | + | |
1386 | 1377 | | |
1387 | 1378 | | |
1388 | 1379 | | |
1389 | | - | |
1390 | | - | |
1391 | | - | |
| 1380 | + | |
| 1381 | + | |
| 1382 | + | |
1392 | 1383 | | |
1393 | 1384 | | |
| 1385 | + | |
| 1386 | + | |
| 1387 | + | |
| 1388 | + | |
| 1389 | + | |
| 1390 | + | |
| 1391 | + | |
| 1392 | + | |
| 1393 | + | |
1394 | 1394 | | |
1395 | 1395 | | |
1396 | 1396 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
62 | 81 | | |
63 | 82 | | |
64 | 83 | | |
| |||
0 commit comments