diff --git a/llmfoundry/models/mpt/configuration_mpt.py b/llmfoundry/models/mpt/configuration_mpt.py index 94417174eb..cb22c2f6f4 100644 --- a/llmfoundry/models/mpt/configuration_mpt.py +++ b/llmfoundry/models/mpt/configuration_mpt.py @@ -211,7 +211,7 @@ def __init__( self._validate_config() - def _validate_block_overrides(self, block_overrides): + def _validate_block_overrides(self, block_overrides: Dict[str, Any]): warnings.warn(ExperimentalWarning('block_overrides')) if 'start' not in block_overrides and 'repeating_pattern' not in block_overrides and 'end' not in block_overrides: raise ValueError(