mudler commited on
Commit
77b7f34
·
verified ·
1 Parent(s): d2b8773

Add model card

Browse files
Files changed (1) hide show
  1. README.md +81 -0
README.md ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: OpenMOSS-Team/MOSS-Transcribe-Diarize
4
+ library_name: moss-transcribe.cpp
5
+ pipeline_tag: automatic-speech-recognition
6
+ tags:
7
+ - gguf
8
+ - ggml
9
+ - speech-to-text
10
+ - transcription
11
+ - diarization
12
+ - timestamps
13
+ - moss-transcribe.cpp
14
+ - localai
15
+ ---
16
+
17
+ # MOSS-Transcribe-Diarize GGUF (for moss-transcribe.cpp)
18
+
19
+ GGUF weights for [**moss-transcribe.cpp**](https://github.com/mudler/moss-transcribe.cpp), a from-scratch C++/ggml inference port of [OpenMOSS MOSS-Transcribe-Diarize](https://github.com/OpenMOSS/MOSS-Transcribe-Diarize). Joint long-form transcription, speaker diarization, and timestamps in one pass, on CPU (and on GPU through ggml backends as those land), with no Python, PyTorch, or CUDA toolkit at inference. Each file is fully self-contained (weights, tokenizer, mel filterbank, and all config live inside the GGUF).
20
+
21
+ Brought to you by the [LocalAI](https://github.com/mudler/LocalAI) team.
22
+
23
+ ## Variants
24
+
25
+ Every file was verified end-to-end against the reference on the JFK sample (CPU, greedy, 8 threads). "Transcript" is versus the original PyTorch model; "speed" is total wall time on an 11 s clip on a 20-core x86 CPU at 8 threads (the whole model, load included; the autoregressive decode is memory-bandwidth bound, so smaller weights run faster).
26
+
27
+ | file | size | vs f32 | wall (11 s) | speed vs f32 | transcript vs reference |
28
+ | ---- | ---- | ------ | ----------- | ------------ | ----------------------- |
29
+ | `moss-transcribe-f16.gguf` | 1.8 GB | 50% | 4.96 s | 1.6x | byte-identical |
30
+ | `moss-transcribe-q8_0.gguf` | 942 MB | 27% | 3.97 s | 2.0x | byte-identical |
31
+ | `moss-transcribe-q6_k.gguf` | 733 MB | 21% | 4.16 s | 1.9x | byte-identical |
32
+ | `moss-transcribe-q5_k.gguf` | 619 MB | 18% | 4.47 s | 1.8x | byte-identical |
33
+ | `moss-transcribe-q5_0.gguf` | 619 MB | 18% | 3.81 s | 2.1x | byte-identical |
34
+ | `moss-transcribe-q4_k.gguf` | 511 MB | 15% | 3.81 s | 2.1x | word-identical (one timestamp off 0.02 s) |
35
+ | `moss-transcribe-q4_0.gguf` | 511 MB | 15% | 3.57 s | 2.2x | word-identical (one timestamp off 0.07 s) |
36
+
37
+ Which to pick: **q5_k** or **q5_0** for the best size and accuracy (byte-identical to the reference at about one sixth the size); **q4_k**/**q4_0** for the smallest and fastest (word-identical); **q8_0** for the largest fidelity margin; **f16** if you want the near-lossless full-precision equivalent. The F32 GGUF (3.4 GB, the parity reference) is not published here; produce it with the converter if you need it.
38
+
39
+ Only the large `ggml_mul_mat`-fed weights (Qwen3 and Whisper attention/FFN projections, the adaptor linears, and the token embedding, 343 tensors) are quantized; norms, biases, the conv stem, positional embeddings, and the mel filterbank stay F32.
40
+
41
+ ## Usage
42
+
43
+ ```sh
44
+ git clone --recursive https://github.com/mudler/moss-transcribe.cpp
45
+ cd moss-transcribe.cpp
46
+ cmake -B build && cmake --build build -j
47
+
48
+ hf download mudler/moss-transcribe.cpp-gguf moss-transcribe-q5_k.gguf --local-dir .
49
+ ./build/moss-transcribe transcribe moss-transcribe-q5_k.gguf audio.wav
50
+ ```
51
+
52
+ Output is the compact `[start][Sxx]text[end]` transcript with inline speaker tags and timestamps, for example:
53
+
54
+ ```text
55
+ [0.28][S01] And so, my fellow Americans, ask not what your country can do for you, ask what you can do for your country.[10.59]
56
+ ```
57
+
58
+ Set `MTD_THREADS` to tune CPU threads (8 is a good default on a 20-core box; the decode is bandwidth bound, so fewer busy threads often beat more).
59
+
60
+ ## For production serving
61
+
62
+ Use [LocalAI](https://localai.io) for an OpenAI-compatible `/v1/audio/transcriptions` endpoint, a model gallery, concurrency, auth, and metrics.
63
+
64
+ ## Model
65
+
66
+ The MOSS-Transcribe-Diarize model is by the [OpenMOSS / MOSI.AI team](https://github.com/OpenMOSS/MOSS-Transcribe-Diarize) (arXiv:2601.01554), released under Apache-2.0. moss-transcribe.cpp is MIT-licensed; these GGUF weights keep the model's Apache-2.0 license.
67
+
68
+ ## Citation
69
+
70
+ ```bibtex
71
+ @software{moss_transcribe_cpp,
72
+ title = {moss-transcribe.cpp: a C++/ggml inference engine for MOSS-Transcribe-Diarize},
73
+ author = {Di Giacinto, Ettore},
74
+ url = {https://github.com/mudler/moss-transcribe.cpp},
75
+ year = {2026}
76
+ }
77
+ ```
78
+
79
+ ---
80
+
81
+ Built by the [LocalAI](https://github.com/mudler/LocalAI) team. If you want to run speech transcription and diarization (and LLMs, vision, voice, image, and video models) locally on any hardware with an OpenAI-compatible API, [give LocalAI a star](https://github.com/mudler/LocalAI).