tinker.types.CopyWeightsRequest
Generated from tinker 0.34.0 at commit 64eef5e. Source links point at that snapshot.
class tinker.types.CopyWeightsRequest(StrictBase)
Provide a destination project, or both a session ID and its model sequence ID.
Fields:
- session_id (Optional[str]) – Session that will own the copy; the copy inherits its project.
- model_seq_id (Optional[int]) – Training run slot within the session, as CreateModelRequest and LoadWeightsRequest use.
- destination_project_id (Optional[str]) – Project that will own the copy when no session_id is provided.
- 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.