Skip to content

Commit

Permalink
hyperparameters arg lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aanaseer authored and RobertCraigie committed Mar 18, 2024
1 parent b26a01a commit fd7c39a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/openai/cli/_api/fine_tuning/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ class CLIFineTuningJobsListEventsArgs(BaseModel):
class CLIFineTuningJobs:
@staticmethod
def create(args: CLIFineTuningJobsCreateArgs) -> None:
hyperparameters = json.loads(args.hyperparameters) if args.hyperparameters is not NOT_GIVEN else NOT_GIVEN
hyperparameters = json.loads(str(args.hyperparameters)) if args.hyperparameters is not NOT_GIVEN else NOT_GIVEN
fine_tuning_job: FineTuningJob = get_client().fine_tuning.jobs.create(
model=args.model,
training_file=args.training_file,
Expand Down

0 comments on commit fd7c39a

Please sign in to comment.