Skip to content
Repo

Inkling_Small_Recipe

from modal_dojo import Inkling_Small_Recipe

Inkling-Small full-parameter recipe.

cli_args(dataset: DatasetConfig | None = None, eval_dataset: DatasetConfig | None = None, dataset_path: str | None = None, eval_dataset_path: str | None = None, model: ModelConfig | None = None) -> list[str]
download_model() -> None
effective_num_epoch() -> int | None
get_base_recipe(model_config: ModelConfig) -> MilesRecipe | None

Return the model preset for model_config.

Call this explicitly. TrainConfig uses the recipe it receives without applying a preset.

Returns

The model preset, or None when no preset is registered.

Raises

  • DojoConfigError: The recipe accepts only registered models and model_config is not registered.
gpu_allocation: GpuAllocation
post_process_data() -> None
post_process_model() -> None
total_nodes: int
train_async: bool
validate_model_parallelism(model: ModelConfig) -> None

Validate the model’s parallelism settings.