promptLossWeight

@SerialName(value = "prompt_loss_weight")
val promptLossWeight: Double? = null

The weight to use for loss on the prompt tokens. This controls how much the model tries to learn to generate the prompt (as compared to the completion which always has a weight of 1.0), and can add a stabilizing effect to training when completions are short.

If prompts are extremely long (relative to completions), it may make sense to reduce this weight to avoid over-prioritizing learning the prompt.

Defaults to 0.1.