import SGPClient from 'sgp';
const client = new SGPClient({
apiKey: 'My API Key',
});
const fineTuningJob = await client.fineTuningJobs.create({
account_id: 'account_id',
training_dataset_id: 'training_dataset_id',
});
console.log(fineTuningJob.id);
{
"base_model_id": "<string>",
"vendor_configuration": {
"vendor": "LAUNCH",
"hyperparameters": {},
"wandb_config": {},
"suffix": "<string>",
"output": "<string>"
},
"fine_tuned_model_id": "<string>",
"training_dataset_id": "<string>",
"validation_dataset_id": "<string>",
"status": "PENDING",
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"account_id": "<string>",
"created_by_user_id": "<string>",
"created_by_identity_type": "user"
}
Model fine tuning jobs.
TODO
import SGPClient from 'sgp';
const client = new SGPClient({
apiKey: 'My API Key',
});
const fineTuningJob = await client.fineTuningJobs.create({
account_id: 'account_id',
training_dataset_id: 'training_dataset_id',
});
console.log(fineTuningJob.id);
{
"base_model_id": "<string>",
"vendor_configuration": {
"vendor": "LAUNCH",
"hyperparameters": {},
"wandb_config": {},
"suffix": "<string>",
"output": "<string>"
},
"fine_tuned_model_id": "<string>",
"training_dataset_id": "<string>",
"validation_dataset_id": "<string>",
"status": "PENDING",
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"account_id": "<string>",
"created_by_user_id": "<string>",
"created_by_identity_type": "user"
}
Successful Response
The response is of type object
.