parse_config

Function parse_config 

Source
pub fn parse_config(json: &str) -> Result<ModelConfig>
Expand description

Parse a checkpoint config.json into a ModelConfig.

Thin wrapper: the per-family dispatch is unchanged in parse_config_dispatch, and the only added step is populating the complete stop-token set. That step is ADDITIVE — it never changes eos_token_id, so every existing model behaves exactly as before.