File tree Expand file tree Collapse file tree 3 files changed +17
-5
lines changed Expand file tree Collapse file tree 3 files changed +17
-5
lines changed Original file line number Diff line number Diff line change 1
1
configured_endpoints : 28
2
- openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/togetherai%2Ftogetherai-ce2216bb1eec9b836bb36c4b6a700b824c7e409b9188b6575ea8a3254b49bf25 .yml
3
- openapi_spec_hash : 5eb004279bd48b34e32192d83fd92214
2
+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/togetherai%2Ftogetherai-3d6ba63951e80bd93c271b1803dc529a8e4e8d8872a0f597cabc1551a90c2e44 .yml
3
+ openapi_spec_hash : 87058bf8524b40e430c14ddbc1a7d94f
4
4
config_hash : a60b100624e80dc8d9144e7bc306f5ce
Original file line number Diff line number Diff line change @@ -214,6 +214,12 @@ export namespace FineTune {
214
214
215
215
export interface TrainingMethodSft {
216
216
method : 'sft' ;
217
+
218
+ /**
219
+ * Whether to mask the user messages in conversational data or prompts in
220
+ * instruction data.
221
+ */
222
+ train_on_inputs : boolean | 'auto' ;
217
223
}
218
224
219
225
export interface TrainingMethodDpo {
@@ -381,8 +387,8 @@ export interface FineTuneCreateParams {
381
387
suffix ?: string ;
382
388
383
389
/**
384
- * Whether to mask the user messages in conversational data or prompts in
385
- * instruction data.
390
+ * @deprecated Whether to mask the user messages in conversational data or prompts
391
+ * in instruction data.
386
392
*/
387
393
train_on_inputs ?: boolean | 'auto' ;
388
394
@@ -466,6 +472,12 @@ export namespace FineTuneCreateParams {
466
472
467
473
export interface TrainingMethodSft {
468
474
method : 'sft' ;
475
+
476
+ /**
477
+ * Whether to mask the user messages in conversational data or prompts in
478
+ * instruction data.
479
+ */
480
+ train_on_inputs : boolean | 'auto' ;
469
481
}
470
482
471
483
export interface TrainingMethodDpo {
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ describe('resource fineTune', () => {
36
36
n_evals : 0 ,
37
37
suffix : 'suffix' ,
38
38
train_on_inputs : true ,
39
- training_method : { method : 'sft' } ,
39
+ training_method : { method : 'sft' , train_on_inputs : true } ,
40
40
training_type : { type : 'Full' } ,
41
41
validation_file : 'validation_file' ,
42
42
wandb_api_key : 'wandb_api_key' ,
You can’t perform that action at this time.
0 commit comments