prompting.validators.reward.open_assistant
#
Module Contents#
Classes#
- class prompting.validators.reward.open_assistant.OpenAssistantRewardModel(device)#
Bases:
prompting.validators.reward.reward.BaseRewardModel
- Parameters:
device (str) –
- reward_single(prompt, completion, name)#
- Parameters:
- Return type:
- get_rewards(prompt, completions, name)#
- Parameters:
- Return type: