| ▲ | yborg 4 hours ago | |
I had no idea this was even possible, I thought that the model files were strictly containers for weights and tensors. Now I understand why 'safetensor' format is called that. It feels like ancient history from when people used self-unpacking compression formats to deliver malware payloads... | ||
| ▲ | kccqzy 3 hours ago | parent [-] | |
I really appreciate the effort behind safetensors, but I think in this case it wouldn’t help. > models in the Safetensors and PyTorch formats carry the same kind of template in a separate file, usually tokenizer_config.json or chat_template.jinja, so this half of the method applies to them too | ||