Skip to content

Commit

Permalink
Fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacbmiller committed Aug 14, 2024
1 parent ba8b013 commit bf8caa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dsp/modules/trainable_openai.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ def load_from_job_id(job_id: str, **kwargs):
model.fine_tuning_job_id = job_id
return model

def get_finetune(self, train_path: str, val_path: str | None, method: TrainingMethod, **kwargs) -> Future[TrainableLM]:
def get_finetune(self, train_path: str, val_path: Optional[str], method: TrainingMethod, **kwargs) -> Future[TrainableLM]:
"""
Does everything required to finetune an OpenAI model.
Expand Down

0 comments on commit bf8caa1

Please sign in to comment.