reference_answer field containing the correct answer for each problem. Include a system prompt instructing the model to use the reasoning format:
reinforcement-fine-tune. See Upload file for the full schema reference.
Set fine_tune_type and define a reward function using reward_components in your TrainingConfig:
Reward functions
A reward function defines how model outputs are scored during training. In SeekrFlow, reward functions are built from one or more graders — individual scoring operations that each evaluate a specific quality of the output.Grader types
Create graders
LLM grader
The LLM grader (LLM-as-a-judge) scores each candidate response with an LLM instead of a deterministic metric. The judge compares the model output to thereference_answer and rates how well it matches in meaning and quality. Use it for open-ended or subjective outputs, such as semantic correctness, helpfulness, or tone, where string check and text similarity are too rigid.
The LLM grader takes no operation. It accepts optional generation parameters that control how the judge produces its scores:
The judge runs on infrastructure managed by SeekrFlow, so you don’t configure an inference endpoint or model for it.
weight and combines with other graders the same way, as shown next.
Combine graders with weights
Assign weight percentages to combine multiple graders into a single reward function. Weights must sum to1.0. If no weights are provided, graders are weighted equally.
Format reward weight
By default, 10% of the reward score is based on whether the model uses the correct output format (<think> and <answer> tags). You can adjust this with format_reward_weight:
When
format_reward_weight is set explicitly, the sum of all weights (format + graders) must equal 1.0.