Retrieve0 commited on
Commit
8c5d282
·
verified ·
1 Parent(s): 4db26d2

Add train-clean-100 decoder

Browse files
.gitattributes CHANGED
@@ -35,3 +35,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
  decoder-exl3-3bpw/tokenizer.json filter=lfs diff=lfs merge=lfs -text
37
  decoder-exl3-4bpw/tokenizer.json filter=lfs diff=lfs merge=lfs -text
 
 
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
  decoder-exl3-3bpw/tokenizer.json filter=lfs diff=lfs merge=lfs -text
37
  decoder-exl3-4bpw/tokenizer.json filter=lfs diff=lfs merge=lfs -text
38
+ decoder-exl3-3bpw-train-clean-100/tokenizer.json filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -27,11 +27,20 @@ EXL3 quantized text-decoder weights derived from [Qwen/Qwen3-ASR-0.6B-hf](https:
27
 
28
  | Variant | Use |
29
  | --- | --- |
30
- | `decoder-exl3-3bpw` | Lower memory use |
31
- | `decoder-exl3-4bpw` | Higher-precision alternative |
 
32
 
33
  Each variant includes EXL3 `model.safetensors`, tokenizer files, model and generation configuration, and quantization configuration.
34
 
 
 
 
 
 
 
 
 
35
  ### Requirements
36
 
37
  - NVIDIA GPU and CUDA
@@ -64,11 +73,20 @@ These weights are derived from `Qwen/Qwen3-ASR-0.6B-hf` and are published under
64
 
65
  | 版本 | 用途 |
66
  | --- | --- |
67
- | `decoder-exl3-3bpw` | 显存占用较低 |
68
- | `decoder-exl3-4bpw` | 精度较高的替代版本 |
 
69
 
70
  每个版本包含 EXL3 `model.safetensors`、tokenizer、模型与生成配置以及量化配置。
71
 
 
 
 
 
 
 
 
 
72
  ### 运行要求
73
 
74
  - NVIDIA GPU 与 CUDA
 
27
 
28
  | Variant | Use |
29
  | --- | --- |
30
+ | `decoder-exl3-3bpw` | Legacy 3 bpw export |
31
+ | `decoder-exl3-4bpw` | Legacy 4 bpw export |
32
+ | [`decoder-exl3-3bpw-train-clean-100`](https://huggingface.co/Retrieve0/Qwen3-ASR-0.6B-EXL3-Decoder/tree/main/decoder-exl3-3bpw-train-clean-100) | Separately calibrated 3 bpw export |
33
 
34
  Each variant includes EXL3 `model.safetensors`, tokenizer files, model and generation configuration, and quantization configuration.
35
 
36
+ ### Calibration
37
+
38
+ The existing `decoder-exl3-3bpw` and `decoder-exl3-4bpw` files are legacy exports. Their quantization metadata records 250 rows of 2,048 tokens but does not identify the calibration corpus.
39
+
40
+ The separately published `decoder-exl3-3bpw-train-clean-100` directory contains the new 3 bpw export. Its calibration tensor contains 200 packed rows of 2,048 tokens, built from 1,603 paired audio requests and transcripts in LibriSpeech `train-clean-100`. No `test-clean` samples were used. Calibration changes quantization statistics; it is not fine-tuning.
41
+
42
+ On all 2,620 LibriSpeech `test-clean` utterances, the new variant measured 2.5715% WER and 105.39 ms median latency, compared with 2.9029% and 103.69 ms for the legacy 3 bpw file. Each variant was run once; timings are not repeated-run averages.
43
+
44
  ### Requirements
45
 
46
  - NVIDIA GPU and CUDA
 
73
 
74
  | 版本 | 用途 |
75
  | --- | --- |
76
+ | `decoder-exl3-3bpw` | 旧版 3 bpw 权重 |
77
+ | `decoder-exl3-4bpw` | 旧版 4 bpw 权重 |
78
+ | [`decoder-exl3-3bpw-train-clean-100`](https://huggingface.co/Retrieve0/Qwen3-ASR-0.6B-EXL3-Decoder/tree/main/decoder-exl3-3bpw-train-clean-100) | 单独校准的新版 3 bpw 权重 |
79
 
80
  每个版本包含 EXL3 `model.safetensors`、tokenizer、模型与生成配置以及量化配置。
81
 
82
+ ### 校准数据
83
+
84
+ 现有的 `decoder-exl3-3bpw` 和 `decoder-exl3-4bpw` 是旧版权重。量化配置记录了 250 行、每行 2,048 个 token,但未注明校准语料来源。
85
+
86
+ 独立目录 `decoder-exl3-3bpw-train-clean-100` 中保存新版 3 bpw 权重。校准张量由 LibriSpeech `train-clean-100` 的 1,603 组音频请求和转写文本打包为 200 行,每行 2,048 个 token。校准未使用 `test-clean` 样本。校准会影响量化统计,不会微调模型。
87
+
88
+ 在全部 2,620 条 LibriSpeech `test-clean` 音频上,新版 WER 为 2.5715%,中位延迟为 105.39 ms;旧版 3 bpw 分别为 2.9029% 和 103.69 ms。每个版本只运行了一次,延迟不是多轮平均值。
89
+
90
  ### 运行要求
91
 
92
  - NVIDIA GPU 与 CUDA
decoder-exl3-3bpw-train-clean-100/README.md ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: Qwen/Qwen3-ASR-0.6B-hf
4
+ library_name: exllamav3
5
+ pipeline_tag: automatic-speech-recognition
6
+ tags:
7
+ - qwen3-asr
8
+ - exll3
9
+ - exllamav3
10
+ - quantized
11
+ - 3bpw
12
+ - train-clean-100
13
+ ---
14
+
15
+ <p align="center">
16
+ <a href="https://github.com/lost0427/Qwen3-ASR-TensorRT"><img src="https://img.shields.io/badge/GitHub-source-181717?logo=github" alt="GitHub source"></a>
17
+ <a href="https://huggingface.co/Retrieve0/Qwen3-ASR-0.6B-EXL3-Decoder/tree/main/decoder-exl3-3bpw-train-clean-100"><img src="https://img.shields.io/badge/Hugging_Face-new%203%20bpw-yellow?logo=huggingface" alt="Hugging Face model"></a>
18
+ </p>
19
+
20
+ # Qwen3-ASR 0.6B EXL3 3 bpw Decoder (train-clean-100)
21
+
22
+ ## English
23
+
24
+ This is a separately calibrated 3 bpw decoder variant derived from [Qwen/Qwen3-ASR-0.6B-hf](https://huggingface.co/Qwen/Qwen3-ASR-0.6B-hf). It is published in a new directory in the existing [0.6B decoder repository](https://huggingface.co/Retrieve0/Qwen3-ASR-0.6B-EXL3-Decoder). The legacy `decoder-exl3-3bpw` and `decoder-exl3-4bpw` files remain unchanged.
25
+
26
+ ### Calibration
27
+
28
+ The EXL3 calibration tensor was generated from paired audio requests and transcripts in LibriSpeech `train-clean-100`: 1,603 pairs packed into 200 rows of 2,048 tokens. No `test-clean` samples were used. Calibration affects quantization statistics; it is not fine-tuning.
29
+
30
+ ### Benchmark
31
+
32
+ On all 2,620 LibriSpeech `test-clean` utterances, this variant measured 2.5715% corpus WER, 105.39 ms median latency, and 232.57 ms P90 latency. The legacy 3 bpw variant measured 2.9029% WER, 103.69 ms median, and 224.72 ms P90. Each variant was run once with the same TensorRT BF16 encoder and ExLlamaV3 decoder; latency is not a repeated-run average.
33
+
34
+ ### Requirements and usage
35
+
36
+ - NVIDIA GPU and CUDA
37
+ - ExLlamaV3 with compatible PyTorch and CUDA versions
38
+ - The [Qwen3-ASR-TensorRT repository](https://github.com/lost0427/Qwen3-ASR-TensorRT), which integrates the TensorRT encoder and EXL3 decoder
39
+
40
+ ```powershell
41
+ uv sync
42
+
43
+ uv run qwen3-asr --model Qwen/Qwen3-ASR-0.6B-hf transcribe .\audio.wav `
44
+ --backend tensorrt-exllama `
45
+ --decoder-dir .\decoder-exl3-3bpw-train-clean-100 `
46
+ --language Chinese
47
+ ```
48
+
49
+ These weights are derived from `Qwen/Qwen3-ASR-0.6B-hf` and are published under Apache-2.0. Retain the upstream attribution and license. ExLlamaV3 and runtime dependencies have their own licenses.
50
+
51
+ ## 中文
52
+
53
+ 这是基于 [Qwen/Qwen3-ASR-0.6B-hf](https://huggingface.co/Qwen/Qwen3-ASR-0.6B-hf) 重新校准的 3 bpw 文本解码器权重,单独保存在原有的 [0.6B decoder 仓库](https://huggingface.co/Retrieve0/Qwen3-ASR-0.6B-EXL3-Decoder)的新目录中。原来的 `decoder-exl3-3bpw` 和 `decoder-exl3-4bpw` 文件保持不变。
54
+
55
+ ### 校准数据
56
+
57
+ EXL3 校准张量来自 LibriSpeech `train-clean-100` 的音频请求与转写文本,共 1,603 组,打包为 200 行、每行 2,048 个 token。未使用 `test-clean` 样本。校准会影响量化统计,不会微调模型。
58
+
59
+ ### 评测结果
60
+
61
+ 在全部 2,620 条 LibriSpeech `test-clean` 音频上,本版本的 corpus WER 为 2.5715%,中位延迟为 105.39 ms,P90 为 232.57 ms。旧版 3 bpw 的 WER 为 2.9029%,中位延迟为 103.69 ms,P90 为 224.72 ms。两个版本均使用相同的 TensorRT BF16 encoder 和 ExLlamaV3 decoder,各运行一次;延迟不是多轮平均值。
62
+
63
+ ### 运行要求与使用
64
+
65
+ - NVIDIA GPU 与 CUDA
66
+ - 兼容的 ExLlamaV3、PyTorch 与 CUDA 版本
67
+ - [Qwen3-ASR-TensorRT 仓库](https://github.com/lost0427/Qwen3-ASR-TensorRT),其中集成了 TensorRT encoder 和 EXL3 decoder
68
+
69
+ ```powershell
70
+ uv sync
71
+
72
+ uv run qwen3-asr --model Qwen/Qwen3-ASR-0.6B-hf transcribe .\audio.wav `
73
+ --backend tensorrt-exllama `
74
+ --decoder-dir .\decoder-exl3-3bpw-train-clean-100 `
75
+ --language Chinese
76
+ ```
77
+
78
+ 这些权重基于 `Qwen/Qwen3-ASR-0.6B-hf`,以 Apache-2.0 发布。请保留上游归属和许可证说明。ExLlamaV3 与运行时依赖各自遵循其许可证。
decoder-exl3-3bpw-train-clean-100/config.json ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "attention_bias": false,
3
+ "attention_dropout": 0.0,
4
+ "bos_token_id": null,
5
+ "eos_token_id": [
6
+ 151643,
7
+ 151645
8
+ ],
9
+ "head_dim": 128,
10
+ "hidden_act": "silu",
11
+ "hidden_size": 1024,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 3072,
14
+ "layer_types": [
15
+ "full_attention",
16
+ "full_attention",
17
+ "full_attention",
18
+ "full_attention",
19
+ "full_attention",
20
+ "full_attention",
21
+ "full_attention",
22
+ "full_attention",
23
+ "full_attention",
24
+ "full_attention",
25
+ "full_attention",
26
+ "full_attention",
27
+ "full_attention",
28
+ "full_attention",
29
+ "full_attention",
30
+ "full_attention",
31
+ "full_attention",
32
+ "full_attention",
33
+ "full_attention",
34
+ "full_attention",
35
+ "full_attention",
36
+ "full_attention",
37
+ "full_attention",
38
+ "full_attention",
39
+ "full_attention",
40
+ "full_attention",
41
+ "full_attention",
42
+ "full_attention"
43
+ ],
44
+ "max_position_embeddings": 65536,
45
+ "max_window_layers": 28,
46
+ "model_type": "qwen3",
47
+ "num_attention_heads": 16,
48
+ "num_hidden_layers": 28,
49
+ "num_key_value_heads": 8,
50
+ "pad_token_id": 151645,
51
+ "rms_norm_eps": 1e-06,
52
+ "rope_parameters": {
53
+ "rope_theta": 1000000,
54
+ "rope_type": "default"
55
+ },
56
+ "sliding_window": null,
57
+ "tie_word_embeddings": false,
58
+ "use_cache": true,
59
+ "use_sliding_window": false,
60
+ "vocab_size": 151936,
61
+ "architectures": [
62
+ "Qwen3ForCausalLM"
63
+ ],
64
+ "quantization_config": {
65
+ "quant_method": "exl3",
66
+ "version": "1.6.6",
67
+ "bits": 3.0,
68
+ "head_bits": 6,
69
+ "calibration": {
70
+ "rows": 200,
71
+ "cols": 2048
72
+ },
73
+ "out_scales": "auto",
74
+ "codebook": "mul1"
75
+ }
76
+ }
decoder-exl3-3bpw-train-clean-100/generation_config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_sample": false,
3
+ "eos_token_id": [
4
+ 151643,
5
+ 151645
6
+ ],
7
+ "max_new_tokens": 512,
8
+ "pad_token_id": 151645,
9
+ "transformers_version": "5.13.0.dev0"
10
+ }
decoder-exl3-3bpw-train-clean-100/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6daeeec2f6f327e69e9d37520da695516ec20980fa878f07df052be4f3796e67
3
+ size 594798403
decoder-exl3-3bpw-train-clean-100/quantization_config.json ADDED
The diff for this file is too large to render. See raw diff
 
decoder-exl3-3bpw-train-clean-100/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fe1fad59be22a41ee293363fcf95fdedbc7c93f3b49270b1d2e18bd1399a7a05
3
+ size 11429653
decoder-exl3-3bpw-train-clean-100/tokenizer_config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "audio_bos_token": "<|audio_start|>",
4
+ "audio_eos_token": "<|audio_end|>",
5
+ "audio_token": "<|audio_pad|>",
6
+ "backend": "tokenizers",
7
+ "bos_token": null,
8
+ "clean_up_tokenization_spaces": false,
9
+ "eos_token": "<|im_end|>",
10
+ "errors": "replace",
11
+ "image_token": "<|image_pad|>",
12
+ "is_local": true,
13
+ "local_files_only": false,
14
+ "model_max_length": 131072,
15
+ "model_specific_special_tokens": {
16
+ "audio_bos_token": "<|audio_start|>",
17
+ "audio_eos_token": "<|audio_end|>",
18
+ "audio_token": "<|audio_pad|>",
19
+ "image_token": "<|image_pad|>",
20
+ "video_token": "<|video_pad|>",
21
+ "vision_bos_token": "<|vision_start|>",
22
+ "vision_eos_token": "<|vision_end|>"
23
+ },
24
+ "pad_token": "<|endoftext|>",
25
+ "processor_class": "Qwen3ASRProcessor",
26
+ "split_special_tokens": false,
27
+ "tokenizer_class": "Qwen2Tokenizer",
28
+ "unk_token": null,
29
+ "video_token": "<|video_pad|>",
30
+ "vision_bos_token": "<|vision_start|>",
31
+ "vision_eos_token": "<|vision_end|>"
32
+ }