(cancel-fine-tuning-job params)
(cancel-fine-tuning-job params options)
Immediately cancel a fine-tuning job.
Example:
(cancel-fine-tuning-job {:fine_tuning_job_id "ft-1wefweub"})
Response:
{
"object": "fine_tuning.job",
"id": "ftjob-abc123",
"model": "gpt-3.5-turbo-0613",
"created_at": 1689376978,
"fine_tuned_model": null,
"organization_id": "org-123",
"result_files": [],
"hyperparameters": {
"n_epochs": "auto"
},
"status": "cancelled",
"validation_file": "file-abc123",
"training_file": "file-abc123"
}
Also see the OpenAI documentation
Immediately cancel a fine-tuning job. Example: ``` (cancel-fine-tuning-job {:fine_tuning_job_id "ft-1wefweub"}) ``` Response: ``` { "object": "fine_tuning.job", "id": "ftjob-abc123", "model": "gpt-3.5-turbo-0613", "created_at": 1689376978, "fine_tuned_model": null, "organization_id": "org-123", "result_files": [], "hyperparameters": { "n_epochs": "auto" }, "status": "cancelled", "validation_file": "file-abc123", "training_file": "file-abc123" } ``` Also see the [OpenAI documentation](https://platform.openai.com/docs/api-reference/fine-tuning/cancel)
(create-fine-tuning-job params)
(create-fine-tuning-job params options)
Creates a job that fine-tunes a specified model from a given dataset.
Response includes details of the enqueued job including job status and the name of the fine-tuned models once complete.
Example:
(create-fine-tuning-job {:training_file "file-xuhfiwuefb"
:model "gpt-3.5-turbo"})
Response:
{
"object": "fine_tuning.job",
"id": "ftjob-abc123",
"model": "gpt-3.5-turbo-0613",
"created_at": 1614807352,
"fine_tuned_model": null,
"organization_id": "org-123",
"result_files": [],
"status": "queued",
"validation_file": null,
"training_file": "file-abc123",
}
Also see the OpenAI documentation
Creates a job that fine-tunes a specified model from a given dataset. Response includes details of the enqueued job including job status and the name of the fine-tuned models once complete. Example: ``` (create-fine-tuning-job {:training_file "file-xuhfiwuefb" :model "gpt-3.5-turbo"}) ``` Response: ``` { "object": "fine_tuning.job", "id": "ftjob-abc123", "model": "gpt-3.5-turbo-0613", "created_at": 1614807352, "fine_tuned_model": null, "organization_id": "org-123", "result_files": [], "status": "queued", "validation_file": null, "training_file": "file-abc123", } ``` Also see the [OpenAI documentation](https://platform.openai.com/docs/api-reference/fine-tuning/create)
(list-fine-tuning-events params)
(list-fine-tuning-events params options)
Get status updates for a fine-tuning job.
Example:
(list-fine-tuning-events {:fine_tuning_job_id "ft-1wefweub"})
Response:
{
"object": "list",
"data": [
{
"object": "fine_tuning.job.event",
"id": "ft-event-ddTJfwuMVpfLXseO0Am0Gqjm",
"created_at": 1692407401,
"level": "info",
"message": "Fine tuning job successfully completed",
"data": null,
"type": "message"
},
{
"object": "fine_tuning.job.event",
"id": "ft-event-tyiGuB72evQncpH87xe505Sv",
"created_at": 1692407400,
"level": "info",
"message": "New fine-tuned model created: ft:gpt-3.5-turbo:openai::7p4lURel",
"data": null,
"type": "message"
}
],
"has_more": true
}
Also see the OpenAI documentation
Get status updates for a fine-tuning job. Example: ``` (list-fine-tuning-events {:fine_tuning_job_id "ft-1wefweub"}) ``` Response: ``` { "object": "list", "data": [ { "object": "fine_tuning.job.event", "id": "ft-event-ddTJfwuMVpfLXseO0Am0Gqjm", "created_at": 1692407401, "level": "info", "message": "Fine tuning job successfully completed", "data": null, "type": "message" }, { "object": "fine_tuning.job.event", "id": "ft-event-tyiGuB72evQncpH87xe505Sv", "created_at": 1692407400, "level": "info", "message": "New fine-tuned model created: ft:gpt-3.5-turbo:openai::7p4lURel", "data": null, "type": "message" } ], "has_more": true } ``` Also see the [OpenAI documentation](https://platform.openai.com/docs/api-reference/fine-tuning/events)
(list-fine-tuning-jobs)
(list-fine-tuning-jobs options)
List your organization's fine-tuning jobs.
Example:
(list-fine-tuning-jobs)
Response:
{
"object": "list",
"data": [
{
"object": "fine_tuning.job.event",
"id": "ft-event-TjX0lMfOniCZX64t9PUQT5hn",
"created_at": 1689813489,
"level": "warn",
"message": "Fine tuning process stopping due to job cancellation",
"data": null,
"type": "message"
},
{ ... },
{ ... }
], "has_more": true
}
Also see the OpenAI documentation
List your organization's fine-tuning jobs. Example: ``` (list-fine-tuning-jobs) ``` Response: ``` { "object": "list", "data": [ { "object": "fine_tuning.job.event", "id": "ft-event-TjX0lMfOniCZX64t9PUQT5hn", "created_at": 1689813489, "level": "warn", "message": "Fine tuning process stopping due to job cancellation", "data": null, "type": "message" }, { ... }, { ... } ], "has_more": true } ``` Also see the [OpenAI documentation](https://platform.openai.com/docs/api-reference/fine-tuning/list)
(retrieve-fine-tuning-job params)
(retrieve-fine-tuning-job params options)
Gets info about a fine-tuning job.
Example:
(retrieve-fine-tuning-job {:fine_tuning_job_id "ft-1wefweub"})
Response:
{
"object": "fine_tuning.job",
"id": "ftjob-abc123",
"model": "davinci-002",
"created_at": 1692661014,
"finished_at": 1692661190,
"fine_tuned_model": "ft:davinci-002:my-org:custom_suffix:7q8mpxmy",
"organization_id": "org-123",
"result_files": [
"file-abc123"
],
"status": "succeeded",
"validation_file": null,
"training_file": "file-abc123",
"hyperparameters": {
"n_epochs": 4,
},
"trained_tokens": 5768
}
Also see the OpenAI documentation
Gets info about a fine-tuning job. Example: ``` (retrieve-fine-tuning-job {:fine_tuning_job_id "ft-1wefweub"}) ``` Response: ``` { "object": "fine_tuning.job", "id": "ftjob-abc123", "model": "davinci-002", "created_at": 1692661014, "finished_at": 1692661190, "fine_tuned_model": "ft:davinci-002:my-org:custom_suffix:7q8mpxmy", "organization_id": "org-123", "result_files": [ "file-abc123" ], "status": "succeeded", "validation_file": null, "training_file": "file-abc123", "hyperparameters": { "n_epochs": 4, }, "trained_tokens": 5768 } ``` Also see the [OpenAI documentation](https://platform.openai.com/docs/api-reference/fine-tuning/retrieve)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close