Views
No views yet
facebook/wmt21-dense-24-wide-x-en for use with CrispStrobe/CrispASR.| File | Size | Notes |
|---|---|---|
wmt21-dense-24-wide-x-en-f16.gguf | 8.8 GB | F16 weights (reference quality) |
wmt21-dense-24-wide-x-en-q8_0.gguf | 4.7 GB | Q8_0 quantized (identical quality to F16 on test set) |
wmt21-dense-24-wide-x-en-q4_k.gguf | 2.5 GB | Q4_K quantized (minor word choice differences) |
| Code | Language |
|---|---|
| de | German |
| cs | Czech |
| ru | Russian |
| ja | Japanese |
| zh | Chinese |
| is | Icelandic |
| ha | Hausa |
en).1# 1. Build CrispASR
2git clone https://github.com/CrispStrobe/CrispASR
3cd CrispASR
4cmake -B build -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF
5cmake --build build -j
6
7# 2. Pull model
8huggingface-cli download cstr/wmt21-dense-24-wide-x-en-GGUF wmt21-dense-24-wide-x-en-q8_0.gguf --local-dir .
9
10# 3. Translate
11./build/bin/crispasr --backend m2m100 -m wmt21-dense-24-wide-x-en-q8_0.gguf \
12 --text "Die Maschine lernt schnell und verändert die Welt." \
13 -sl de -tl en
14
15# Japanese → English
16./build/bin/crispasr --backend m2m100 -m wmt21-dense-24-wide-x-en-q8_0.gguf \
17 --text "機械学習は世界を変えています。" \
18 -sl ja -tl en| Input | Language | F16 | Q8_0 | Q4_K |
|---|---|---|---|---|
| Hallo Welt, wie geht es dir heute? | de | Hello world, how are you today? | Hello world, how are you today? | Hello world, how are you today? |
| Die Maschine lernt schnell und verändert die Welt. | de | The machine learns quickly and changes the world. | The machine learns quickly and changes the world. | The machine learns quickly and changes the world. |
| 機械学習は世界を変えています。 | ja | Machine learning is changing the world. | Machine learning is changing the world. | Machine learning is changing the world. |
| Машинное обучение меняет мир. | ru | Machine learning is changing the world. | Machine learning is changing the world. | Machine learning is changing the world. |
Text → SentencePiece BPE tokenizer (128K vocab, 8 lang codes)
→ Source lang token (__de__) + text tokens + </s>
→ 24-layer transformer encoder (d=2048, 32 heads, FFN=16384, ReLU, pre-norm)
→ Sinusoidal positional embeddings (pre-computed)
→ 24-layer transformer decoder (self-attn + cross-attn + FFN)
→ Shared embedding LM head (tied weights)
→ English forced as first decoder token
→ Greedy decode → translated English text1python models/convert-m2m100-to-gguf.py \
2 --input facebook/wmt21-dense-24-wide-x-en \
3 --output wmt21-dense-24-wide-x-en-f16.ggufcstr/wmt21-dense-24-wide-en-x-GGUF — English-to-many (reverse direction)cstr/m2m100-418m-GGUF — smaller 100-language any-to-any modelfacebook/wmt21-dense-24-wide-x-en — original PyTorch modelfacebook.mit. This repository redistributes under the same terms; it grants no rights the upstream licence does not.