nat.experimental.test_time_compute.models.editor_config#

Classes#

LLMAsAJudgeEditorConfig

Configuration for the LLMAsAJudgeEditor.

IterativePlanRefinementConfig

Configuration for an 'iterative plan refinement' strategy.

MotivationAwareSummarizationConfig

Configuration for the MotivationAwareSummarization strategy.

Module Contents#

class LLMAsAJudgeEditorConfig(/, **data: Any)#

Bases: nat.data_models.ttc_strategy.TTCStrategyBaseConfig

Configuration for the LLMAsAJudgeEditor.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

num_feedback: int = None#
editing_llm: nat.data_models.component_ref.LLMRef | Any | None = None#
feedback_llm: nat.data_models.component_ref.LLMRef | Any | None = None#
editor_template: str = None#
feedback_template: str = None#
validate_strategies(values: dict[str, Any]) dict[str, Any]#
class IterativePlanRefinementConfig(/, **data: Any)#

Bases: nat.data_models.ttc_strategy.TTCStrategyBaseConfig

Configuration for an ‘iterative plan refinement’ strategy.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

editor_llm: nat.data_models.component_ref.LLMRef | Any | None = None#
num_iterations: int = None#
refinement_template: str = None#
validate_iterative_strategies(values: dict) dict#
class MotivationAwareSummarizationConfig(/, **data: Any)#

Bases: nat.data_models.ttc_strategy.TTCStrategyBaseConfig

Configuration for the MotivationAwareSummarization strategy.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

editor_llm: nat.data_models.component_ref.LLMRef | Any | None = None#
editor_template: str = None#