Check a model edit
check_editDetect silent config or architecture edit bugs—vocab resize, tying, heads, RoPE, LoRA targets—and estimate memory delta before training. Runs offline.
Instructions
Call after editing a model's config or architecture, before training: silent edit bugs (vocab resize, tying, heads, RoPE, LoRA targets) and the memory delta. Offline.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "check_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gpu | No | ||
| batch | No | ||
| config | No | config.json after. | |
| seq_len | No | ||
| attention | No | ||
| model_path | No | File, zoo:<id>, hf:<org/name> | |
| base_config | No | config.json before: object, JSON or path. | |
| model_source | No | Optional: answer about model text passed inline (a .neurarch.json document or PyTorch source). | |
| base_model_path | No | The model before the edit. | |
| lora_target_modules | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| verdict | Yes | ||
| findings | Yes |