Fix per file ruff ignores related to line length (#26262)
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
@@ -270,8 +270,8 @@ class BailingMoE(nn.Module):
|
||||
) or (
|
||||
self.score_function == "sigmoid" and self.correction_bias is not None
|
||||
), (
|
||||
"score_function and correction_bias should be in 2 combination (softmax, None) or (sigmoid, not None)"
|
||||
) # noqa: E501
|
||||
"score_function and correction_bias should be in 2 combination (softmax, None) or (sigmoid, not None)" # noqa: E501
|
||||
)
|
||||
else:
|
||||
# default value for scoring_func
|
||||
self.score_function = "softmax"
|
||||
|
||||
Reference in New Issue
Block a user