Skip to content
Snippets Groups Projects
Commit 102dcab5 authored by Eva Bardou's avatar Eva Bardou :frog: Committed by Yoann Schneider
Browse files

Document `TrainingMixin.is_finetuning` property

parent 291f9d45
No related branches found
No related tags found
1 merge request!546Document `TrainingMixin.is_finetuning` property
Pipeline #173159 canceled
......@@ -83,6 +83,9 @@ class TrainingMixin:
@property
def is_finetuning(self) -> bool:
"""
Whether or not this worker is fine-tuning an existing model version.
"""
return bool(self.model_version_id)
@skip_if_read_only
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment