Skip to content
Repo

HFModelConfiguration

from modal_training_gym.common.models.base import HFModelConfiguration

Downloads Hugging Face model weights with snapshot_download.

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.