HY-2012 commited on
Commit
d0d0172
ยท
verified ยท
1 Parent(s): 22d44e8

Upload folder using huggingface_hub

Browse files
.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
- โ”‚ โ””โ”€โ”€ zipvoice_distill_ax630C/
 
66
  โ”œโ”€โ”€ resources/
67
- โ”‚ โ”œโ”€โ”€ vocos-mel-24khz/
68
- โ”‚ โ””โ”€โ”€ zipvoice_hf/
69
- โ”œโ”€โ”€ cpp/ # C++ ๆบ็  (AXERA & AXCL)
 
 
 
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++ ๆŽจ็†ๅฎž็Žฐใ€‚่ฏฆ่ง [cpp/README.md](cpp/README.md)ใ€‚
 
 
 
 
 
 
 
 
 
 
 
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="cpp/install/ax630c/zipvoice"
9
  MODEL_DIR="./models/zipvoice_distill_ax630C"
10
  TOKEN="./resources/zipvoice_hf/zipvoice/tokens.txt"
11
- VOCODER="./cpp/vocoder/vocos_full_ax630c.axmodel"
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="cpp/install/ax650/zipvoice"
10
  TOKEN="./resources/zipvoice_hf/zipvoice/tokens.txt"
11
- VOCODER="./cpp/vocoder/vocos_full.axmodel"
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="cpp/install/axcl/zipvoice"
10
  TOKEN="./resources/zipvoice_hf/zipvoice/tokens.txt"
11
- VOCODER="./cpp/vocoder/vocos_full.axmodel"
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