[Docs] Reduce time spent generating API docs (#34255)
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
@@ -1557,6 +1557,7 @@ class ModelConfig:
|
||||
|
||||
@property
|
||||
def attn_type(self) -> AttnTypeStr:
|
||||
"""Determine the attention type based on model configuration."""
|
||||
if self.pooler_config is not None:
|
||||
seq_pooling_type = self._model_info.default_seq_pooling_type
|
||||
if seq_pooling_type == "CLS":
|
||||
|
||||
Reference in New Issue
Block a user