Skip to content

Instantly share code, notes, and snippets.

@senstella
senstella / parakeet-nemo-to-mlx.py
Created May 6, 2025 14:04
A simple script to convert NeMo Parakeet weights to MLX.
import torch
from safetensors.torch import save_file
INPUT_NAME = "model_weights.ckpt"
OUTPUT_NAME = "model.safetensors"
state = torch.load(INPUT_NAME, map_location="cpu")
new_state = {}
for key, value in state.items():