@@ -139,6 +139,10 @@ export interface FineTune {
139139
140140 from_checkpoint ?: string ;
141141
142+ from_hf_model ?: string ;
143+
144+ hf_model_revision ?: string ;
145+
142146 job_id ?: string ;
143147
144148 learning_rate ?: number ;
@@ -346,6 +350,16 @@ export interface FineTuneCreateResponse {
346350 */
347351 from_checkpoint ?: string ;
348352
353+ /**
354+ * Hugging Face Hub repo to start training from
355+ */
356+ from_hf_model ?: string ;
357+
358+ /**
359+ * The revision of the Hugging Face Hub model to continue training from
360+ */
361+ hf_model_revision ?: string ;
362+
349363 /**
350364 * Learning rate used for training
351365 */
@@ -500,6 +514,16 @@ export namespace FineTuneListResponse {
500514 */
501515 from_checkpoint ?: string ;
502516
517+ /**
518+ * Hugging Face Hub repo to start training from
519+ */
520+ from_hf_model ?: string ;
521+
522+ /**
523+ * The revision of the Hugging Face Hub model to continue training from
524+ */
525+ hf_model_revision ?: string ;
526+
503527 /**
504528 * Learning rate used for training
505529 */
@@ -650,6 +674,16 @@ export interface FineTuneCancelResponse {
650674 */
651675 from_checkpoint ?: string ;
652676
677+ /**
678+ * Hugging Face Hub repo to start training from
679+ */
680+ from_hf_model ?: string ;
681+
682+ /**
683+ * The revision of the Hugging Face Hub model to continue training from
684+ */
685+ hf_model_revision ?: string ;
686+
653687 /**
654688 * Learning rate used for training
655689 */
@@ -811,11 +845,25 @@ export interface FineTuneCreateParams {
811845 */
812846 from_checkpoint ?: string ;
813847
848+ /**
849+ * The Hugging Face Hub repo to start training from. Should be as close as possible
850+ * to the base model (specified by the `model` argument) in terms of architecture
851+ * and size.
852+ */
853+ from_hf_model ?: string ;
854+
814855 /**
815856 * The API token for the Hugging Face Hub.
816857 */
817858 hf_api_token ?: string ;
818859
860+ /**
861+ * The revision of the Hugging Face Hub model to continue training from. E.g.,
862+ * hf_model_revision=main (default, used if the argument is not provided) or
863+ * hf_model_revision='607a30d783dfa663caf39e06633721c8d4cfcd7e' (specific commit).
864+ */
865+ hf_model_revision ?: string ;
866+
819867 /**
820868 * The name of the Hugging Face repository to upload the fine-tuned model to.
821869 */
0 commit comments