POST
/
v1
/
accounts
/
{account_id}
/
fineTuningJobs

Authorizations

Authorization
string
headerrequired

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

Path Parameters

account_id
string
required

The Account Id

Query Parameters

debug
boolean
fineTuningJobId
string

ID of the fine-tuning job.

Body

application/json
displayName
string
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
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[]
status
object
containerVersion
string
modelId
string

the model id to generate for training jobs.

legacyJob
object
textCompletion
object
textClassification
object
conversation
object
draftModelData
object
draftModel
object
genie
object
baseModel
string

The name of the base model.

epochs
number

The number of epochs to train for.

learningRate
number

The learning rate used for training.

loraRank
integer

The lora rank used for training.

loraTargetModules
string[]

The lora target modules used for training.

batchSize
integer

The batch size of dataset used for training.

microBatchSize
integer

The batch size of dataset used for training per accelerator.

maskToken
string

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

padToken
string

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

wandbEntity
string

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

wandbApiKey
string

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

wandbProject
string

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

evaluation
boolean
evaluationSplit
number

the split flag to take from training dataset for evaluation.

evaluationDataset
string

the dataset to use for evaluation.

dependentJobs
string[]

Response

200 - application/json
name
string
displayName
string
createTime
string
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
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[]
status
object
createdBy
string

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

containerVersion
string
modelId
string

the model id to generate for training jobs.

legacyJob
object
textCompletion
object
textClassification
object
conversation
object
draftModelData
object
draftModel
object
genie
object
baseModel
string

The name of the base model.

warmStartFrom
string

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

epochs
number

The number of epochs to train for.

learningRate
number

The learning rate used for training.

loraRank
integer

The lora rank used for training.

loraTargetModules
string[]

The lora target modules used for training.

batchSize
integer

The batch size of dataset used for training.

microBatchSize
integer

The batch size of dataset used for training per accelerator.

maskToken
string

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

padToken
string

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

wandbUrl
string

The Weights & Biases url to see training progress.

wandbEntity
string

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

wandbApiKey
string

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

wandbProject
string

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

evaluation
boolean
evaluationSplit
number

the split flag to take from training dataset for evaluation.

evaluationDataset
string

the dataset to use for evaluation.

dependentJobs
string[]