Add unit tests for pooler activation functions (#42824)
Signed-off-by: Taneem Ibrahim <taneem.ibrahim@gmail.com>
This commit is contained in:
@@ -123,7 +123,7 @@ class PoolerClassify(PoolerActivation):
|
||||
if num_labels == 0:
|
||||
logger.warning(
|
||||
"num_labels should be > 0 for classification "
|
||||
"models, falling back to softmax. "
|
||||
"models, falling back to sigmoid. "
|
||||
"Please check if the configuration is correct."
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user