PATCH
/
v1
/
accounts
/
{account_id}
/
fineTuningJobs
/
{fine_tuning_job_id}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

account_id
string
required

The Account Id

fine_tuning_job_id
string
required

The Fine-tuning Job Id

Body

application/json
baseModel
string

The name of the base model.

batchSize
integer

The batch size of dataset used for training.

containerVersion
string
conversation
object
dataset
string

The name of the dataset used for training. A dataset ID may also be supplied, in which case the ID will be normalized into the fully qualified dataset name using the parent of the job.

datasets
object[]
dependentJobs
string[]
displayName
string
draftModel
object
draftModelData
object
epochs
number

The number of epochs to train for.

evaluation
boolean
evaluationDataset
string

the dataset to use for evaluation.

evaluationSplit
number

the split flag to take from training dataset for evaluation.

genie
object
learningRate
number

The learning rate used for training.

legacyJob
object
loraRank
integer

The lora rank used for training.

loraTargetModules
string[]

The lora target modules used for training.

maskToken
string

The token to mask out prompts, used by draft model data generation.

microBatchSize
integer

The batch size of dataset used for training per accelerator.

modelId
string

the model id to generate for training jobs.

padToken
string

The token for padding, used by draft model data generation.

state
enum<string>
default:
STATE_UNSPECIFIED
  • CREATING: The fine-tuning job is being created.
  • PENDING: The fine-tuning job scheduled and is waiting for resource allocation.
  • RUNNING: The fine-tuning job is running.
  • COMPLETED: The fine-tuning job has finished successfully.
  • FAILED: The fine-tuning job has failed.
  • DELETING: The fine-tuning job is being deleted
Available options:
STATE_UNSPECIFIED,
CREATING,
PENDING,
RUNNING,
COMPLETED,
FAILED,
DELETING
status
object
textClassification
object
textCompletion
object
wandbApiKey
string

The Weights & Biases API key associated with the entity. Required if and only if wandb_entity is specified.

wandbEntity
string

The Weights & Biases entity where training progress should be reported. If unspecified, then progress will not be reported to W&B.

wandbProject
string

The Weights & Biases project where training progress should be reported. Required if and only if wandb_entity is specified.

Response

200 - application/json
baseModel
string

The name of the base model.

batchSize
integer

The batch size of dataset used for training.

containerVersion
string
conversation
object
createdBy
string

The email address of the user who created this fine tuning job.

createTime
string
dataset
string

The name of the dataset used for training. A dataset ID may also be supplied, in which case the ID will be normalized into the fully qualified dataset name using the parent of the job.

datasets
object[]
dependentJobs
string[]
displayName
string
draftModel
object
draftModelData
object
epochs
number

The number of epochs to train for.

evaluation
boolean
evaluationDataset
string

the dataset to use for evaluation.

evaluationSplit
number

the split flag to take from training dataset for evaluation.

genie
object
learningRate
number

The learning rate used for training.

legacyJob
object
loraRank
integer

The lora rank used for training.

loraTargetModules
string[]

The lora target modules used for training.

maskToken
string

The token to mask out prompts, used by draft model data generation.

microBatchSize
integer

The batch size of dataset used for training per accelerator.

modelId
string

the model id to generate for training jobs.

name
string
padToken
string

The token for padding, used by draft model data generation.

state
enum<string>
default:
STATE_UNSPECIFIED
  • CREATING: The fine-tuning job is being created.
  • PENDING: The fine-tuning job scheduled and is waiting for resource allocation.
  • RUNNING: The fine-tuning job is running.
  • COMPLETED: The fine-tuning job has finished successfully.
  • FAILED: The fine-tuning job has failed.
  • DELETING: The fine-tuning job is being deleted
Available options:
STATE_UNSPECIFIED,
CREATING,
PENDING,
RUNNING,
COMPLETED,
FAILED,
DELETING
status
object
textClassification
object
textCompletion
object
wandbApiKey
string

The Weights & Biases API key associated with the entity. Required if and only if wandb_entity is specified.

wandbEntity
string

The Weights & Biases entity where training progress should be reported. If unspecified, then progress will not be reported to W&B.

wandbProject
string

The Weights & Biases project where training progress should be reported. Required if and only if wandb_entity is specified.

wandbUrl
string

The Weights & Biases url to see training progress.

warmStartFrom
string

peft addon model in fireworks format to warm start a fine-tuning job from.