mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-04 04:04:14 +00:00
reward scoring model enum
This commit is contained in:
parent
ebb59aa35f
commit
6ec7c47938
4 changed files with 24 additions and 17 deletions
|
@ -29,6 +29,7 @@ from model_types import (
|
|||
InstructModel,
|
||||
Message,
|
||||
PretrainedModel,
|
||||
RewardModel,
|
||||
SamplingParams,
|
||||
ShieldConfig,
|
||||
StopReason,
|
||||
|
@ -245,9 +246,7 @@ class RewardScoringRequest:
|
|||
"""Request to score a reward function. A list of prompts and a list of responses per prompt."""
|
||||
|
||||
prompt_generations: List[KPromptGenerations]
|
||||
|
||||
# TODO(ragho): create a RewardModel enum tye
|
||||
model: str
|
||||
model: RewardModel
|
||||
|
||||
|
||||
@json_schema_type
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue