跳转至

ParsedCheckpointTinkerPath

class mint.types.ParsedCheckpointTinkerPath ( BaseModel )

字段:

  • mindlab-toolkit_path ( str ) – 指向该 checkpoint 的 mindlab-toolkit 路径
  • training_run_id ( str ) – 训练任务 ID
  • checkpoint_type ( CheckpointType ) – checkpoint 的类型(训练或采样)
  • checkpoint_id ( str ) – checkpoint ID

from_tinker_path ( mindlab-toolkit_path )

将 mindlab-toolkit 路径解析为 ParsedCheckpointTinkerPath 实例

参数:

  • mindlab-toolkit_path ( str )

返回: ParsedCheckpointTinkerPath