Add Qwen3-ASR 0.6B EXL3 decoders
Browse filesFiles changed (14)
- .gitattributes+2
- README.mdAdded+94
- decoder-exl3-3bpw/config.jsonAdded+76
- decoder-exl3-3bpw/generation_config.jsonAdded+10
- decoder-exl3-3bpw/model.safetensorsAdded+3
- decoder-exl3-3bpw/quantization_config.jsonAdded
- decoder-exl3-3bpw/tokenizer.jsonAdded+3
- decoder-exl3-3bpw/tokenizer_config.jsonAdded+32
- decoder-exl3-4bpw/config.jsonAdded+76
- decoder-exl3-4bpw/generation_config.jsonAdded+10
- decoder-exl3-4bpw/model.safetensorsAdded+3
- decoder-exl3-4bpw/quantization_config.jsonAdded
- decoder-exl3-4bpw/tokenizer.jsonAdded+3
- decoder-exl3-4bpw/tokenizer_config.jsonAdded+32
32 unmodified lines33343532 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text32 unmodified lines333435363732 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textdecoder-exl3-3bpw/tokenizer.json filter=lfs diff=lfs merge=lfs -textdecoder-exl3-4bpw/tokenizer.json filter=lfs diff=lfs merge=lfs -text
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394---license: apache-2.0base_model: Qwen/Qwen3-ASR-0.6B-hflibrary_name: exllamav3pipeline_tag: automatic-speech-recognitiontags:- qwen3-asr- exll3- exllamav3- quantized- 3bpw- 4bpw---
<p align="center"> <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> <a href="https://huggingface.co/Retrieve0/Qwen3-ASR-0.6B-EXL3-Decoder"><img src="https://img.shields.io/badge/Hugging_Face-model-yellow?logo=huggingface" alt="Hugging Face model"></a></p>
# Qwen3-ASR 0.6B EXL3 Decoder
## English
EXL3 quantized text-decoder weights derived from [Qwen/Qwen3-ASR-0.6B-hf](https://huggingface.co/Qwen/Qwen3-ASR-0.6B-hf). Use with a compatible [TensorRT encoder](https://huggingface.co/Retrieve0/Qwen3-ASR-0.6B-TensorRT-Encoder). The [Qwen3-ASR-TensorRT repository](https://github.com/lost0427/Qwen3-ASR-TensorRT) integrates both parts for transcription. These weights use the ExLlamaV3 format and are loaded by the project runtime.
### Variants
| Variant | Use || --- | --- || `decoder-exl3-3bpw` | Lower memory use || `decoder-exl3-4bpw` | Higher-precision alternative |
Each variant includes EXL3 `model.safetensors`, tokenizer files, model and generation configuration, and quantization configuration.
### Requirements
- NVIDIA GPU and CUDA- ExLlamaV3 1.6.6 with compatible PyTorch and CUDA versions- Reference environment: PyTorch 2.10.0, CUDA 12.8, Python 3.10–3.13- The [Qwen3-ASR-TensorRT repository](https://github.com/lost0427/Qwen3-ASR-TensorRT), which includes the encoder/decoder integration
Windows is tested and supported. Linux should work with compatible CUDA, TensorRT, PyTorch, and ExLlamaV3 packages.
### Usage
```powershelluv sync
uv run qwen3-asr --model Qwen/Qwen3-ASR-0.6B-hf transcribe .\audio.wav ` --backend tensorrt-exllama ` --decoder-dir .\decoder-exl3-3bpw ` --language Chinese```
### License and citation
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. Please cite Qwen3-ASR, ExLlamaV3, and the runtime project.
## 中文
本仓库提供基于 [Qwen/Qwen3-ASR-0.6B-hf](https://huggingface.co/Qwen/Qwen3-ASR-0.6B-hf) 转换的 EXL3 量化文本解码器权重。使用时需配套兼容的 [TensorRT encoder](https://huggingface.co/Retrieve0/Qwen3-ASR-0.6B-TensorRT-Encoder)。[Qwen3-ASR-TensorRT 仓库](https://github.com/lost0427/Qwen3-ASR-TensorRT)集成了 encoder 和 decoder,可用于完整转写。本权重采用 ExLlamaV3 格式,由项目运行时加载。
### 量化版本
| 版本 | 用途 || --- | --- || `decoder-exl3-3bpw` | 显存占用较低 || `decoder-exl3-4bpw` | 精度较高的替代版本 |
每个版本包含 EXL3 `model.safetensors`、tokenizer、模型与生成配置以及量化配置。
### 运行要求
- NVIDIA GPU 与 CUDA- ExLlamaV3 1.6.6,以及相互兼容的 PyTorch 和 CUDA 版本- 参考环境:PyTorch 2.10.0、CUDA 12.8、Python 3.10–3.13- [Qwen3-ASR-TensorRT 仓库](https://github.com/lost0427/Qwen3-ASR-TensorRT),其中已集成 encoder 和 decoder
项目已在 Windows 上测试并可用。Linux 环境在 CUDA、TensorRT、PyTorch 和 ExLlamaV3 软件包版本兼容时也可运行。
### 使用
```powershelluv sync
uv run qwen3-asr --model Qwen/Qwen3-ASR-0.6B-hf transcribe .\audio.wav ` --backend tensorrt-exllama ` --decoder-dir .\decoder-exl3-3bpw ` --language Chinese```
### 许可证与引用
这些权重基于 `Qwen/Qwen3-ASR-0.6B-hf`,以 Apache-2.0 发布。请保留上游归属说明和许可证。ExLlamaV3 与运行时依赖各自遵循其许可证。请引用 Qwen3-ASR、ExLlamaV3 及运行时项目。12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576{
"attention_bias": false,
"attention_dropout": 0.0,
"bos_token_id": null,
"eos_token_id": [
151643,
151645
],
"head_dim": 128,
"hidden_act": "silu",
"hidden_size": 1024,
"initializer_range": 0.02,
"intermediate_size": 3072,
"layer_types": [
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention"
],
"max_position_embeddings": 65536,
"max_window_layers": 28,
"model_type": "qwen3",
"num_attention_heads": 16,
"num_hidden_layers": 28,
"num_key_value_heads": 8,
"pad_token_id": 151645,
"rms_norm_eps": 1e-06,
"rope_parameters": {
"rope_theta": 1000000,
"rope_type": "default"
},
"sliding_window": null,
"tie_word_embeddings": false,
"use_cache": true,
"use_sliding_window": false,
"vocab_size": 151936,
"architectures": [
"Qwen3ForCausalLM"
],
"quantization_config": {
"quant_method": "exl3",
"version": "1.6.6",
"bits": 3.0,
"head_bits": 6,
"calibration": {
"rows": 250,
"cols": 2048
},
"out_scales": "auto",
"codebook": "mul1"
}
}12345678910{ "do_sample": false, "eos_token_id": [ 151643, 151645 ], "max_new_tokens": 512, "pad_token_id": 151645, "transformers_version": "5.13.0.dev0"}123version https://git-lfs.github.com/spec/v1oid sha256:60c6363a772a38f4f6cb64f085c84c1232edd89bfc6276096ef924cc302b0c85size 594798403123version https://git-lfs.github.com/spec/v1oid sha256:fe1fad59be22a41ee293363fcf95fdedbc7c93f3b49270b1d2e18bd1399a7a05size 114296531234567891011121314151617181920212223242526272829303132{ "add_prefix_space": false, "audio_bos_token": "<|audio_start|>", "audio_eos_token": "<|audio_end|>", "audio_token": "<|audio_pad|>", "backend": "tokenizers", "bos_token": null, "clean_up_tokenization_spaces": false, "eos_token": "<|im_end|>", "errors": "replace", "image_token": "<|image_pad|>", "is_local": true, "local_files_only": false, "model_max_length": 131072, "model_specific_special_tokens": { "audio_bos_token": "<|audio_start|>", "audio_eos_token": "<|audio_end|>", "audio_token": "<|audio_pad|>", "image_token": "<|image_pad|>", "video_token": "<|video_pad|>", "vision_bos_token": "<|vision_start|>", "vision_eos_token": "<|vision_end|>" }, "pad_token": "<|endoftext|>", "processor_class": "Qwen3ASRProcessor", "split_special_tokens": false, "tokenizer_class": "Qwen2Tokenizer", "unk_token": null, "video_token": "<|video_pad|>", "vision_bos_token": "<|vision_start|>", "vision_eos_token": "<|vision_end|>"}12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576{
"attention_bias": false,
"attention_dropout": 0.0,
"bos_token_id": null,
"eos_token_id": [
151643,
151645
],
"head_dim": 128,
"hidden_act": "silu",
"hidden_size": 1024,
"initializer_range": 0.02,
"intermediate_size": 3072,
"layer_types": [
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention"
],
"max_position_embeddings": 65536,
"max_window_layers": 28,
"model_type": "qwen3",
"num_attention_heads": 16,
"num_hidden_layers": 28,
"num_key_value_heads": 8,
"pad_token_id": 151645,
"rms_norm_eps": 1e-06,
"rope_parameters": {
"rope_theta": 1000000,
"rope_type": "default"
},
"sliding_window": null,
"tie_word_embeddings": false,
"use_cache": true,
"use_sliding_window": false,
"vocab_size": 151936,
"architectures": [
"Qwen3ForCausalLM"
],
"quantization_config": {
"quant_method": "exl3",
"version": "1.6.6",
"bits": 4.0,
"head_bits": 6,
"calibration": {
"rows": 250,
"cols": 2048
},
"out_scales": "auto",
"codebook": "mul1"
}
}12345678910{ "do_sample": false, "eos_token_id": [ 151643, 151645 ], "max_new_tokens": 512, "pad_token_id": 151645, "transformers_version": "5.13.0.dev0"}123version https://git-lfs.github.com/spec/v1oid sha256:1588d86b03874de33f644ee3f8ec79104592a2aa7c785e1f9f9691ff308fc740size 649848643123version https://git-lfs.github.com/spec/v1oid sha256:fe1fad59be22a41ee293363fcf95fdedbc7c93f3b49270b1d2e18bd1399a7a05size 114296531234567891011121314151617181920212223242526272829303132{ "add_prefix_space": false, "audio_bos_token": "<|audio_start|>", "audio_eos_token": "<|audio_end|>", "audio_token": "<|audio_pad|>", "backend": "tokenizers", "bos_token": null, "clean_up_tokenization_spaces": false, "eos_token": "<|im_end|>", "errors": "replace", "image_token": "<|image_pad|>", "is_local": true, "local_files_only": false, "model_max_length": 131072, "model_specific_special_tokens": { "audio_bos_token": "<|audio_start|>", "audio_eos_token": "<|audio_end|>", "audio_token": "<|audio_pad|>", "image_token": "<|image_pad|>", "video_token": "<|video_pad|>", "vision_bos_token": "<|vision_start|>", "vision_eos_token": "<|vision_end|>" }, "pad_token": "<|endoftext|>", "processor_class": "Qwen3ASRProcessor", "split_special_tokens": false, "tokenizer_class": "Qwen2Tokenizer", "unk_token": null, "video_token": "<|video_pad|>", "vision_bos_token": "<|vision_start|>", "vision_eos_token": "<|vision_end|>"}.gitattributes+2
README.mdAdded+94
decoder-exl3-3bpw/config.jsonAdded+76
decoder-exl3-3bpw/generation_config.jsonAdded+10
decoder-exl3-3bpw/model.safetensorsAdded+3
decoder-exl3-3bpw/quantization_config.jsonAdded
decoder-exl3-3bpw/tokenizer.jsonAdded+3
decoder-exl3-3bpw/tokenizer_config.jsonAdded+32
decoder-exl3-4bpw/config.jsonAdded+76
decoder-exl3-4bpw/generation_config.jsonAdded+10
decoder-exl3-4bpw/model.safetensorsAdded+3
decoder-exl3-4bpw/quantization_config.jsonAdded
decoder-exl3-4bpw/tokenizer.jsonAdded+3
decoder-exl3-4bpw/tokenizer_config.jsonAdded+32