Automatic Speech Recognition
Safetensors
MLX
English
Chinese
mlx-audio
glmasr
speech-to-text
speech-to-speech
speech
speech generation
stt
custom_code
4-bit precision
Run this model with HF Jobs
Run mlx-community/GLM-ASR-Nano-2512-4bit 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/GLM-ASR-Nano-2512-4bit. 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/GLM-ASR-Nano-2512-4bit 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.
Instructions to use mlx-community/GLM-ASR-Nano-2512-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use mlx-community/GLM-ASR-Nano-2512-4bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download mlx-community/GLM-ASR-Nano-2512-4bit --local-dir GLM-ASR-Nano-2512-4bit
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
mlx-community/GLM-ASR-Nano-2512-4bit
This model was converted to MLX format from zai-org/GLM-ASR-Nano-2512 using mlx-audio version 0.2.9.
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/GLM-ASR-Nano-2512-4bit --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/GLM-ASR-Nano-2512-4bit")
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
- 145
Model size
2B params
Tensor type
BF16
Β·
U32 Β·
Hardware compatibility
Log In to add your hardware
4-bit