Safetensors
MLX
mlx-audio
granite_speech
speech-to-text
speech
transcription
asr
stt
8-bit precision
Instructions to use mlx-community/granite-4.0-1b-speech-8bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use mlx-community/granite-4.0-1b-speech-8bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir granite-4.0-1b-speech-8bit mlx-community/granite-4.0-1b-speech-8bit
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- LM Studio
mlx-community/granite-4.0-1b-speech-8bit
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-8bit --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-8bit")
transcription = generate_transcription(
model=model,
audio_path="path_to_audio.wav",
output_path="path_to_output.txt",
format="txt",
verbose=True,
)
print(transcription.text)
- Downloads last month
- 198
Model size
1.0B params
Tensor type
BF16
·
U32 ·
Hardware compatibility
Log In to add your hardware
8-bit
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support
Model tree for mlx-community/granite-4.0-1b-speech-8bit
Base model
ibm-granite/granite-4.0-1b-base