Run this model with HF Jobs

Run mlx-community/granite-4.0-1b-speech-5bit on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/mlx-community/granite-4.0-1b-speech-5bit. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/mlx-community/granite-4.0-1b-speech-5bit on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
prince-canuma's picture
Upload folder using huggingface_hub
371e692 verified
|
Raw History Blame Contribute Delete
1.17 kB
metadata
license: apache-2.0
language:
  - multilingual
  - en
  - fr
  - de
  - es
  - pt
  - ja
base_model:
  - ibm-granite/granite-4.0-1b-base
library_name: mlx-audio
tags:
  - mlx
  - speech-to-text
  - speech
  - transcription
  - asr
  - stt
  - mlx-audio

mlx-community/granite-4.0-1b-speech-5bit

This model was converted to MLX format from ibm-granite/granite-4.0-1b-speech using mlx-audio version 0.4.0.

Refer to the original model card for more details on the model.

Use with mlx-audio

pip install -U mlx-audio

CLI Example:

python -m mlx_audio.stt.generate --model mlx-community/granite-4.0-1b-speech-5bit --audio "audio.wav"

Python Example:

from mlx_audio.stt.utils import load_model
from mlx_audio.stt.generate import generate_transcription

model = load_model("mlx-community/granite-4.0-1b-speech-5bit")
transcription = generate_transcription(
    model=model,
    audio_path="path_to_audio.wav",
    output_path="path_to_output.txt",
    format="txt",
    verbose=True,
)
print(transcription.text)