使用指南
发布 Weight
公开 checkpoint 以分享训练好的模型。
发布 Checkpoint
tinker checkpoint publish $TINKER_CHECKPOINT_PATH格式:tinker://[UUID]:train:[ID]/weights/[checkpoint_id]
验证发布
tinker checkpoint info tinker://[UUID]/weights/[checkpoint_id]检查 Public 属性确认 checkpoint 已公开。
取消发布
将 checkpoint 设为私有(仅 owner 可访问):
tinker checkpoint unpublish $TINKER_CHECKPOINT_PATH访问已发布的 Weight
其他用户可访问你发布的 weight:
ckpt_path = "tinker://[UUID]/weights/[checkpoint_id]"
training_client = service_client.create_training_client_from_state(ckpt_path)