Skip to content
View as Markdown

tinker.types.CopyWeightsRequest

Generated from tinker 0.30.4 at commit 1e5777e. Source links point at that snapshot.

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, 1 hour (3600) to 10 years. Source expiry is not inherited.
  • weights_access_token (Optional[str]) – Optional access token for copying weights under a different account.