/ Модель

Характеристики

Контекст
131 072 токена
Лицензия
Apache 2.0
Базовая модель
Qwen3-ForcedAligner-0.6B
Опубликована
23 июн 2026

Qwen3-ForcedAligner-0.6B-CoreML-FP16

Классификация аудиоАудио → label6 профессий

CoreML-конверсия Qwen3-ForcedAligner для получения временных границ слов при выравнивании текста с речью на устройствах Apple Silicon.

123скачиваний за 30 дней0лайковвеса обновлены13 ноя 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Это конверсия Qwen/Qwen3-ForcedAligner-0.6B в CoreML с точностью FP16, подготовленная для Apple Silicon. Модель принимает аудио и соответствующий текст, а затем за один проход без авторегрессивной генерации предсказывает временные границы слов; результаты дополнительно корректируются для монотонного порядка. В комплект входят аудиокодировщик с входом до 30 секунд, декодировщик и таблица токенных эмбеддингов; для запуска предусмотрена интеграция со Swift-библиотекой speech-swift.

Модель предназначена для выравнивания транскрипта с речью и получения таймкодов слов. В карточке заявлена поддержка английского, китайского, японского, корейского, немецкого, французского, испанского, итальянского и русского языков. README приводит исторические результаты на M2 Max, но отдельно отмечает, что они не характеризуют режим CPU-only. Для CPU и Neural Engine добавлены отдельные исправленные графы; опубликованные проверки корректности относятся к конкретным устройствам и версиям macOS, а проверка на физическом iPhone ещё не проведена. Лицензия Apache-2.0.

Сценарии применения

  • получение таймкодов слов в готовом транскрипте
  • выравнивание субтитров с аудиозаписью
  • разметка временных границ слов в речевых корпусах
  • синхронизация текста и речи в приложениях на Apple Silicon

Ограничения

Модель требует аудио и соответствующий текст; README описывает вход аудио до 30 секунд. Корректность отдельных графов зависит от устройства и версии macOS, а физическая проверка на iPhone не заявлена.

Для каких профессий подходит6

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Также подходит для

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Qwen3-ForcedAligner-0.6B — CoreML FP16

CoreML conversion of Qwen/Qwen3-ForcedAligner-0.6B at fp16 precision for Apple Silicon. Predicts word-level timestamps for audio + text pairs in a single non-autoregressive forward pass.

Files

FileRoleSize
audio_encoder.mlmodelc / .mlpackage24-layer block-attention encoder; fixed 30 s mel input, returns audio_embeddings + real output_length~605 MB
text_decoder.mlmodelc / .mlpackage28-layer non-AR decoder + 5000-class classify head; fixed T=768~853 MB
embed_tokens.fp16.binRaw little-endian fp16 token embedding table, shape [152 064, 1024]~297 MB
config.jsonRuntime config — variant, classify_num, timestamp_segment_time, fixed shapessmall
vocab.json, merges.txt, tokenizer_config.jsonQwen3 BPE tokenizer files~5 MB

The embed-tokens table is shipped as a raw fp16 binary rather than a CoreML package — the Swift runtime memory-maps the file and gathers rows with vImageConvert_Planar16FtoPlanarF, which costs ~0.5 ms per alignment instead of the ~70 ms an mlpackage round-trip would cost.

Usage (Swift via speech-swift)

import Qwen3ASR

let aligner = try await CoreMLForcedAligner.fromPretrained(
    modelId: "aufklarer/Qwen3-ForcedAligner-0.6B-CoreML-FP16")
let aligned = try aligner.align(
    audio: pcmSamples,
    text: "Can you guarantee that the replacement part will be shipped tomorrow?",
    sampleRate: 16000,
    language: "English")
for word in aligned {
    print("[\(word.startTime)s - \(word.endTime)s] \(word.text)")
}

CLI: speech align audio.wav --engine coreml

Historical performance (M2 Max, 64 GB, debug build, 20 s clip)

MetricValue
RTF0.015 (67× faster than real-time)
Peak RSS1071 MB
Median alignment time~297 ms

Per-stage profile (COREML_ALIGN_PROFILE=1):

mel=150ms  encoder=90ms  embedding=0.5ms  splice=0ms  decoder=44ms  argmax=7ms

The Swift decoder defaults to .cpuAndGPU; the encoder defaults to .cpuAndNeuralEngine. Explicit .cpuOnly uses the separate CPU-compatible bundle below.

Architecture

Same model as the upstream Qwen3-ForcedAligner. Inference is non-autoregressive: one forward pass over a chat-template prompt (system + audio + assistant + word<timestamp><timestamp> slots), then argmax at the timestamp positions, then LIS monotonicity correction.

The causal mask is baked into the exported graph as a constant with a finite -1e4 fill value (not -inf) so the fp16 softmax cannot produce NaN.

Variants

For pure MLX paths (no CoreML), see the 4bit, 5bit, 8bit, and bf16 siblings under the same HuggingFace org.

CPU-compatible decoder

text_decoder_cpu_v1.mlmodelc and text_decoder_cpu_v1.mlpackage are additional decoder bundles for CPU-only execution. Their 113 RMS-normalization calculations use Float32; learned weights and the existing model input/output types are preserved. The original text_decoder bundles remain available for GPU execution.

The legacy decoder returns all-zero logits with CPU-only execution on macOS 15.8.2. The Float32-normalization INT8 graph matches all 22 corrected word boundaries in the reference fixture on that runtime. The release validation manifest records the supported checks; validation on other devices is separate.

Updated speech-swift loaders select the versioned bundle for explicit .cpuOnly execution. Run one online model load to populate it; an existing legacy cache does not contain the new CPU bundle. Local/custom exports can provide the same bundle name to select it. The versioned bundle must not be changed in place; future graph changes require a new bundle version.

CPU release validation

Both versioned INT8 and FP16 CPU bundles match all 22 corrected reference word boundaries on macOS 15.8.2 (24H232), with finite, nonzero logits. The checks use the packaged model files at immutable commits; see the verification run. Local M5 Pro/macOS 26.6.2 CPU and existing GPU paths also match the reference boundaries. Physical-iPhone validation remains separate. The historical performance figures above predate these CPU bundles and do not describe CPU-only execution.

Neural Engine-compatible decoder

text_decoder_ane_v1.mlmodelc and text_decoder_ane_v1.mlpackage add a decoder for .cpuAndNeuralEngine and .all. The graph uses mul(x, x) instead of pow(x, 2) in 113 RMS-normalization chains. Learned weights, FP16 precision, and model input/output types are preserved. The original GPU decoder and the separate CPU-compatible decoder remain unchanged.

The original decoder can produce incorrect timestamp classes on the Neural Engine on older runtimes. See the graph repair and affected-device results. The local release validation manifest records checks for these assets; validation on a newer Mac does not establish correctness on older devices.

Updated speech-swift loaders request this versioned bundle for explicit .cpuAndNeuralEngine or .all execution of the INT8 and FP16 models. The default remains .cpuAndGPU; .cpuOnly uses text_decoder_cpu_v1. Run one online model load to populate the new bundle. A legacy offline cache without it fails rather than using the original decoder on the Neural Engine. Local/custom exports can provide the versioned bundle under the same name. Future graph changes require a new bundle version.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм

Нельзя запустить

Не удалось определить, чем загружать веса модели (нет library_name и architectures).

Ревизия весов
11f686d

0 моделей