CompositeReinforcementTuningRewardConfigWeightedRewardConfig

@Serializable
data class CompositeReinforcementTuningRewardConfigWeightedRewardConfig(val rewardConfig: SingleReinforcementTuningRewardConfig? = null, val weight: Double? = null)

Composite reinforcement tuning reward config weighted reward config.

Constructors

constructor(rewardConfig: SingleReinforcementTuningRewardConfig? = null, weight: Double? = null)

Properties

Link copied to clipboard

Single reward configuration.

Link copied to clipboard
val weight: Double? = null

How much this single reward contributes to the total overall reward. Total reward is a linear combination of single rewards with their corresponding weights, i.e., `` total_reward = ( weight_a * reward_a + weight_b * reward_b + ... ) / (weight_a + weight_b + ...) ``