
GeDi combined loss (Kamath Eq 6.29)
Source:R/kamath_llm2_native.R
morie_kamath_ch6_gedi_combined_loss.Rdlam L_g + (1 - lam) L_d, a convex combination, so lam is confined to [0, 1].

R/kamath_llm2_native.R
morie_kamath_ch6_gedi_combined_loss.Rdlam L_g + (1 - lam) L_d, a convex combination, so lam is confined to [0, 1].