Upload folder using huggingface_hub
Browse files- .gitattributes +5 -0
- .gitignore +24 -0
- README.md +20 -5
- bin/zipvoice_ax630c +3 -0
- bin/zipvoice_ax650 +3 -0
- bin/zipvoice_axcl +3 -0
- configuration.json +1 -0
- models/vocoder/vocos_full.axmodel +3 -0
- models/vocoder/vocos_full_ax630c.axmodel +3 -0
- run_ax630c.sh +2 -2
- run_ax650.sh +2 -2
- run_axcl.sh +2 -2
.gitattributes
CHANGED
|
@@ -72,3 +72,8 @@ outputs/zh_long_paragraph_ax650.wav filter=lfs diff=lfs merge=lfs -text
|
|
| 72 |
outputs/zh_long_paragraph_distill_ax650.wav filter=lfs diff=lfs merge=lfs -text
|
| 73 |
outputs/zh_sentence_ax650.wav filter=lfs diff=lfs merge=lfs -text
|
| 74 |
outputs/zh_sentence_distill_ax650.wav filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 72 |
outputs/zh_long_paragraph_distill_ax650.wav filter=lfs diff=lfs merge=lfs -text
|
| 73 |
outputs/zh_sentence_ax650.wav filter=lfs diff=lfs merge=lfs -text
|
| 74 |
outputs/zh_sentence_distill_ax650.wav filter=lfs diff=lfs merge=lfs -text
|
| 75 |
+
bin/zipvoice_ax630c filter=lfs diff=lfs merge=lfs -text
|
| 76 |
+
bin/zipvoice_ax650 filter=lfs diff=lfs merge=lfs -text
|
| 77 |
+
bin/zipvoice_axcl filter=lfs diff=lfs merge=lfs -text
|
| 78 |
+
models/vocoder/vocos_full.axmodel filter=lfs diff=lfs merge=lfs -text
|
| 79 |
+
models/vocoder/vocos_full_ax630c.axmodel filter=lfs diff=lfs merge=lfs -text
|
.gitignore
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# HuggingFace CLI ็ผๅญ
|
| 2 |
+
.msc/
|
| 3 |
+
.mv/
|
| 4 |
+
._____temp/
|
| 5 |
+
.cache/
|
| 6 |
+
|
| 7 |
+
# ่ฟ่กไบง็ฉ
|
| 8 |
+
outputs/
|
| 9 |
+
reference/
|
| 10 |
+
__pycache__/
|
| 11 |
+
*.pyc
|
| 12 |
+
|
| 13 |
+
# ็ผ่ฏไบง็ฉ/ๆบ็ ๏ผHUG ไปๅชๆพๅฏๆง่กๆไปถ๏ผไธๆพๆบ็ ๏ผ
|
| 14 |
+
cpp/src/
|
| 15 |
+
cpp/third_party/
|
| 16 |
+
cpp/toolchains/
|
| 17 |
+
cpp/cmake/
|
| 18 |
+
cpp/scripts/
|
| 19 |
+
cpp/CMakeLists.txt
|
| 20 |
+
cpp/build_*.sh
|
| 21 |
+
cpp/download_bsp.sh
|
| 22 |
+
cpp/*.cpp
|
| 23 |
+
cpp/*.hpp
|
| 24 |
+
build/
|
README.md
CHANGED
|
@@ -62,11 +62,15 @@ ZipVoice.AXERA/
|
|
| 62 |
โโโ models/
|
| 63 |
โ โโโ zipvoice_ax650/
|
| 64 |
โ โโโ zipvoice_distill_ax650/
|
| 65 |
-
โ
|
|
|
|
| 66 |
โโโ resources/
|
| 67 |
-
โ โโโ vocos-mel-24khz/
|
| 68 |
-
โ โโโ zipvoice_hf/
|
| 69 |
-
โโโ
|
|
|
|
|
|
|
|
|
|
| 70 |
โโโ scripts/
|
| 71 |
โโโ infer_zipvoice_axera.py # Python ๆจ็ๅ
ฅๅฃ
|
| 72 |
โโโ run_ax650.sh # AX650 ๆฟ็ซฏ
|
|
@@ -304,7 +308,18 @@ python3 infer_zipvoice_axera.py \
|
|
| 304 |
|
| 305 |
## C++
|
| 306 |
|
| 307 |
-
C++ ๆจ็
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 308 |
|
| 309 |
|
| 310 |
## ๅ่
|
|
|
|
| 62 |
โโโ models/
|
| 63 |
โ โโโ zipvoice_ax650/
|
| 64 |
โ โโโ zipvoice_distill_ax650/
|
| 65 |
+
โ โโโ zipvoice_distill_ax630C/
|
| 66 |
+
โ โโโ vocoder/ # vocos_full.axmodel๏ผAX650/AX630C๏ผ
|
| 67 |
โโโ resources/
|
| 68 |
+
โ โโโ vocos-mel-24khz/ # Python ๆจ็็จ vocoder ๆ้
|
| 69 |
+
โ โโโ zipvoice_hf/ # tokens.txt
|
| 70 |
+
โโโ bin/ # C++ ๆจ็ๅฏๆง่กๆไปถ๏ผๆบ็ ่ง GitHub๏ผ
|
| 71 |
+
โ โโโ zipvoice_ax650
|
| 72 |
+
โ โโโ zipvoice_ax630c
|
| 73 |
+
โ โโโ zipvoice_axcl
|
| 74 |
โโโ scripts/
|
| 75 |
โโโ infer_zipvoice_axera.py # Python ๆจ็ๅ
ฅๅฃ
|
| 76 |
โโโ run_ax650.sh # AX650 ๆฟ็ซฏ
|
|
|
|
| 308 |
|
| 309 |
## C++
|
| 310 |
|
| 311 |
+
C++ ๆจ็ๅฏๆง่กๆไปถๅจ `bin/` ไธ๏ผ**ๆ ้็ผ่ฏ**๏ผ็ดๆฅ่ฟ่ก๏ผ
|
| 312 |
+
|
| 313 |
+
```bash
|
| 314 |
+
# AX650 ๆฟ็ซฏ
|
| 315 |
+
bash run_ax650.sh distill zh sentence # distill/standard, zh/en, sentence/paragraph
|
| 316 |
+
# AX630C ๆฟ็ซฏ
|
| 317 |
+
bash run_ax630c.sh zh sentence
|
| 318 |
+
# AXCL ็ฎๅๅก
|
| 319 |
+
bash run_axcl.sh distill zh paragraph
|
| 320 |
+
```
|
| 321 |
+
|
| 322 |
+
C++ ๆบ็ ่ง [GitHub: AXERA-TECH/ZipVoice.AXERA/cpp](https://github.com/AXERA-TECH/ZipVoice.AXERA/tree/main/cpp)ใ
|
| 323 |
|
| 324 |
|
| 325 |
## ๅ่
|
bin/zipvoice_ax630c
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:adbc16b5766ca2eede9b14b405d5b534e03b66b29043d179b41aa0a5df77d721
|
| 3 |
+
size 527832
|
bin/zipvoice_ax650
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8653e75af7dc2571df341a6172a2342c19f6c99761ae640261c798c86087fe67
|
| 3 |
+
size 527848
|
bin/zipvoice_axcl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:de730337c6c5ecf11e805f7267447ff387cf5ee80131d1ad4875129586285fc2
|
| 3 |
+
size 581640
|
configuration.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"framework": "pytorch", "task": "others", "allow_remote": true}
|
models/vocoder/vocos_full.axmodel
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:70a7a897f6beb0b6e8536413a0ea6ee2132bec1257e51208e80eca506bda4c40
|
| 3 |
+
size 15413002
|
models/vocoder/vocos_full_ax630c.axmodel
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4b704aa370e7875099615ebbb2772c24e7d97529df81f11b713ca04e4261903e
|
| 3 |
+
size 16208038
|
run_ax630c.sh
CHANGED
|
@@ -5,10 +5,10 @@
|
|
| 5 |
MODEL="${1:-zh}"
|
| 6 |
MODE="${2:-sentence}"
|
| 7 |
|
| 8 |
-
BIN="
|
| 9 |
MODEL_DIR="./models/zipvoice_distill_ax630C"
|
| 10 |
TOKEN="./resources/zipvoice_hf/zipvoice/tokens.txt"
|
| 11 |
-
VOCODER="./
|
| 12 |
|
| 13 |
cd "$(dirname "$0")"
|
| 14 |
|
|
|
|
| 5 |
MODEL="${1:-zh}"
|
| 6 |
MODE="${2:-sentence}"
|
| 7 |
|
| 8 |
+
BIN="bin/zipvoice_ax630c"
|
| 9 |
MODEL_DIR="./models/zipvoice_distill_ax630C"
|
| 10 |
TOKEN="./resources/zipvoice_hf/zipvoice/tokens.txt"
|
| 11 |
+
VOCODER="./models/vocoder/vocos_full_ax630c.axmodel"
|
| 12 |
|
| 13 |
cd "$(dirname "$0")"
|
| 14 |
|
run_ax650.sh
CHANGED
|
@@ -6,9 +6,9 @@ MODEL="${1:-distill}"
|
|
| 6 |
LANG="${2:-zh}"
|
| 7 |
MODE="${3:-sentence}"
|
| 8 |
|
| 9 |
-
BIN="
|
| 10 |
TOKEN="./resources/zipvoice_hf/zipvoice/tokens.txt"
|
| 11 |
-
VOCODER="./
|
| 12 |
|
| 13 |
cd "$(dirname "$0")"
|
| 14 |
|
|
|
|
| 6 |
LANG="${2:-zh}"
|
| 7 |
MODE="${3:-sentence}"
|
| 8 |
|
| 9 |
+
BIN="bin/zipvoice_ax650"
|
| 10 |
TOKEN="./resources/zipvoice_hf/zipvoice/tokens.txt"
|
| 11 |
+
VOCODER="./models/vocoder/vocos_full.axmodel"
|
| 12 |
|
| 13 |
cd "$(dirname "$0")"
|
| 14 |
|
run_axcl.sh
CHANGED
|
@@ -6,9 +6,9 @@ MODEL="${1:-distill}"
|
|
| 6 |
LANG="${2:-zh}"
|
| 7 |
MODE="${3:-sentence}"
|
| 8 |
|
| 9 |
-
BIN="
|
| 10 |
TOKEN="./resources/zipvoice_hf/zipvoice/tokens.txt"
|
| 11 |
-
VOCODER="./
|
| 12 |
|
| 13 |
cd "$(dirname "$0")"
|
| 14 |
|
|
|
|
| 6 |
LANG="${2:-zh}"
|
| 7 |
MODE="${3:-sentence}"
|
| 8 |
|
| 9 |
+
BIN="bin/zipvoice_axcl"
|
| 10 |
TOKEN="./resources/zipvoice_hf/zipvoice/tokens.txt"
|
| 11 |
+
VOCODER="./models/vocoder/vocos_full.axmodel"
|
| 12 |
|
| 13 |
cd "$(dirname "$0")"
|
| 14 |
|