Skip to content
This repository has been archived by the owner on Aug 12, 2024. It is now read-only.

Commit

Permalink
Fixed _get_finetuning_job result structure (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
albemordo authored Apr 18, 2024
1 parent b0b0b22 commit bba7968
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prem_utils/connectors/cohere.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def list_jobs(self) -> list[dict[str, any]]:
def _get_finetuning_job(self, model: CustomModel) -> dict[str, any]:
return {
"id": model.id,
"fine_tuned_model": model.model_id,
"model": model.model_id,
"created_at": int(model.created_at.timestamp()),
"finished_at": int(model.completed_at.timestamp()) if model.completed_at else None,
"status": self._parse_job_status(model.status),
Expand Down

0 comments on commit bba7968

Please sign in to comment.