Skip to main content

map_tensor_name

Function map_tensor_name 

Source
pub fn map_tensor_name(hf_name: &str) -> Option<String>
Expand description

Convert a Toto HuggingFace tensor name to the GGUF blk.N convention. Returns None for unrecognised names (caller will warn and skip them).

Actual tensor names were confirmed by running inspect-tensors on the downloaded model.safetensors checkpoint.