๐Ÿ”„ Universal Model Weight Converter

Convert compatible weight dictionaries among PyTorch, SafeTensors, NumPy NPZ, and HDF5.

  • Weight inputs: .pt, .pth, .bin, .ckpt, .safetensors, .npz, .h5, .hdf5
  • Weight outputs: .safetensors, .pt, .pth, .bin, .ckpt, .npz, .h5, .hdf5
  • ONNX: Use the separate Hugging Face โ†’ ONNX tab. ONNX requires a full model architecture, not only a weights file.
  • Security: Only upload checkpoint files you trust. Pickle-based PyTorch files can be unsafe.
Target format