Downloads · 30 days
17
9% of all-time downloads
jkrukowski/whisper-base-mlx-safetensors
whisper-base-mlx-safetensors is a machine learning model from jkrukowski. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for mlx.
This model was converted to safetensors format from mlx-community/whisper-base-mlx.
Downloads · 30 days
17
9% of all-time downloads
All-time downloads
193
Public
Repo size
287 MB
Likes
0
Public
Click a slice to open those files.
.safetensors144 MB · 100%
From the Hugging Face model README
This model was converted to safetensors format from mlx-community/whisper-base-mlx.
The weights are split between the encoder (encoder.safetensors) and the decoder (decoder.safetensors).
import MLX
import MLXNN
let encoderUrl = URL(fileURLWithPath: "path/to/whisper-tiny-mlx-safetensors/encoder.safetensors")
let arrays = try MLX.loadArrays(url: encoderUrl)
let encoderParams = ModuleParameters.unflattened(arrays)
// Create the model and load the parameters