Skip to content
View as Markdown

tinker.types.CopyWeightsRequest

class tinker.types.CopyWeightsRequest(StrictBase)

Fields:

  • session_id (str) – Session that will own the copy; the copy inherits its project.
  • model_seq_id (int) – Training run slot within the session, as CreateModelRequest and LoadWeightsRequest use.
  • source_path (str) – A tinker URI for the weights to copy. Either kind is accepted.
  • ttl_seconds (Optional[int]) – Seconds until the copy expires. The source's expiry is not inherited.
  • weights_access_token (Optional[str]) – Optional access token for copying weights under a different account.