Views
No views yet
mlx.nn.quantize(bits=6, group_size=64) (nn.Linear and nn.Embedding only; Conv1d, BatchNorm, and the TDT prediction LSTM stay bf16). English-only.parakeet_mlx.from_pretrained alone will not load this checkpoint:1import json, mlx.nn as nn
2from parakeet_mlx.utils import from_config
3
4model = from_config(json.load(open("config.json")))
5nn.quantize(model, group_size=64, bits=6)
6model.load_weights("model.safetensors")mel_filters.npy is the precomputed slaney mel filterbank (librosa.filters.mel(sr=16000, n_fft=512, n_mels=128, fmin=0, fmax=8000, norm="slaney")), shipped so inference environments can stub librosa out entirely.