Views
No views yet
1from mlx_tune.stt import FastSTTModel
2from mlx_lm.tuner.lora import LoRALinear
3
4model, _ = FastSTTModel.from_pretrained("mlx-community/Qwen3-ASR-1.7B-bf16")
5model.load_adapter("holotherapper/lilfugu-lora")
6
7# Adjust scale (0.0-1.0). Higher = stronger term conversion.
8for _, module in model.model.named_modules():
9 if isinstance(module, LoRALinear):
10 module.scale = 1.0
11
12text = model.transcribe("audio.wav", language="ja")