Skip to content

Commit dc3841d

Browse files
committed
move TrainOnInputs to SFTType, and make it required
1 parent 2210262 commit dc3841d

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
@@ -713,6 +713,7 @@ paths:
713713
type: boolean
714714
default: auto
715715
description: Whether to mask the user messages in conversational data or prompts in instruction data.
716+
deprecated: true
716717
training_method:
717718
type: object
718719
oneOf:
@@ -2865,15 +2866,25 @@ components:
28652866
- type
28662867
- lora_r
28672868
- lora_alpha
2869+
28682870
TrainingMethodSFT:
28692871
type: object
28702872
properties:
28712873
method:
28722874
type: string
28732875
enum: ["sft"]
2876+
train_on_inputs:
2877+
oneOf:
2878+
- type: boolean
2879+
- type: string
2880+
enum:
2881+
- auto
2882+
type: boolean
2883+
default: auto
2884+
description: Whether to mask the user messages in conversational data or prompts in instruction data.
28742885
required:
28752886
- method
2876-
2887+
- train_on_inputs
28772888
TrainingMethodDPO:
28782889
type: object
28792890
properties:

0 commit comments

Comments
 (0)