from modal_training_gym.train_recipes.slime_recipe.blocks import MultiTurnConfigure multi-turn rollout for conversational RL training.
Fields
Section titled “Fields”| Field | Type | Default | Description |
|---|---|---|---|
generate_function | collections.abc.Callable | ||
reward_function | collections.abc.Callable | None | None | |
max_turns | int | None | None | |
log_multi_turn | bool | None | None | |
config_overrides | collections.abc.Mapping[str, Any] | {} |
Methods
Section titled “Methods”apply(self, recipe: "'SlimeRecipe'") -> "'SlimeRecipe'"
Section titled “apply(self, recipe: "'SlimeRecipe'") -> "'SlimeRecipe'"”Source: modal_training_gym/train_recipes/slime_recipe/blocks.py