Retrieve0 commited on
Commit
a913d5f
·
verified ·
1 Parent(s): 4792d1f

Document aligner encoder

Browse files
Files changed (1) hide show
  1. README.md +58 -0
README.md ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: Qwen/Qwen3-ForcedAligner-0.6B
4
+ library_name: onnxruntime
5
+ pipeline_tag: automatic-speech-recognition
6
+ tags:
7
+ - qwen3-asr
8
+ - qwen3-forcedaligner
9
+ - force-alignment
10
+ - tensorrt
11
+ - onnx
12
+ - bf16
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-ForcedAligner-0.6B-TensorRT-Encoder"><img src="https://img.shields.io/badge/Hugging_Face-model-yellow?logo=huggingface" alt="Hugging Face model"></a>
18
+ </p>
19
+
20
+ # Qwen3-ForcedAligner 0.6B TensorRT Encoder
21
+
22
+ ## English
23
+
24
+ ONNX export of the audio encoder from [Qwen/Qwen3-ForcedAligner-0.6B](https://huggingface.co/Qwen/Qwen3-ForcedAligner-0.6B), prepared for TensorRT inference. Use it with the [EXL3 aligner decoder](https://huggingface.co/Retrieve0/Qwen3-ForcedAligner-0.6B-EXL3-Decoder) and the [Qwen3-ASR-TensorRT repository](https://github.com/lost0427/Qwen3-ASR-TensorRT).
25
+
26
+ ### Files
27
+
28
+ | Precision | Files | Use |
29
+ | --- | --- | --- |
30
+ | BF16 | `aligner-encoder-window.bf16.onnx`, `aligner-encoder-window.bf16.onnx.data` | Reference export for GPUs with BF16 support |
31
+
32
+ The export applies the aligner encoder's `proj1/act/proj2` output projection inside the graph. TensorRT `.engine` files are built locally for the target GPU.
33
+
34
+ ### Requirements
35
+
36
+ - NVIDIA GPU and CUDA
37
+ - Reference environment: CUDA 12.8, TensorRT 11.4.0.106, PyTorch 2.10.0
38
+ - The [Qwen3-ASR-TensorRT repository](https://github.com/lost0427/Qwen3-ASR-TensorRT)
39
+
40
+ ### Build
41
+
42
+ ```powershell
43
+ uv sync
44
+ uv run qwen3-asr build-aligner
45
+ ```
46
+
47
+ ## 中文
48
+
49
+ 基于 [Qwen/Qwen3-ForcedAligner-0.6B](https://huggingface.co/Qwen/Qwen3-ForcedAligner-0.6B) 的音频编码器 ONNX 导出,用于 TensorRT 推理。使用时需配套 [EXL3 aligner decoder](https://huggingface.co/Retrieve0/Qwen3-ForcedAligner-0.6B-EXL3-Decoder) 和 [Qwen3-ASR-TensorRT 仓库](https://github.com/lost0427/Qwen3-ASR-TensorRT)。
50
+
51
+ 导出已经把 aligner encoder 的 `proj1/act/proj2` 输出投影包含在图内。TensorRT `.engine` 需在目标 GPU 上本地构建。
52
+
53
+ ```powershell
54
+ uv sync
55
+ uv run qwen3-asr build-aligner
56
+ ```
57
+
58
+ 这些权重基于 `Qwen/Qwen3-ForcedAligner-0.6B`,以 Apache-2.0 发布。请保留上游归属和许可证说明。