"git@developer.sourcefind.cn:change/sglang.git" did not exist on "98c00a2df1f7363c86a3a89c163fea803de6898c"
Problem: log loss may become infinite, if g[idx] goes zero (#938)
* Problem: log loss may become infinite, if g[idx] goes zero Solution: limit the input of the log function to 1e-6 (or more) * Parameterize the safe_log epsilon limit, and make the default value 1e-10
Showing
Please register or sign in to comment