Skip to content
Repo

ModelConfig

from modal_training_gym.common.models.base import ModelConfig

Defines model identity, weight download, and response parsing.

download() -> None

Download or materialize weights into the model volume.

parse_response(text: str) -> ParsedResponse

Parse model text with response_parser.

Without a configured parser, the model text becomes ParsedResponse.content.

Returns

Parsed model output.