karna-large v2: full-pass fine-tune, 961 h LibriSpeech, 24k-step recovery
Browse filesReplaces the first-release weights (still in this repo's history) with v2. Card, figures and eval results updated.
Files changed (9)
14 unmodified lines151617181918192021226 unmodified lines293031323332333435363536373839404141424344454647474849505152535454555657582 unmodified lines6162636364646566676768697071717273747514 unmodified lines
# karna-large
A **204M-parameter** Khmer + English CTC speech recogniser, made by structured pruning ofMeta's Omnilingual ASR `omniASR_CTC_1B` to **80% encoder sparsity**. It is the Large size of a pair,A **217M-parameter** Khmer + English CTC speech recogniser, made by structured pruning ofMeta's Omnilingual ASR `omniASR_CTC_1B` to **about 80% encoder sparsity**. It is the Large size of a pair,named after DiariZen's Base-s80 / Large-s80 pruned WavLM models. The other size is[Netra-Lab/karna-base](https://huggingface.co/Netra-Lab/karna-base).
6 unmodified lines| Model | Params | GMAC / s audio | DDD (km) | FLEURS-km | FLEURS-en | LibriSpeech test-clean | LibriSpeech test-other ||---|---|---|---|---|---|---|---|| `omniASR_CTC_1B` (stock) | 975M | 50.3 | 5.95 | 11.26 | 12.38 | 4.40 | 8.87 || [omniASR-CTC-1B-km-en](https://huggingface.co/Darayut/omniASR-CTC-1B-km-en) (fine-tuned teacher) | 975M | 50.3 | 2.47 | 9.44 | 11.94 | 3.61 | 8.21 || **karna-large** | **204M** | **12.3** | **1.77** | **11.40** | **19.25** | **6.07** | **16.73** || Fine-tuned 1B (teacher) | 975M | 50.3 | 1.22 | 7.77 | 12.01 | 3.54 | 7.96 || **karna-large** | **217M** | **12.9** | **1.33** | **10.20** | **18.15** | **5.44** | **12.98** |
- **Khmer:** on DDD it is more accurate than both its unpruned fine-tuned teacher and the stock model.- **English:** it keeps much less of its teacher's accuracy, with about 1.5β2Γ the teacher's WER.- **Khmer:** on DDD it is within 0.11 points of its unpruned fine-tuned teacher, and its error is less than a quarter of the stock model's.- **English:** it keeps much less of its teacher's accuracy, with about 1.5β2Γ the teacher's WER, and is behind the stock model.- **Version:** this is v2. The first release (204M; DDD 1.77, test-clean 6.07) is at revision [`593366493e`](https://huggingface.co/Netra-Lab/karna-large/tree/593366493e); v2 improves every test set.- **In-domain test sets:** FLEURS-km and FLEURS-en train are in the training mix, so their test sets are in-domain.
<p align="center"><img src="https://huggingface.co/Netra-Lab/karna-large/resolve/main/assets/inference_time.png" width="60%" alt="Inference time for 60 s of audio at 0% and 80% encoder sparsity, for the base and large models"></p>
*Inference time* for one 60 s utterance (batch 1, bf16, median of 20 runs), at 0% sparsity (the fine-tuned teacher) and 80% (Karna).*Inference time* for one 60 s utterance (batch 1, bf16, median of 20 runs), at 0% sparsity (the fine-tuned teacher) and about 80% (Karna).
## Architecture
<p align="center"><img src="https://huggingface.co/Netra-Lab/karna-large/resolve/main/assets/architecture.png" width="45%" alt="Karna's architecture, reading upwards from 16 kHz audio to the CTC head, with one transformer layer opened up"></p>
*The model*, reading upwards, with one transformer layer opened up: 16 kHz audio, a feature extractor of 7 convolutional layers giving one frame every 20 ms, a convolutional position encoder added back to the frames, 48 pre-LayerNorm transformer layers of width 1,280, a final LayerNorm and a CTC head over 9,812 characters. Every attention head and every FFN unit has its own Hard Concrete gate z. The cells in the opened layer are layer 12 of karna-large: 8 of 16 heads and 3,355 of 5,120 FFN units kept; which ones are kept is schematic.*The model*, reading upwards, with one transformer layer opened up: 16 kHz audio, a feature extractor of 7 convolutional layers giving one frame every 20 ms, a convolutional position encoder added back to the frames, 48 pre-LayerNorm transformer layers of width 1,280, a final LayerNorm and a CTC head over 9,812 characters. Every attention head and every FFN unit has its own Hard Concrete gate z. The cells in the opened layer are layer 12 of karna-large: 11 of 16 heads and 3,788 of 5,120 FFN units kept; which ones are kept is schematic.
<p align="center"><img src="https://huggingface.co/Netra-Lab/karna-large/resolve/main/assets/pruning.png" width="100%" alt="The fine-tuned omniASR CTC-1B before structured pruning and karna-large after: CNN and CTC head kept, attention heads and FFN units removed"></p>
*What is pruned*, shown for karna-large: whole attention heads (MHA) and FFN units are removed from every transformer layer, and the CNN front end is kept. Each cell is a quarter of a layer's heads or units.
- **Base:** a wav2vec2-style CTC encoder with Omnilingual's 9,812-entry character vocabulary, which covers Khmer and Latin script.- **Pruned parts:** per-layer attention heads and FFN units, so every layer has its own width. `config.json` lists the exact `num_heads` and `ffn_dims`; the encoder has 191M parameters.- **Pruned parts:** per-layer attention heads and FFN units, so every layer has its own width. `config.json` lists the exact `num_heads` and `ffn_dims`; the encoder has 205M parameters, 21% of the 1B's 962M.- **Unchanged parts:** the CNN feature extractor and the output layer.- **Loading:** the layer widths are non-uniform, so fairseq2 / `omnilingual-asr` cannot load it. Use the `karna` package (see Usage) or the code bundled in this repo.
2 unmodified linesThe recipe follows *Fine-tune Before Structured Pruning* (arXiv 2505.24111), with the pruning method ofDPHuBERT (arXiv 2305.17651) as used in DiariZen.
1. **Fine-tune.** Train `omniASR_CTC_1B` with CTC on the training mix. The result is the teacher, [omniASR-CTC-1B-km-en](https://huggingface.co/Darayut/omniASR-CTC-1B-km-en).2. **Prune** (12k steps). Hard Concrete L0 gates sit on the attention heads and FFN units. An augmented-Lagrangian constraint ramps the target sparsity to 80%. The pruned model is distilled to the teacher with an L1 β cosine loss on hidden states at layers 12, 24, 36 and 48.1. **Fine-tune** (62k steps, about one pass over the mix). Train `omniASR_CTC_1B` with CTC on the training mix. The result is the teacher. The first release's teacher, fine-tuned for 6k steps, is [omniASR-CTC-1B-km-en](https://huggingface.co/Darayut/omniASR-CTC-1B-km-en).2. **Prune** (12k steps). Hard Concrete L0 gates sit on the attention heads and FFN units. An augmented-Lagrangian constraint ramps the target sparsity to 80% over the first 6k steps. The pruned model is distilled to the teacher with an L1 β cosine loss on hidden states at layers 12, 24, 36 and 48.3. **Cut.** Remove the pruned units for good.4. **Distil** (5k steps). Keep the mask frozen and continue the layer distillation.5. **Recover** (16k steps). Train with CTC plus a frame-level KL divergence to the teacher's output distribution (temperature 1, weight 1).5. **Recover** (24k steps). Train with CTC plus a frame-level KL divergence to the teacher's output distribution (temperature 1, weight 1).
**Training mix**, 50/50 by language:- Khmer: [DDD](https://huggingface.co/datasets/Digital-Divide-Data/khmer-speech-dataset) train and FLEURS-km train.- English: LibriSpeech train-clean-100 + 360 and FLEURS-en train.- English: LibriSpeech train-clean-100 + 360 + other-500 (961 h) and FLEURS-en train.- FLEURS is fixed at 20% of each language's audio.
## Usage36 unmodified lines37383940414240414243464744454647484949505251525354555455585657585960616061626364656667686965666772686975707172737475767778794 unmodified lines84858687878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311329091929394959697989910010110210310410510610710810911011111211311411511611711813413513613711912012112212312412512612712812913013113213313413513613713813914036 unmodified lines ] ], "num_heads": [ 7, 4, 5, 6, 3, 5, 5, 6, 9, 5, 4, 5, 8, 7, 6, 9, 8, 3, 11, 4, 0, 3, 5, 2, 5, 9, 4, 5, 10, 8, 9, 6, 10, 5, 5, 10, 1, 4, 2, 4, 7, 6, 3, 2, 3, 6, 7, 5, 10, 3, 2, 5, 6, 6, 9, 1, 0, 0, 0,4 unmodified lines 0, 0, 0, 2 1 ], "ffn_dims": [ 924, 548, 500, 469, 486, 437, 517, 647, 940, 1414, 2272, 3355, 146, 196, 341, 468, 522, 555, 647, 885, 1270, 1265, 1972, 3081, 87, 134, 190, 333, 267, 419, 392, 416, 774, 1033, 1244, 2685, 81, 69, 80, 228, 351, 477, 541, 1111, 733, 669, 617, 643, 590, 723, 794, 1143, 1575, 2567, 3788, 250, 309, 463, 633, 716, 779, 941, 1157, 1614, 1506, 2260, 3441, 118, 209, 280, 428, 347, 228, 170, 256, 280 540, 526, 541, 899, 1145, 1444, 2763, 122, 111, 138, 264, 303, 342, 380, 254, 213, 138, 194, 324 ], "model_dim": 1280, "head_dim": 80,2 unmodified lines345667891011910111213141415161718191718192021222 unmodified lines "runs": 20, "models": { "teacher-300m": { "ms": 249.481201171875, "ms": 249.78345489501953, "params": 325494996 }, "sota-base": { "ms": 153.1131362915039, "params": 72939491 "karna-base": { "ms": 152.49686431884766, "params": 71260912 }, "teacher-1b": { "ms": 543.3133239746094, "ms": 542.0733032226562, "params": 975065300 }, "sota-large": { "ms": 244.50640106201172, "params": 203593119 "karna-large": { "ms": 248.8357925415039, "params": 217181385 } }}123452345678991011111213141 unmodified line16171819192021222 unmodified lines25262728282930303132331 unmodified line35363738383940412 unmodified lines444546474748494950515253535455565757585960616162636465666667686869707172727374757676777879808081828384858586878887888990911 unmodified line93949596969798991001001011021031041051051061071081071081091101111121121131141151161161171181191201201211221231241251251261271281271281291301311321321331341351 unmodified line137138139140140141142143144145145146147148147148149150151152152153154155156156157158159160160161162163164165165166167168167168169170171172172173174175176176177178179{ "ckpt": "runs/ftfirst/stage3_kd16k/latest.pt", "params_total": 203593119, "params_encoder": 191023947.0, "gmacs_per_audio_second": 12.274921696, "ckpt": "runs/large_v2/stage3_recover/latest.pt", "params_total": 217181385, "params_encoder": 204612213.0, "gmacs_per_audio_second": 12.938585536, "dtype": "bf16", "results": { "ddd_dev": { "cer": 0.02404184453722381, "cer": 0.01974949570765117, "n": 400, "rtf": 0.0025017910663208786, "rtf": 0.0025884124116654123, "examples": [ { "ref": "ααα
αΆααα’αΆααΆααα·ααααααααααΎαααΎαααααΏααααα αΆαα·ααααααΆααα»αααΆαααααα αα·αααΆααααααααΆααααααααα’αΆααααα»α",1 unmodified line }, { "ref": "ααααΆααααααααα’αΆααΆαα·ααααΆααΆαααααααΎαααΎαααΆααα
ααααααα αα·αααΆαααααα ααΆααααααααα·ααααα½αα
ααα½ααααααααΎα±ααααΆααα
αααα", "hyp": "ααααΆααααααααα’αΆααΆαα·ααααααΆαααααααΎαααΎαααΆααα
ααααααα αα·αααΆαααααα ααΆααααααααα·ααααα½αα
ααα½ααααααααΎα±ααααΆααα
αααα" "hyp": "ααααΆααααααααα’αΆααΆαα·ααααΆααΆαααααααΎαααΎαααΆααα
ααααααα αα·αααΆαααααα ααΆααααααααα·ααααα½αα
ααα½ααααααααΎα±ααααΆααα
αααα" }, { "ref": "αα½αααααααΆαααααΏααΎαα·ααααΆαααααααΆαα· αα·αααΆααα·ααΈααΌααΆααααΈ αα·ααααα
α·ααα
αΉαααααΈ ααΆαααααΎα
ααααΆαααΆα ααα αα·αααααΆαααααα ααααΆααααααα½αααααΈαααΆααααααα½αααααα",2 unmodified lines ] }, "ddd_test": { "cer": 0.017692213963689533, "cer": 0.013325210186426222, "n": 1993, "rtf": 0.00235692812277266, "rtf": 0.002432934018123741, "examples": [ { "ref": "αααα
αααααΌαααΆαα·αααα ααααα½ααααα»αα
αααΆααααααα²ααααΆαααααααααααααΆ ααΆαααΆαααΆααααααΆαα αα·ααααααΆααααααααααααΆαα’αΆα αΆαα²ααααΆααα»αααΆαααα’",1 unmodified line }, { "ref": "ααΆααααααα αααα·αααΌααα½αα²αααααααααΆααΆααααΆααααααααΎα α αΎαααααΉαααΎααααα½αααααααααΌααααα·ααααα’αΌααααα αΎαααααα", "hyp": "ααΆααααααααααα·αααΌααα½αα±αααααααααααΆαααΆαααΆααααααααΎα α αΎαααααΉαααΎααααα½αααααααααΌααααα·ααααα’αΌααααα αΎαααααα" "hyp": "ααΆααααααααααα·αααΌααα½αα±αααααααααΆααΆαααΆααααααααΎα α αΎαααααΉαααΎααααα½αααααααααΌααααα·ααααα’αΌααααα αΎαααααα" }, { "ref": "ααΉααααα
ααΆαααααΆαααΆαααααααααααααα·αααα½α αααα»αα
ααααα’ααααααααα
α·ααααα»αααΆααααΎαα»αααΆα αα·ααααααααααααααααααααΆααα»αααααααααααααα",2 unmodified lines ] }, "fleurs_km_dev": { "cer": 0.10720711958371833, "cer": 0.09774838301804212, "n": 326, "rtf": 0.0027152539961343295, "rtf": 0.0027800979810302987, "examples": [ { "ref": "ααΆαααΎαα‘αΎαααααααααααΆααααΊαααααααα½αα₯αααα·ααααααααααααyzantine αα
ααΆαααΆαααΎα", "hyp": "ααΆαααΎαααΎαααααααααααΆααααΊαααααααα½αα₯αααα·αααααααααααα αααα αααΆααααΈα n αα
ααΆαααΆαααΎα" "hyp": "ααΆαααΆαα‘αΎαααααααααααΆααααΊαααααααα½αα₯αααα·ααααααααααααααααααΆααααΈα iαα
ααΆαααΆαααΎα" }, { "ref": "ααΆααΆααααααααΆααααααααα·ααααααΆαααΆα
αααΎαααΌα
ααΆααΆαααααΎααααΆαααααααααααααΆααααΈα ααΆαααααΆααααααΌαααΈαααααααΆα
αααΆααα
ααΆαααααΆααΆααα ααΆαα·αα·αα αα·αααααΏααΆααααΆααααΆαααααααααααΆαααααααααΆααΆααααααα·ααααααΆααααα’ααααααααααααααααΆααααααα", "hyp": "ααΆααΆααααααααΆααααααα·ααα αα·ααααααΆαααΆα
αααΎα ααΌα
ααΆααΆαααααΎααααΆαααααααααααααααΈα ααΆαααααΆααααααΌαααΈααααα
ααΆαα
ααΆααααααΆααΆαααααΆαα·αα·αα αα·αααααΏααΆααααΆααααΆααααααααα ααΆαααααααααΆααΆααααααα·ααααααΆααααα’ααααααααααααααααΆααααααα" "hyp": "ααΆααΆααααααααΆααααΆαα α·α αα·ααααααΆαααΆα
αααΎα ααΌα
ααΆααΆαααααΎααααΆαααααααααααααΆααααΈα ααΆαααααΆααααααΌααΌααΈαααααΆααααΆααα
ααΆααααααΆααΆαααααΆαα·αα·αα αα·αααααΏααΆααααΆααααΆααααααααα ααΆαααααααααΆααΆααααααα·ααααααΆααααα’ααααααααααααααααΆααααααα" }, { "ref": "ααΆαααΆαααΎα α¬ααααα entinel ange ααΆααααααααααααΆαααααααααΈαα’ααααΆαααα·α ααΊαααα inson assif αααααΆαααααΌααααααα 4892 αααααα αααα ount inson", "hyp": "ααΆαααΆαααΎαα¬ααααα entiner ing ααΆααααααααααααΆαααααααααΈαα’ααααΆαααα·α ααΊαααα αiαson ααΆααiα α αααααΆαααααΌααααααα 4892 αααααα ααααααΆα ααΈαααΉα " "hyp": "ααΆαααΆαααΎαα¬αααααα α·αtinel ain ααΆααααααααααααΆαααααααααΈαα’ααααΆαααα·α ααΊαααα αααoα αααΆααΈα α en isif αααααΆαααααααααααα 4892 αααααααααααααΆαααΈαααΉα onn" } ] }, "fleurs_km_test": { "cer": 0.11397785977859778, "cer": 0.10195325953259532, "n": 771, "rtf": 0.002693553230811693, "rtf": 0.002761127818966399, "examples": [ { "ref": "ααα»ααααα½αα
ααα½ααα·αααΆ ααΆαααα·ααΆαααααΌα ααα»ααααααα»αααααΆα
αααΎαααΏααΆααΆαααα·ααΆααα·αααααΌααα ααΆααααΆααααααααααααα’αΆαα·ααα ααααΎααααΎααα·ααα»ααα·ααααααΈ αα½αααΆααααααα’αΆαα·ααα αα·αααααΆαααααααααααα", "hyp": "ααα»ααααα½αα
ααα½ααα·αααΆ αα»ααα»ααΈααααΌα ααα»ααααααα»αααααΆα
αααΎαααΏααΆ ααΌαα»ααΈαα·αααααΌααα ααΆααααΆααααααααααααα’αΆαα·αααααααΎααααΎααα·ααα»ααα·ααααααΈ αα½αααΆααααααα’αΆαα·ααα αα·αααααΆαααααααααααα" "hyp": "ααα»ααααα½αα
ααα½ααα·αααΆ αα»ααα·α’αΈααααΌα ααα»ααααααα»αααααΆααααΎαααΏααΆ αα»αααΆα’ααΈαααααααΌααα αα»αααΆ ααααααααααααα’αΆαα·αααααααΎααααΎααα·αααΆαα·ααααααΈ αα½αααΆααααααα’αΆαα·αααααΉαααααΆαααααααααααα" }, { "ref": "ααααΎααα
ααΎααααααα’αααααΉαααΆαααααα·ααααααΆαα½αααΉααααααΆααααΆααααα
αααααΉαα’αΆα
ααΉαααΆαα»αααΆα αα½α
αααααΎαααΆαααααα½ααααααα", "hyp": "ααααΎααα
ααΎααααααα’αααααΉαααΆαααααΆααα·ααααααΆαα½αααΌααααααΆααααΆααααα
αααααΉαα’αΆα
ααΉαααΆαα»αααΆα αα½α
αααααΎαααΆαααααα½ααααααα" "hyp": "ααααΎααα
ααΎααααααα’αααααΉαααΆαααααα·ααααααΆαα½αααΉααααααΆααααΆααααα
αααααΉαα’αΆα
ααΉαααΆαα»αααΆα αα½α
αααααΎαααΆαααααα½ααααααα" }, { "ref": "ααΈαααα»ααααααααΆααΌαααααΆαααΎααααΈα‘αΎαααααααααΎα yiragongo αα½αααΆαα½αααΉαααΆαααΆαountain orilla αααααΆααααααααααααα»ααα
α’αΆα ααααα·α", "hyp": "ααΈαααα»ααααααααΆααΌαααααΆαααΎααααΈα‘αΎαααααααααΎα αααααΆααααΌ αα½αααΆαα½αααΉαααΆαααΆα ααααααα ααΌααΈα‘αΆ ls αααααΆαααααααααααα»ααα
α’αΆα ααααα·α" "hyp": "ααΈαααα»ααααααααΆααΌαααααΆαααΎααααΈα‘αΎαααααααααΎα αααααΆαααΌαααΌ o enonco αα½αααΆαα½αααΉαααΆαααΆα αααααααααΌαeα‘αΆ no αααααΆααααααααααααα»ααα
α’αΆα αααααα·α" } ] }, "fleurs_en_dev": { "cer": 0.08005514253360248, "cer": 0.07515631923588204, "n": 394, "wer": 0.2121286520991898, "rtf": 0.0025477642716881673, "wer": 0.1964154186103609, "rtf": 0.0026200285594094146, "examples": [ { "ref": "when you call someone who is thousands of miles away you are using a satellite",1 unmodified line }, { "ref": "now widely available throughout the archipelago javanese cuisine features an array of simply seasoned dishes the predominant flavorings the javanese favor being peanuts chillies sugar especially javanese coconut sugar and various aromatic spices", "hyp": "now widely available throughout the archiplago japhanese cuisines features in a ray of simply season dishes the predominant flavorings the japanese favor being penuth chillis sugar especially japhanese coconut sugar and various aromatic spices" "hyp": "now widely available throughout the archi polago japanese quisines features and array of simply season dishes the predominant flavorings the japanese favor being pinuch chilles sugar especially japanese coconut sugar and various aromatic spices" }, { "ref": "the un also hopes to finalize a fund to help countries affected by global warming to cope with the impacts", "hyp": "the un also hopes to finalize a fund to help countries affected by global warming to cope with the impacts" "hyp": "the un also hopes to finalize a fund to help countries affected by global waring to cope with the impext" } ] }, "fleurs_en_test": { "cer": 0.0755862855513579, "cer": 0.06897141635184262, "n": 647, "wer": 0.19248466257668712, "rtf": 0.0024945803598843365, "wer": 0.1815393195761294, "rtf": 0.0025715354157795985, "examples": [ { "ref": "however due to the slow communication channels styles in the west could lag behind by 25 to 30 year", "hyp": "however due to the slow communication channels styles in the west could lag behind by 25 -30 years" "hyp": "however due to the slow communication channels styles in the west could lag behind by 25 t-30 years" }, { "ref": "all nouns alongside the word sie for you always begin with a capital letter even in the middle of a sentence", "hyp": "all nowns alongside the world say for you always begin with a capital letter even in the middle of a sente" "hyp": "all nows alongside the world say for you always begin with a capital letter even in the middle of a sentence" }, { "ref": "to the north and within easy reach is the romantic and fascinating town of sintra and which was made famous to foreigners after a glowing account of its splendours recorded by lord byron", "hyp": "to the north and within easy reach as tha romantic and fastinating town of cintra and which was made famous to foreigners after a glowing account of hexplengureis recorded by lord byron" "hyp": "to the north and with an easy reach is a romantic and fascinating town of centra and which was made famous to foreigners after a glowing account of its splensurous recorded by lord byron" } ] }, "libri_dev_clean": { "cer": 0.019471441182309288, "cer": 0.017887538700017316, "n": 2703, "wer": 0.059648542333002465, "rtf": 0.0024097869451522305, "wer": 0.05422594757545678, "rtf": 0.002492786603085464, "examples": [ { "ref": "mister quilter is the apostle of the middle classes and we are glad to welcome his gospel", "hyp": "mister quilter is the apostle of the middle classes and we are glad to welcome his gospel" "hyp": "mister qilter is the apostle of the middle classes and we are glad to welcome his gospel" }, { "ref": "nor is mister quilter's manner less interesting than his matter",1 unmodified line }, { "ref": "he tells us that at this festive season of the year with christmas and roast beef looming before us similes drawn from eating and its results occur most readily to the mind", "hyp": "he tells us that at this festive season of the year with christmus and rost beef looming before us symily is drawn from eating and its results occur most readily to the mind" "hyp": "he tells us that at this festive season of the year with christmans and rost beef looming before us similes drawn from eating and its results occur most readily to the mind" } ] }, "libri_test_clean": { "cer": 0.01943223332498467, "cer": 0.01724718664444195, "n": 2620, "wer": 0.0607311320754717, "rtf": 0.0024275556567816365, "wer": 0.05443548387096774, "rtf": 0.0025105540605550674, "examples": [ { "ref": "he hoped there would be stew for dinner turnips and carrots and bruised potatoes and fat mutton pieces to be ladled out in thick peppered flour fattened sauce", "hyp": "he hoped there would be stew for dinner turnips and carrots and bruised potatoes and fat mutton pieces to be ladled out in thick peppered flower fatten sauce" "hyp": "he hoped there would be stew for dinner turnips and carrots and bruised potatoes and fat mutton pieces to be ladled out in thick peppered flouer fatten sauce" }, { "ref": "stuff it into you his belly counselled him", "hyp": "stuffeit into you his belly councelled him" "hyp": "stuffered into you his belly councelled him" }, { "ref": "after early nightfall the yellow lamps would light up here and there the squalid quarter of the brothels", "hyp": "after early night fall the yellow lamps would light up here and there the squalid quarter of the braffles" "hyp": "after early nightfall the yellow lamps would light up here and there the squalid quarter of the broffles" } ] }, "libri_test_other": { "cer": 0.06964280917288251, "cer": 0.05201608209389579, "n": 2939, "wer": 0.1672812028351451, "rtf": 0.0023894908624727414, "wer": 0.12977857593183426, "rtf": 0.002462531016490542, "examples": [ { "ref": "there's iron they say in all our blood and a grain or two perhaps is good but his he makes me harshly feel has got a little too much of steel anon", "hyp": "the's i and they say in all our blood and a gran too perhaps is good but his he makes me harshly feel has got a little too much of steel anon" "hyp": "there's iron they say in all our blood and a grain or two perhaps is good but his he makes me harshly feel has got a little too much of steel anon" }, { "ref": "margaret said mister hale as he returned from showing his guest downstairs i could not help watching your face with some anxiety when mister thornton made his confession of having been a shop boy", "hyp": "margaret said mister hal as he returned from showing his guis downstairs i could not help watching your face with some anxiety when mister thawnton made his confission of having been a shop boy" "hyp": "margaret said mister hale as he returned from showing his guest downstairs i could not help watching your face with some anxiety when mister thornton made his confession of having been a shop boy" }, { "ref": "you don't mean that you thought me so silly",1223456789910111112131415151617181 unmodified line2021222323242526272828293030313233343435363738383940412 unmodified lines44454647474849495051525353545556575758596061616263646566666768686970717272737475767677787980808182838485858687888788899091929293949596969798991001001011021031041051051061071081071081091101111121121131141151161161171181191201201211221231241251251261271281271281291301315 unmodified lines137138139140140141142143144145145146147148147148149150151152152153154155156156157158159160160161162163164165165166167168167168169170171172172173174175176176177178179{ "ckpt": "runs/ftfirst/stage1_finetune/teacher.pt", "ckpt": "runs/large_v2/stage1_finetune/teacher.pt", "params_total": 975065300, "params_encoder": 962496128.0, "gmacs_per_audio_second": 50.277134336, "dtype": "bf16", "results": { "ddd_dev": { "cer": 0.033986958765304685, "cer": 0.01648918703382277, "n": 400, "rtf": 0.006292361957186866, "rtf": 0.006265780974676139, "examples": [ { "ref": "ααα
αΆααα’αΆααΆααα·ααααααααααΎαααΎαααααΏααααα αΆαα·ααααααΆααα»αααΆαααααα αα·αααΆααααααααΆααααααααα’αΆααααα»α", "hyp": "ααα
αΆααα’αΆααΆαααα·ααααααααααΎαααΎαααααΏααααα αΆααΉααααααΆααα»αααΆαααααα αα·αααΆααααααααΆααααααααα’αΆααααα»α" "hyp": "ααα
αΆααα’αΆααΆααα·ααααααααααΎαααΎαααααΏααααα αΆαα·ααααααΆααα»αααΆαααααα αα·αααΆααααααααΆααααααααα’αΆααααα»α" }, { "ref": "ααααΆααααααααα’αΆααΆαα·ααααΆααΆαααααααΎαααΎαααΆααα
ααααααα αα·αααΆαααααα ααΆααααααααα·ααααα½αα
ααα½ααααααααΎα±ααααΆααα
αααα",1 unmodified line }, { "ref": "αα½αααααααΆαααααΏααΎαα·ααααΆαααααααΆαα· αα·αααΆααα·ααΈααΌααΆααααΈ αα·ααααα
α·ααα
αΉαααααΈ ααΆαααααΎα
ααααΆαααΆα ααα αα·αααααΆαααααα ααααΆααααααα½αααααΈαααΆααααααα½αααααα", "hyp": "αα½αααααααΆαααααΏααΎαα·ααααΆαααααααΆαα· αα·αααΆααα·ααΈααΌααΆααααΈ αα·ααααα
α·ααα
αΉαααααΈ ααΆαααααΎα
ααααΆαααΆα ααα αα·αααααΆαααααα ααααΆααααααα½αααααΈαααΆααααααα½αααααα" "hyp": "αα½αααααααΆαααααΏααΎαα·ααααΆαααααααΆαα· αα·αααΆααα·ααΈααΌααΆααααΈ αα·ααααα
α·ααα
αΉαααααΈ ααΆαααααΎα
ααααΆαααΆα ααα αα·αααααΆαααααα ααααΆααααααα½αααααΈαααΆααααααα½αααααα" } ] }, "ddd_test": { "cer": 0.024715486779578407, "cer": 0.012194468136956257, "n": 1993, "rtf": 0.0059981543289738416, "rtf": 0.005987955577698407, "examples": [ { "ref": "αααα
αααααΌαααΆαα·αααα ααααα½ααααα»αα
αααΆααααααα²ααααΆαααααααααααααΆ ααΆαααΆαααΆααααααΆαα αα·ααααααΆααααααααααααΆαα’αΆα αΆαα²ααααΆααα»αααΆαααα’", "hyp": "αααα
αααααΌαααΆαα·αααα ααααα½ααααα»αα
αααΆαααααα±ααααΆαααααααααααααΆ ααΆαααΆαααΆαααααΆαα αα·ααααααΆααααααααααααΆαα’αΆα αΆαα±ααααΆααα»αααΆαααα’" "hyp": "αααα
αααααΌαααΆαα·αααα ααααα½ααααα»αα
αααΆααααααα±ααααΆαααααααααααααΆ ααΆαααΆαααΆααααααΆαα αα·ααααααΆααααααααααααΆαα’αΆα αΆαα±ααααΆααα»αααΆαααα’" }, { "ref": "ααΆααααααα αααα·αααΌααα½αα²αααααααααΆααΆααααΆααααααααΎα α αΎαααααΉαααΎααααα½αααααααααΌααααα·ααααα’αΌααααα αΎαααααα", "hyp": "ααΆααααααααααα·αααΌααα½αα±αααααααααααΆαααΆαααΆααααααααΎα α αΎαααααΉαααΎααααα½αααααααααΌααααα·ααααα’αΌααααα αΎαααααα" "hyp": "ααΆααααααααααα·αααΌααα½αα±αααααααααΆααΆαααΆααααααααΎα α αΎαααααΉαααΎααααοΏ½οΏ½οΏ½αααααααααΌααααα·ααααα’αΌααααα αΎαααααα" }, { "ref": "ααΉααααα
ααΆαααααΆαααΆαααααααααααααα·αααα½α αααα»αα
ααααα’ααααααααα
α·ααααα»αααΆααααΎαα»αααΆα αα·ααααααααααααααααααααΆααα»αααααααααααααα",2 unmodified lines ] }, "fleurs_km_dev": { "cer": 0.08833827748869329, "cer": 0.07246024412780236, "n": 326, "rtf": 0.006745861517385598, "rtf": 0.006750054386283379, "examples": [ { "ref": "ααΆαααΎαα‘αΎαααααααααααΆααααΊαααααααα½αα₯αααα·ααααααααααααyzantine αα
ααΆαααΆαααΎα", "hyp": "ααΆαααΎαα‘αΎαααααααααααΆααααΊαααααααα½αα₯αααα·ααααααααααααααααΆααΈα αα
ααΆαααΆαααΎα" "hyp": "ααΆαααΆαα‘αΎαααααααααααΆααααΊαααααααα½αα₯αααα·αααααααααααααααααΆααααΈα a eie αα
ααΆαααΆαααΎα" }, { "ref": "ααΆααΆααααααααΆααααααααα·ααααααΆαααΆα
αααΎαααΌα
ααΆααΆαααααΎααααΆαααααααααααααΆααααΈα ααΆαααααΆααααααΌαααΈαααααααΆα
αααΆααα
ααΆαααααΆααΆααα ααΆαα·αα·αα αα·αααααΏααΆααααΆααααΆαααααααααααΆαααααααααΆααΆααααααα·ααααααΆααααα’ααααααααααααααααΆααααααα", "hyp": "ααΆααΆααααααααΆααααααααα·ααααααΆαααΆα
αααΎα ααΌα
ααΆααΆαααααΎααααΆαααααααααααααΆααααΈα ααΆαααααΆααααααΌαα§ααΆαααααααα·αααΆαααααΆααααααΆααΆαααααΆαα·αα·αα αα·αααααΏααΆααααΆααααΆαααααααααααΆαααααααααΆααΆααααα αα·ααααααΆααααα’ααααααααααααααααΆααααααα" "hyp": "ααΆααΆααααααααΆααααααα αα·ααααααΆαααΆα
αααΎα ααΌα
ααΆααΆαααααΎααααΆαααααααααααααΆααααΈα ααΆαααααΆααααΌαααΈααααααα·αααΆα αα
ααΆααααααΆααΆαααααΆαα·αα·αα αα·αααααΏααΆααααΆααααΆαααααααααααΆαααααααααΆααΆααααα αα·ααααααΆααααα’ααααααααααααααααΆααααααα" }, { "ref": "ααΆαααΆαααΎα α¬ααααα entinel ange ααΆααααααααααααΆαααααααααΈαα’ααααΆαααα·α ααΊαααα inson assif αααααΆαααααΌααααααα 4892 αααααα αααα ount inson", "hyp": "ααΆαααΆαααΎα α¬ααααα entinel ring ααΆααααααααααααΆαααααααααΈαα’ααααΆαααα·α ααΊαααα iαson αasααΈf αααααΆαααααΌααααααα 4892 αααααα ααααααΆn iαsα·α" "hyp": "ααΆαααΆαααΎαα¬ααααα αtαΈnel ing ααΆααααααααααααΆαααααααααΈαα’ααααΆαααα·α
ααΊαααα αinson asαΈf αααααΆαααααΌααααααα 4892 αααααααααα an αinsoα hn" } ] }, "fleurs_km_test": { "cer": 0.09440590405904059, "cer": 0.0776580565805658, "n": 771, "rtf": 0.0066833982391532555, "rtf": 0.0066863072571369826, "examples": [ { "ref": "ααα»ααααα½αα
ααα½ααα·αααΆ ααΆαααα·ααΆαααααΌα ααα»ααααααα»αααααΆα
αααΎαααΏααΆααΆαααα·ααΆααα·αααααΌααα ααΆααααΆααααααααααααα’αΆαα·ααα ααααΎααααΎααα·ααα»ααα·ααααααΈ αα½αααΆααααααα’αΆαα·ααα αα·αααααΆαααααααααααα", "hyp": "ααα»ααααα½αα
ααα½ααα·αααΆ ααα·ααΆαααααΌα ααα»ααααααα»αααααΆα
αααΎαααΏααΆααα·ααΆααα·αααααΌααα ααΆααααΆααααααααααααα’αΆαα·αααααααΎααααΎααα·ααα»ααα·ααααααΈ αα½αααΆααααααα’αΆαα·αααααΉαααααΆαααα’αααααααααα" "hyp": "ααα»ααααα½αα
ααα½ααα·αααΆ ααΆαααα·ααΆαααααΌα ααα»ααααααα»αααααΆα
αααΎαααΏααΆ ααΆααα·ααΆααα·αααααΌααα ααΆααααΆααααααααααααα’αΆαα·αααααααΎααααΎααα·ααα»ααα·ααααααΈ αα½αααΆααααααα’αΆαα·αααααΉαααααΆααααα’αααααααααα" }, { "ref": "ααααΎααα
ααΎααααααα’αααααΉαααΆαααααα·ααααααΆαα½αααΉααααααΆααααΆααααα
αααααΉαα’αΆα
ααΉαααΆαα»αααΆα αα½α
αααααΎαααΆαααααα½ααααααα", "hyp": "ααααΎα αα
ααΎααααααα’αααααΉαααΆαααααΆαααααααΆαα½αααΉααααααΆααααΆααααα
αααααΉαα’αΆα
ααΉαααΆαα»αααΆα αα½α
αααααΎαααΆαααααα½ααααααα" "hyp": "ααααΎααα
ααΎααααααα’αααααΉαααΆαααααα·ααααααΆαα½αααΉααααααΆααααΆααααα
αααααΉαα’αΆα
ααΉαααΆαα»αααΆα αα½α
αααααΎαααΆαααααα½ααααααα" }, { "ref": "ααΈαααα»ααααααααΆααΌαααααΆαααΎααααΈα‘αΎαααααααααΎα yiragongo αα½αααΆαα½αααΉαααΆαααΆαountain orilla αααααΆααααααααααααα»ααα
α’αΆα ααααα·α", "hyp": "ααΈαααα»ααααααααΆααΌαααααΆαααΎααααΈα‘αΎαααααααααΎα ααΈαααΆαoαααΌ αα½αααΆαα½αααΉαααΆαααΆ ountan ααΌrαΈα‘αΆ αααααΆαααααααααααα»ααα
α’αΆα ααααα·α" "hyp": "ααΈαααα»ααααααααΆααΌαααααΆαααΎααααΈα‘αΎαααααααααΎα ααΈαααΆα ααααα a rnncu αα½αααΆαα½αααΉαααΆαααΆα αααααααααΌααΈα‘αΆ el αααααΆαααααααααααα»ααα
α’αΆα ααααα·α" } ] }, "fleurs_en_dev": { "cer": 0.05019447589975875, "cer": 0.05206538328984294, "n": 394, "wer": 0.1367542352074638, "rtf": 0.00638872020448837, "wer": 0.13835011048367296, "rtf": 0.0063933548020967245, "examples": [ { "ref": "when you call someone who is thousands of miles away you are using a satellite", "hyp": "when you call someone who has thousands of miles away you are using a satellite" "hyp": "when you call someone who is thousands of miles away you are using a satellite" }, { "ref": "now widely available throughout the archipelago javanese cuisine features an array of simply seasoned dishes the predominant flavorings the javanese favor being peanuts chillies sugar especially javanese coconut sugar and various aromatic spices", "hyp": "now widely available throughout the archipelago japanese quisines features an array of simply season dishes the predominant flavorings the japanese favor being pinat chiles sugar especially japanese cocoanut sugar and various aromatic spices" "hyp": "now widely available throughout the archipelago japhanese cuisines features an array of simply season dishes the predominant flavorings the japhanese favor being penuch chile's sugar especially japhanese coconut sugar and various aromatic spices" }, { "ref": "the un also hopes to finalize a fund to help countries affected by global warming to cope with the impacts", "hyp": "the un also hopes to finalize a fund to help countries affected by global warming to cope with the impacts" "hyp": "the un also hopes to finalise a fund to help countries affected by global warning to cope with the impacts" } ] }, "fleurs_en_test": { "cer": 0.043481360039917316, "cer": 0.04352412859077625, "n": 647, "wer": 0.11942275515895148, "rtf": 0.0062595013694743485, "wer": 0.12011991076408254, "rtf": 0.006264100180542774, "examples": [ { "ref": "however due to the slow communication channels styles in the west could lag behind by 25 to 30 year", "hyp": "however due to the slow communication channels styles in the west could lag behind by 25to 30 years" "hyp": "however due to the slow communication channels styles in the west could lag behind by 25 -30 years" }, { "ref": "all nouns alongside the word sie for you always begin with a capital letter even in the middle of a sentence", "hyp": "all nowns alongside the world say for you always begin with a capital letter even in the middle of a sentence" "hyp": "all nnowns alongside the world's sake for you always begin with a capital letter even in the middle of a sentence" }, { "ref": "to the north and within easy reach is the romantic and fascinating town of sintra and which was made famous to foreigners after a glowing account of its splendours recorded by lord byron", "hyp": "to the north and within easy reach is the romantic and fascinating town of cintra and which was made famous to foreigners after a glowing account of its splenduress recorded by lord byron" "hyp": "to the north and within easy reach is the romantic and fascinating town of cintra and which was made famous to foreigners after a glowing account of its splindoress recorded by lord byron" } ] }, "libri_dev_clean": { "cer": 0.01169131218929113, "cer": 0.011273161933966049, "n": 2703, "wer": 0.03722289621705084, "rtf": 0.006076880907681458, "wer": 0.0363773390684166, "rtf": 0.006080133378545339, "examples": [ { "ref": "mister quilter is the apostle of the middle classes and we are glad to welcome his gospel",5 unmodified lines }, { "ref": "he tells us that at this festive season of the year with christmas and roast beef looming before us similes drawn from eating and its results occur most readily to the mind", "hyp": "he tells us that at this festive season of the year with christmas and rose beef looming before us similees drawn from eating and its results occur most readily to the mind" "hyp": "he tells us that at this festive season of the year with christmas and roase beef looming before us similees drawn from eating and its results occur most readily to the mind" } ] }, "libri_test_clean": { "cer": 0.011085009543385699, "cer": 0.010579771476936098, "n": 2620, "wer": 0.03610012172854534, "rtf": 0.006125383591282291, "wer": 0.03543441874619598, "rtf": 0.006128356199906279, "examples": [ { "ref": "he hoped there would be stew for dinner turnips and carrots and bruised potatoes and fat mutton pieces to be ladled out in thick peppered flour fattened sauce", "hyp": "he hoped there would be stew for dinner turnips and carrots and bruised potatoes and fat mutton pieces to be ladled out in thick peppered flower fattened sauce" "hyp": "he hoped there would be stew for dinner turnips and carrots and bruised potatoes and fat mutton pieces to be ladled out in thick peppered flouer fattened sauce" }, { "ref": "stuff it into you his belly counselled him", "hyp": "stuff it into you his belly counselled him" "hyp": "stuff erd into you his belly counselled him" }, { "ref": "after early nightfall the yellow lamps would light up here and there the squalid quarter of the brothels", "hyp": "after early nightfall the yellow lamps would light up here and there the squalid quarter of the broffles" "hyp": "after early nightfall the yellow lamps would light up here and there the squalid quarter of the brawfls" } ] }, "libri_test_other": { "cer": 0.030955344430813866, "cer": 0.029527118386059797, "n": 2939, "wer": 0.082093116558088, "rtf": 0.006014662979128097, "wer": 0.07960949888237205, "rtf": 0.00601734317134817, "examples": [ { "ref": "there's iron they say in all our blood and a grain or two perhaps is good but his he makes me harshly feel has got a little too much of steel anon", "hyp": "there's iron they say in all our blood and a grain or two perhaps is good but his he makes me harshly feel has got a little too much of steel anon" "hyp": "there ziron they say in all our blood and a grain or two perhaps is good but his he makes me harshly feel has got a little too much of steel anon" }, { "ref": "margaret said mister hale as he returned from showing his guest downstairs i could not help watching your face with some anxiety when mister thornton made his confession of having been a shop boy", "hyp": "margaret said mister hell as he returned from showing his guest downstairs i could not help watching your face with some anxiety when mister thornton made his confession of having been a shop boy" "hyp": "margaret said mister hale as he returned from showing his guest downstairs i could not help watching your face with some anxiety when mister thornton made his confession of having been a shop boy" }, { "ref": "you don't mean that you thought me so silly",12323version https://git-lfs.github.com/spec/v1oid sha256:0c8b001414badd5391d0e8576b33e8d8d1b16401a8e80cf4c381b40b1d76ea78size 814456828oid sha256:b08248a3c51b325cf663529fb99279dd99cace2953f3a2206c0e9b70f5a721c1size 868809900README.md+14-13
assets/architecture.png

Large File Pointer Details
- SHA256: bea2d6e3deccc0826b9c7008550498070f38dddd6c888be9e7fa6155ca2cf061
- Pointer size: 131 Bytes
- Size of remote file: 580 kB

Large File Pointer Details
- SHA256: b0eb21de3749167cfbedf3014d9748369984628247d8d93ca224ea575b2f0ee7
- Pointer size: 131 Bytes
- Size of remote file: 572 kB
assets/inference_time.png


assets/pruning.png

Large File Pointer Details
- SHA256: 152b5c68b482d0b993dd0e81152330b3a406203c408b7c334aa136c1e2290b6e
- Pointer size: 131 Bytes
- Size of remote file: 200 kB

Large File Pointer Details
- SHA256: fda9ff290db4f4c2a9dcff78d0a17debf7a72cb918c755c4385dce23f27e8847
- Pointer size: 131 Bytes
- Size of remote file: 197 kB
config.json+67-67
eval/inference_time.json+8-8
eval/large.json+47-47
eval/large_teacher.json+46-46
model.safetensors+2-2