ModelConfig
"# ModelConfig\n\n```python\nfrom modal_training_gym.common.models.base import ModelConfig\n```\n\nDefines model identity, weight download, and response parsing.\n\n## `download`\n\n```python\ndownload() -> None\n```\n\nDownload or materialize weights into the model volume.\n\n## `parse_response`\n\n```python\nparse_response(text: str) -> ParsedResponse\n```\n\nParse model text with `response_parser`.\n\nWithout a configured parser, the model text becomes `ParsedResponse.content`.\n\n**Returns**\n\nParsed model output.\n"
from modal_training_gym.common.models.base import ModelConfigDefines model identity, weight download, and response parsing.
download
Section titled “download”download() -> NoneDownload or materialize weights into the model volume.
parse_response
Section titled “parse_response”parse_response(text: str) -> ParsedResponseParse model text with response_parser.
Without a configured parser, the model text becomes ParsedResponse.content.
Returns
Parsed model output.