LocalCheckpoint#
- class openstef_foundation_models.models.checkpoint.LocalCheckpoint(**data: Any) None[source]
Bases:
BaseConfigA checkpoint resolved from a local filesystem path.
- Parameters:
data (
Any)
- kind: Literal['local']
- path: Path
- resolve() ResolvedCheckpoint[source]
Resolve the local weights and metadata.
- Return type:
ResolvedCheckpoint- Returns:
A
ResolvedCheckpointpointing at the local weights file.- Raises:
FileNotFoundError – If the weights or metadata file does not exist.
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': False, 'extra': 'ignore', 'protected_namespaces': ()}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].