Skip to content

Commit 406067e

Browse files
authored
Merge pull request #85 from togethercomputer/cmanuel/eng-24979-move-train_on_inputs-to-the-parameters-of-the-sft-training
Move train_on_inputs to SFTType
2 parents 2e1b7c9 + dc3841d commit 406067e

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

openapi.yaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -729,6 +729,7 @@ paths:
729729
type: boolean
730730
default: auto
731731
description: Whether to mask the user messages in conversational data or prompts in instruction data.
732+
deprecated: true
732733
training_method:
733734
type: object
734735
oneOf:
@@ -2879,15 +2880,25 @@ components:
28792880
- type
28802881
- lora_r
28812882
- lora_alpha
2883+
28822884
TrainingMethodSFT:
28832885
type: object
28842886
properties:
28852887
method:
28862888
type: string
28872889
enum: ["sft"]
2890+
train_on_inputs:
2891+
oneOf:
2892+
- type: boolean
2893+
- type: string
2894+
enum:
2895+
- auto
2896+
type: boolean
2897+
default: auto
2898+
description: Whether to mask the user messages in conversational data or prompts in instruction data.
28882899
required:
28892900
- method
2890-
2901+
- train_on_inputs
28912902
TrainingMethodDPO:
28922903
type: object
28932904
properties:

0 commit comments

Comments
 (0)