File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -195,6 +195,12 @@ def fine_tuning(ctx: click.Context) -> None:
195195 help = "Whether to mask the user messages in conversational data or prompts in instruction data. "
196196 "`auto` will automatically determine whether to mask the inputs based on the data format." ,
197197)
198+ @click .option (
199+ "--train-vision" ,
200+ type = bool ,
201+ default = False ,
202+ help = "Whether to train the vision encoder. Only supported for multimodal models." ,
203+ )
198204@click .option (
199205 "--from-checkpoint" ,
200206 type = str ,
Original file line number Diff line number Diff line change @@ -321,6 +321,8 @@ class FinetuneResponse(BaseModel):
321321 training_file_size : int | None = Field (None , alias = "TrainingFileSize" )
322322 train_on_inputs : StrictBool | Literal ["auto" ] | None = "auto"
323323 from_checkpoint : str | None = None
324+ # multimodal parameters
325+ multimodal_params : FinetuneMultimodalParams | None = None
324326
325327 progress : FinetuneProgress | None = None
326328
You can’t perform that action at this time.
0 commit comments