Fix decoder vocab size
Browse files- .gitattributes +1 -0
- README.md +80 -0
- qwen3-asr-0.6b-q4_k_m.gguf +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
qwen3-asr-0.6b-q4_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
---
|
| 3 |
+
language:
|
| 4 |
+
- zh
|
| 5 |
+
- en
|
| 6 |
+
- yue
|
| 7 |
+
- ar
|
| 8 |
+
- de
|
| 9 |
+
- fr
|
| 10 |
+
- es
|
| 11 |
+
- pt
|
| 12 |
+
- id
|
| 13 |
+
- it
|
| 14 |
+
- ko
|
| 15 |
+
- ru
|
| 16 |
+
- th
|
| 17 |
+
- vi
|
| 18 |
+
- ja
|
| 19 |
+
- tr
|
| 20 |
+
- hi
|
| 21 |
+
- ms
|
| 22 |
+
- nl
|
| 23 |
+
- sv
|
| 24 |
+
- da
|
| 25 |
+
- fi
|
| 26 |
+
- pl
|
| 27 |
+
- cs
|
| 28 |
+
- fil
|
| 29 |
+
- fa
|
| 30 |
+
- el
|
| 31 |
+
- hu
|
| 32 |
+
- mk
|
| 33 |
+
- ro
|
| 34 |
+
tags:
|
| 35 |
+
- audio
|
| 36 |
+
- speech
|
| 37 |
+
- automatic-speech-recognition
|
| 38 |
+
---
|
| 39 |
+
|
| 40 |
+
license: apache-2.0
|
| 41 |
+
---
|
| 42 |
+
|
| 43 |
+
# OVOS - Qwen3 ASR 0.6B Q4_K_M (GGUF)
|
| 44 |
+
|
| 45 |
+
This model is an quantized gguf-format export of [Qwen/Qwen3-ASR-0.6B](https://huggingface.co/Qwen/Qwen3-ASR-0.6B)
|
| 46 |
+
for ease of use in edge devices and CPU-based inference environments.
|
| 47 |
+
The original model is transformed into gguf with F16 tensors by the script [convert_hf_to_gguf.py](https://github.com/femelo/qwen3-asr.cpp/blob/main/scripts/convert_hf_to_gguf.py)
|
| 48 |
+
and then further quantized, if needed, using the tool [quantize](https://github.com/femelo/qwen3-asr.cpp/blob/main/src/quantize.cpp) from the same repo.
|
| 49 |
+
|
| 50 |
+
# Requirements
|
| 51 |
+
|
| 52 |
+
The requirements can be installed as
|
| 53 |
+
|
| 54 |
+
```bash
|
| 55 |
+
$ pip install git+https://github.com/femelo/py-qwen3-asr-cpp
|
| 56 |
+
```
|
| 57 |
+
|
| 58 |
+
# Usage
|
| 59 |
+
|
| 60 |
+
```python
|
| 61 |
+
from py_qwen3_asr_cpp.model import Qwen3ASRModel
|
| 62 |
+
|
| 63 |
+
# Initialize the model (it handles downloading from this repo)
|
| 64 |
+
model = Qwen3ASRModel(
|
| 65 |
+
asr_model="qwen3-asr-0.6b-q4_k_m",
|
| 66 |
+
n_threads=4
|
| 67 |
+
)
|
| 68 |
+
|
| 69 |
+
# Transcribe from file
|
| 70 |
+
result = model.transcribe("audio.mp3")
|
| 71 |
+
print(f"Detected Language: {result.language}")
|
| 72 |
+
print(f"Transcription: {result.text}")
|
| 73 |
+
```
|
| 74 |
+
|
| 75 |
+
Refer to [https://github.com/femelo/py-qwen3-asr-cpp](https://github.com/femelo/py-qwen3-asr-cpp) for more details.
|
| 76 |
+
|
| 77 |
+
# Licensing
|
| 78 |
+
|
| 79 |
+
The license is derived from the original model: Apache 2.0. For more details, please refer to [Qwen/Qwen3-ASR-0.6B](https://huggingface.co/Qwen/Qwen3-ASR-0.6B).
|
| 80 |
+
|
qwen3-asr-0.6b-q4_k_m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b77aceb9d09a24872e81810939497d02d11bc644613df72f7aa65c81aa911d49
|
| 3 |
+
size 685284096
|