Instructions to use moonbox-dev/X-VC-PyTorch with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use moonbox-dev/X-VC-PyTorch with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download moonbox-dev/X-VC-PyTorch --local-dir X-VC-PyTorch
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Commit ·
8a3ee50
0
Parent(s):
Model files
Browse files- .gitattributes +35 -0
- LICENSE +297 -0
- README.md +43 -0
- models/hf/X-VC/.gitattributes +35 -0
- models/hf/X-VC/README.md +172 -0
- models/hf/X-VC/config.json +12 -0
- models/hf/X-VC/xvc_infer.safetensors +3 -0
- models/hf/X-VC/xvc_infer_fp16.safetensors +3 -0
- models/hf/eres2net/configuration.json +1 -0
- models/hf/eres2net/pretrained_eres2net.ckpt +3 -0
.gitattributes
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.xz 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
|
LICENSE
ADDED
|
@@ -0,0 +1,297 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Licences of the files in moonbox-dev/xvc
|
| 2 |
+
|
| 3 |
+
Each part of this repository keeps the licence of the work it was made from. The sections below say which parts each licence covers, with the notices to keep, followed by the licence's full text.
|
| 4 |
+
|
| 5 |
+
====================================================================================================
|
| 6 |
+
glm-4-voice License (Zhipu AI)
|
| 7 |
+
https://huggingface.co/zai-org/glm-4-voice-tokenizer/blob/main/LICENSE
|
| 8 |
+
|
| 9 |
+
Covers:
|
| 10 |
+
- GLM-4-Voice tokenizer (Whisper-large-v3-derived encoder + VQ), embedded in xvc_infer.safetensors as semantic_encoder.*
|
| 11 |
+
Notice: Built with glm-4
|
| 12 |
+
====================================================================================================
|
| 13 |
+
|
| 14 |
+
The glm-4-voice License
|
| 15 |
+
|
| 16 |
+
1. 定义
|
| 17 |
+
|
| 18 |
+
“许可方”是指分发其软件的 glm-4-voice 模型团队。
|
| 19 |
+
“软件”是指根据本许可提供的 glm-4-voice 模型参数。
|
| 20 |
+
|
| 21 |
+
2. 许可授予
|
| 22 |
+
|
| 23 |
+
根据本许可的条款和条件,许可方特此授予您非排他性、全球性、不可转让、不可再许可、可撤销、免版税的版权许可。
|
| 24 |
+
本许可允许您免费使用本仓库中的所有开源模型进行学术研究,对于希望将模型用于商业目的的用户,需在[这里](https://open.bigmodel.cn/mla/form)完成登记。经过登记的用户可以免费使用本模型进行商业活动,但必须遵守本许可的所有条款和条件。
|
| 25 |
+
上述版权声明和本许可声明应包含在本软件的所有副本或重要部分中。
|
| 26 |
+
如果您分发或提供 THUDM / 智谱AI 关于 glm-4 开源模型的材料(或其任何衍生作品),或使用其中任何材料(包括 glm-4 系列的所有开源模型)的产品或服务,您应:
|
| 27 |
+
|
| 28 |
+
(A) 随任何此类 THUDM / 智谱AI 材料提供本协议的副本;
|
| 29 |
+
(B) 在相关网站、用户界面、博客文章、关于页面或产品文档上突出显示 “Built with glm-4”。
|
| 30 |
+
如果您使用 THUDM / 智谱AI的 glm-4 开源模型的材料来创建、训练、微调或以其他方式改进已分发或可用的 AI 模型,您还应在任何此类 AI 模型名称的开头添加 “glm-4”。
|
| 31 |
+
|
| 32 |
+
3. 限制
|
| 33 |
+
|
| 34 |
+
您不得出于任何军事或非法目的使用、复制、修改、合并、发布、分发、复制或创建本软件的全部或部分衍生作品。
|
| 35 |
+
您不得利用本软件从事任何危害国家安全和国家统一,危害社会公共利益及公序良俗,侵犯他人商业秘密、知识产权、名誉权、肖像权、财产权等权益的行为。
|
| 36 |
+
您在使用中应遵循使用地所适用的法律法规政策、道德规范等要求。
|
| 37 |
+
|
| 38 |
+
4. 免责声明
|
| 39 |
+
|
| 40 |
+
本软件“按原样”提供,不提供任何明示或暗示的保证,包括但不限于对适销性、特定用途的适用性和非侵权性的保证。
|
| 41 |
+
在任何情况下,作者或版权持有人均不对任何索赔、损害或其他责任负责,无论是在合同诉讼、侵权行为还是其他方面,由软件或软件的使用或其他交易引起、由软件引起或与之相关
|
| 42 |
+
软件。
|
| 43 |
+
|
| 44 |
+
5. 责任限制
|
| 45 |
+
|
| 46 |
+
除适用法律禁止的范围外,在任何情况下且根据任何法律理论,无论是基于侵权行为、疏忽、合同、责任或其他原因,任何许可方均不对您承担任何直接、间接、特殊、偶然、示范性、
|
| 47 |
+
或间接损害,或任何其他商业损失,即使许可人已被告知此类损害的可能性。
|
| 48 |
+
|
| 49 |
+
6. 争议解决
|
| 50 |
+
|
| 51 |
+
本许可受中华人民共和国法律管辖并按其解释。 因本许可引起的或与本许可有关的任何争议应提交北京市海淀区人民法院。
|
| 52 |
+
请注意,许可证可能会更新到更全面的版本。 有关许可和版权的任何问题,请通过 license@zhipuai.cn 与我们联系。
|
| 53 |
+
1. Definitions
|
| 54 |
+
“Licensor” means the glm-4-voice Model Team that distributes its Software.
|
| 55 |
+
“Software” means the glm-4-voice model parameters made available under this license.
|
| 56 |
+
2. License
|
| 57 |
+
Under the terms and conditions of this license, the Licensor hereby grants you a non-exclusive, worldwide, non-transferable, non-sublicensable, revocable, royalty-free copyright license.
|
| 58 |
+
This license allows you to use all open source models in this repository for free for academic research. For users who wish to use the models for commercial purposes, please do so [here](https://open.bigmodel.cn/mla/form)
|
| 59 |
+
Complete registration. Registered users are free to use this model for commercial activities, but must comply with all terms and conditions of this license.
|
| 60 |
+
The copyright notice and this license notice shall be included in all copies or substantial portions of the Software.
|
| 61 |
+
If you distribute or provide THUDM / Zhipu AI materials on the glm-4 open source model (or any derivative works thereof), or products or services that use any materials therein (including all open source models of the glm-4 series), you should:
|
| 62 |
+
(A) Provide a copy of this Agreement with any such THUDM/Zhipu AI Materials;
|
| 63 |
+
(B) Prominently display "Built with glm-4" on the relevant website, user interface, blog post, related page or product documentation.
|
| 64 |
+
If you use materials from THUDM/Zhipu AI's glm-4 model to create, train, operate, or otherwise improve assigned or available AI models, you should also add "glm-4" to the beginning of any such AI model name.
|
| 65 |
+
3. Restrictions
|
| 66 |
+
You are not allowed to use, copy, modify, merge, publish, distribute, copy or create all or part of the derivative works of this software for any military or illegal purposes.
|
| 67 |
+
You are not allowed to use this software to engage in any behavior that endangers national security and unity, endangers social public interests and public order, infringes on the rights and interests of others such as trade secrets, intellectual property rights, reputation rights, portrait rights, and property rights.
|
| 68 |
+
You should comply with the applicable laws, regulations, policies, ethical standards, and other requirements in the place of use during use.
|
| 69 |
+
4. Disclaimer
|
| 70 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
|
| 71 |
+
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
| 72 |
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
| 73 |
+
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
| 74 |
+
5. Limitation of Liability
|
| 75 |
+
EXCEPT TO THE EXTENT PROHIBITED BY APPLICABLE LAW, IN NO EVENT AND UNDER NO LEGAL THEORY, WHETHER BASED IN TORT,
|
| 76 |
+
NEGLIGENCE, CONTRACT, LIABILITY, OR OTHERWISE WILL ANY LICENSOR BE LIABLE TO YOU FOR ANY DIRECT, INDIRECT, SPECIAL,
|
| 77 |
+
INCIDENTAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES, OR ANY OTHER COMMERCIAL LOSSES, EVEN IF THE LICENSOR HAS BEEN ADVISED
|
| 78 |
+
OF THE POSSIBILITY OF SUCH DAMAGES.
|
| 79 |
+
6. Dispute Resolution
|
| 80 |
+
This license shall be governed and construed in accordance with the laws of People’s Republic of China. Any dispute
|
| 81 |
+
arising from or in connection with this License shall be submitted to Haidian District People's Court in Beijing.
|
| 82 |
+
Note that the license is subject to update to a more comprehensive version. For any questions related to the license and
|
| 83 |
+
copyright, please contact us at license@zhipuai.cn.
|
| 84 |
+
|
| 85 |
+
====================================================================================================
|
| 86 |
+
MIT License
|
| 87 |
+
https://opensource.org/license/mit
|
| 88 |
+
|
| 89 |
+
Covers:
|
| 90 |
+
- X-VC voice converter (converter, adapters, prenet, SAC acoustic codec)
|
| 91 |
+
Notice: Copyright (c) 2026 Jerrister Zheng. The SAC acoustic codec inside is Apache-2.0 (Soul-AILab).
|
| 92 |
+
====================================================================================================
|
| 93 |
+
|
| 94 |
+
MIT License
|
| 95 |
+
|
| 96 |
+
|
| 97 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 98 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 99 |
+
in the Software without restriction, including without limitation the rights
|
| 100 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 101 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 102 |
+
furnished to do so, subject to the following conditions:
|
| 103 |
+
|
| 104 |
+
The above copyright notice and this permission notice shall be included in all
|
| 105 |
+
copies or substantial portions of the Software.
|
| 106 |
+
|
| 107 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 108 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 109 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 110 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 111 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 112 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 113 |
+
SOFTWARE.
|
| 114 |
+
|
| 115 |
+
====================================================================================================
|
| 116 |
+
Apache License 2.0
|
| 117 |
+
https://www.apache.org/licenses/LICENSE-2.0
|
| 118 |
+
|
| 119 |
+
Covers:
|
| 120 |
+
- ERes2Net speaker encoder (iic/speech_eres2net_sv_en_voxceleb_16k)
|
| 121 |
+
Notice: 3D-Speaker (Alibaba DAMO Academy)
|
| 122 |
+
====================================================================================================
|
| 123 |
+
|
| 124 |
+
Apache License
|
| 125 |
+
Version 2.0, January 2004
|
| 126 |
+
http://www.apache.org/licenses/
|
| 127 |
+
|
| 128 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 129 |
+
|
| 130 |
+
1. Definitions.
|
| 131 |
+
|
| 132 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 133 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 134 |
+
|
| 135 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 136 |
+
the copyright owner that is granting the License.
|
| 137 |
+
|
| 138 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 139 |
+
other entities that control, are controlled by, or are under common
|
| 140 |
+
control with that entity. For the purposes of this definition,
|
| 141 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 142 |
+
direction or management of such entity, whether by contract or
|
| 143 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 144 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 145 |
+
|
| 146 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 147 |
+
exercising permissions granted by this License.
|
| 148 |
+
|
| 149 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 150 |
+
including but not limited to software source code, documentation
|
| 151 |
+
source, and configuration files.
|
| 152 |
+
|
| 153 |
+
"Object" form shall mean any form resulting from mechanical
|
| 154 |
+
transformation or translation of a Source form, including but
|
| 155 |
+
not limited to compiled object code, generated documentation,
|
| 156 |
+
and conversions to other media types.
|
| 157 |
+
|
| 158 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 159 |
+
Object form, made available under the License, as indicated by a
|
| 160 |
+
copyright notice that is included in or attached to the work
|
| 161 |
+
(an example is provided in the Appendix below).
|
| 162 |
+
|
| 163 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 164 |
+
form, that is based on (or derived from) the Work and for which the
|
| 165 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 166 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 167 |
+
of this License, Derivative Works shall not include works that remain
|
| 168 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 169 |
+
the Work and Derivative Works thereof.
|
| 170 |
+
|
| 171 |
+
"Contribution" shall mean any work of authorship, including
|
| 172 |
+
the original version of the Work and any modifications or additions
|
| 173 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 174 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 175 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 176 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 177 |
+
means any form of electronic, verbal, or written communication sent
|
| 178 |
+
to the Licensor or its representatives, including but not limited to
|
| 179 |
+
communication on electronic mailing lists, source code control systems,
|
| 180 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 181 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 182 |
+
excluding communication that is conspicuously marked or otherwise
|
| 183 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 184 |
+
|
| 185 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 186 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 187 |
+
subsequently incorporated within the Work.
|
| 188 |
+
|
| 189 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 190 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 191 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 192 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 193 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 194 |
+
Work and such Derivative Works in Source or Object form.
|
| 195 |
+
|
| 196 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 197 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 198 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 199 |
+
(except as stated in this section) patent license to make, have made,
|
| 200 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 201 |
+
where such license applies only to those patent claims licensable
|
| 202 |
+
by such Contributor that are necessarily infringed by their
|
| 203 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 204 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 205 |
+
institute patent litigation against any entity (including a
|
| 206 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 207 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 208 |
+
or contributory patent infringement, then any patent licenses
|
| 209 |
+
granted to You under this License for that Work shall terminate
|
| 210 |
+
as of the date such litigation is filed.
|
| 211 |
+
|
| 212 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 213 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 214 |
+
modifications, and in Source or Object form, provided that You
|
| 215 |
+
meet the following conditions:
|
| 216 |
+
|
| 217 |
+
(a) You must give any other recipients of the Work or
|
| 218 |
+
Derivative Works a copy of this License; and
|
| 219 |
+
|
| 220 |
+
(b) You must cause any modified files to carry prominent notices
|
| 221 |
+
stating that You changed the files; and
|
| 222 |
+
|
| 223 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 224 |
+
that You distribute, all copyright, patent, trademark, and
|
| 225 |
+
attribution notices from the Source form of the Work,
|
| 226 |
+
excluding those notices that do not pertain to any part of
|
| 227 |
+
the Derivative Works; and
|
| 228 |
+
|
| 229 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 230 |
+
distribution, then any Derivative Works that You distribute must
|
| 231 |
+
include a readable copy of the attribution notices contained
|
| 232 |
+
within such NOTICE file, excluding those notices that do not
|
| 233 |
+
pertain to any part of the Derivative Works, in at least one
|
| 234 |
+
of the following places: within a NOTICE text file distributed
|
| 235 |
+
as part of the Derivative Works; within the Source form or
|
| 236 |
+
documentation, if provided along with the Derivative Works; or,
|
| 237 |
+
within a display generated by the Derivative Works, if and
|
| 238 |
+
wherever such third-party notices normally appear. The contents
|
| 239 |
+
of the NOTICE file are for informational purposes only and
|
| 240 |
+
do not modify the License. You may add Your own attribution
|
| 241 |
+
notices within Derivative Works that You distribute, alongside
|
| 242 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 243 |
+
that such additional attribution notices cannot be construed
|
| 244 |
+
as modifying the License.
|
| 245 |
+
|
| 246 |
+
You may add Your own copyright statement to Your modifications and
|
| 247 |
+
may provide additional or different license terms and conditions
|
| 248 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 249 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 250 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 251 |
+
the conditions stated in this License.
|
| 252 |
+
|
| 253 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 254 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 255 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 256 |
+
this License, without any additional terms or conditions.
|
| 257 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 258 |
+
the terms of any separate license agreement you may have executed
|
| 259 |
+
with Licensor regarding such Contributions.
|
| 260 |
+
|
| 261 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 262 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 263 |
+
except as required for reasonable and customary use in describing the
|
| 264 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 265 |
+
|
| 266 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 267 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 268 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 269 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 270 |
+
implied, including, without limitation, any warranties or conditions
|
| 271 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 272 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 273 |
+
appropriateness of using or redistributing the Work and assume any
|
| 274 |
+
risks associated with Your exercise of permissions under this License.
|
| 275 |
+
|
| 276 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 277 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 278 |
+
unless required by applicable law (such as deliberate and grossly
|
| 279 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 280 |
+
liable to You for damages, including any direct, indirect, special,
|
| 281 |
+
incidental, or consequential damages of any character arising as a
|
| 282 |
+
result of this License or out of the use or inability to use the
|
| 283 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 284 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 285 |
+
other commercial damages or losses), even if such Contributor
|
| 286 |
+
has been advised of the possibility of such damages.
|
| 287 |
+
|
| 288 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 289 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 290 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 291 |
+
or other liability obligations and/or rights consistent with this
|
| 292 |
+
License. However, in accepting such obligations, You may act only
|
| 293 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 294 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 295 |
+
defend, and hold each Contributor harmless for any liability
|
| 296 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 297 |
+
of your accepting any such warranty or additional liability.
|
README.md
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: glm-4-voice-license
|
| 4 |
+
license_link: https://huggingface.co/zai-org/glm-4-voice-tokenizer/blob/main/LICENSE
|
| 5 |
+
base_model:
|
| 6 |
+
- chenxie95/X-VC
|
| 7 |
+
library_name: mlx
|
| 8 |
+
pipeline_tag: audio-to-audio
|
| 9 |
+
tags:
|
| 10 |
+
- mlx
|
| 11 |
+
- moonbox
|
| 12 |
+
- voice-conversion
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
# X-VC for Moonbox
|
| 16 |
+
|
| 17 |
+
The files the [Moonbox](https://moonbox.dev) desktop app downloads for these models:
|
| 18 |
+
|
| 19 |
+
- **X-VC** (X-VC authors): Turns a recording into a preset voice or one copied from a short clip, keeping the delivery.
|
| 20 |
+
|
| 21 |
+
They are the X-VC voice converter as one MLX file for Apple silicon (16-bit, and the full-precision original), with the speaker encoder it uses. Moonbox checks every file against a signed list before using it. You do not need this repository to use Moonbox, and it is not an official release of the original models.
|
| 22 |
+
|
| 23 |
+
## What is here
|
| 24 |
+
|
| 25 |
+
| Path | What | From |
|
| 26 |
+
|---|---|---|
|
| 27 |
+
| `models/hf/X-VC/` | X-VC voice converter (converter, adapters, prenet, SAC acoustic codec) | https://huggingface.co/chenxie95/X-VC (xvc.pt -> xvc_infer.safetensors); code https://github.com/Jerrister/X-VC |
|
| 28 |
+
| `models/hf/X-VC/xvc_infer.safetensors` | GLM-4-Voice tokenizer (Whisper-large-v3-derived encoder + VQ), embedded in xvc_infer.safetensors as semantic_encoder.* | https://huggingface.co/zai-org/glm-4-voice-tokenizer |
|
| 29 |
+
| `models/hf/eres2net/` | ERes2Net speaker encoder (iic/speech_eres2net_sv_en_voxceleb_16k) | https://modelscope.cn/models/iic/speech_eres2net_sv_en_voxceleb_16k |
|
| 30 |
+
|
| 31 |
+
Every part was converted, quantized or repackaged from its source unless its row says "as published": treat none of these files as the original release.
|
| 32 |
+
|
| 33 |
+
## Licences
|
| 34 |
+
|
| 35 |
+
**Built with glm-4.** `xvc_infer.safetensors` contains the GLM-4-Voice tokenizer (its `semantic_encoder.*` weights), which is under the glm-4-voice licence, not MIT: academic use is free, commercial use needs registration with Zhipu AI (https://open.bigmodel.cn/mla/form). That is why this repository declares that licence; the full text is in [LICENSE](LICENSE).
|
| 36 |
+
|
| 37 |
+
| Part | Licence | Notice |
|
| 38 |
+
|---|---|---|
|
| 39 |
+
| X-VC voice converter (converter, adapters, prenet, SAC acoustic codec) | [MIT License](https://opensource.org/license/mit) | Copyright (c) 2026 Jerrister Zheng. The SAC acoustic codec inside is Apache-2.0 (Soul-AILab). |
|
| 40 |
+
| GLM-4-Voice tokenizer (Whisper-large-v3-derived encoder + VQ), embedded in xvc_infer.safetensors as semantic_encoder.* | [glm-4-voice License (Zhipu AI)](https://huggingface.co/zai-org/glm-4-voice-tokenizer/blob/main/LICENSE) | Built with glm-4 |
|
| 41 |
+
| ERes2Net speaker encoder (iic/speech_eres2net_sv_en_voxceleb_16k) | [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0) | 3D-Speaker (Alibaba DAMO Academy) |
|
| 42 |
+
|
| 43 |
+
The full text of each licence is in [LICENSE](LICENSE). The models are the work of their authors, linked above. Moonbox converted and packaged them and claims no rights in them. Use is subject to each licence above.
|
models/hf/X-VC/.gitattributes
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.xz 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
|
models/hf/X-VC/README.md
ADDED
|
@@ -0,0 +1,172 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
---
|
| 4 |
+
# X-VC
|
| 5 |
+
|
| 6 |
+
[](https://arxiv.org/abs/2604.12456)
|
| 7 |
+
[](https://github.com/Jerrister/X-VC)
|
| 8 |
+
[](https://x-vc.github.io)
|
| 9 |
+
|
| 10 |
+
Official code release for **X-VC: Zero-shot Streaming Voice Conversion in Codec Space**.
|
| 11 |
+
|
| 12 |
+
## Environment Setup
|
| 13 |
+
|
| 14 |
+
### 1. Clone
|
| 15 |
+
|
| 16 |
+
```bash
|
| 17 |
+
git clone https://github.com/Jerrister/X-VC.git
|
| 18 |
+
cd X-VC
|
| 19 |
+
```
|
| 20 |
+
|
| 21 |
+
### 2. Create conda environment and install dependencies
|
| 22 |
+
|
| 23 |
+
```bash
|
| 24 |
+
conda create -n xvc python=3.10 -y
|
| 25 |
+
conda activate xvc
|
| 26 |
+
pip install -U pip
|
| 27 |
+
pip install -r requirements.txt
|
| 28 |
+
```
|
| 29 |
+
|
| 30 |
+
### 3. Prepare pretrained models
|
| 31 |
+
|
| 32 |
+
Prepare:
|
| 33 |
+
- [GLM-4-Voice-Tokenizer](https://huggingface.co/zai-org/glm-4-voice-tokenizer) (for semantic tokenization)
|
| 34 |
+
- [ERes2Net speaker encoder](https://modelscope.cn/models/iic/speech_eres2net_sv_en_voxceleb_16k) (for speaker feature extraction)
|
| 35 |
+
|
| 36 |
+
Then set paths in [`configs/xvc.yaml`](configs/xvc.yaml), especially:
|
| 37 |
+
- `model.generator.semantic_encoder.encoder.from_pretrained`
|
| 38 |
+
- `model.generator.semantic_encoder.cfg`
|
| 39 |
+
- `model.generator.speaker_encoder.pretrained_dir`
|
| 40 |
+
|
| 41 |
+
### 4. Prepare checkpoints
|
| 42 |
+
|
| 43 |
+
Put checkpoints under `ckpts/`, for example:
|
| 44 |
+
|
| 45 |
+
```text
|
| 46 |
+
ckpts/
|
| 47 |
+
xvc.pt
|
| 48 |
+
```
|
| 49 |
+
|
| 50 |
+
## Inference
|
| 51 |
+
|
| 52 |
+
### Single-pair Inference
|
| 53 |
+
|
| 54 |
+
Use [`scripts/infer_single.sh`](scripts/infer_single.sh).
|
| 55 |
+
|
| 56 |
+
```bash
|
| 57 |
+
bash scripts/infer_single.sh
|
| 58 |
+
```
|
| 59 |
+
|
| 60 |
+
Key arguments in this script:
|
| 61 |
+
- `current=0` for offline inference.
|
| 62 |
+
- `current>0` for streaming inference.
|
| 63 |
+
- `chunk/current/future/smooth` control streaming behavior.
|
| 64 |
+
|
| 65 |
+
Outputs are saved under `save_dir` (default: `outputs/xvc_single`).
|
| 66 |
+
|
| 67 |
+
### Batch Offline Inference (SeedTTS-eval as example)
|
| 68 |
+
|
| 69 |
+
Use [`scripts/batch_infer_seedtts_offline.sh`](scripts/batch_infer_seedtts_offline.sh).
|
| 70 |
+
|
| 71 |
+
```bash
|
| 72 |
+
bash scripts/batch_infer_seedtts_offline.sh
|
| 73 |
+
```
|
| 74 |
+
|
| 75 |
+
This script reports:
|
| 76 |
+
- `saved_dir`
|
| 77 |
+
- `total_rtf`
|
| 78 |
+
|
| 79 |
+
### Batch Streaming Inference (SeedTTS-eval as example)
|
| 80 |
+
|
| 81 |
+
Use [`scripts/batch_infer_seedtts_stream.sh`](scripts/batch_infer_seedtts_stream.sh).
|
| 82 |
+
|
| 83 |
+
```bash
|
| 84 |
+
bash scripts/batch_infer_seedtts_stream.sh
|
| 85 |
+
```
|
| 86 |
+
|
| 87 |
+
This script reports:
|
| 88 |
+
- `saved_dir`
|
| 89 |
+
- `avg_latency_ms`
|
| 90 |
+
|
| 91 |
+
## Training
|
| 92 |
+
|
| 93 |
+
### Step 1: Prepare pretrained dependencies
|
| 94 |
+
|
| 95 |
+
Before training, prepare the required pretrained dependencies:
|
| 96 |
+
- [SAC pretrained checkpoint(s)](https://huggingface.co/Soul-AILab/SAC-16k-62_5Hz) (for model initialization)
|
| 97 |
+
|
| 98 |
+
Then set corresponding paths in [`configs/xvc.yaml`](configs/xvc.yaml), especially:
|
| 99 |
+
- `model.generator.checkpoint`
|
| 100 |
+
- `model.discriminator.checkpoint`
|
| 101 |
+
|
| 102 |
+
### Step 2: Prepare training data
|
| 103 |
+
|
| 104 |
+
Organize your training/validation data in JSONL format and set:
|
| 105 |
+
- `datasets.train`
|
| 106 |
+
- `datasets.val`
|
| 107 |
+
|
| 108 |
+
in [`configs/xvc.yaml`](configs/xvc.yaml).
|
| 109 |
+
|
| 110 |
+
### Step 3: Modify training configs
|
| 111 |
+
|
| 112 |
+
You can adjust training behavior in:
|
| 113 |
+
- [`configs/xvc.yaml`](configs/xvc.yaml) (main training config)
|
| 114 |
+
- [`configs/ds_stage2.json`](configs/ds_stage2.json) (DeepSpeed config)
|
| 115 |
+
|
| 116 |
+
### Step 4: Start training
|
| 117 |
+
|
| 118 |
+
Use [`scripts/train.sh`](scripts/train.sh).
|
| 119 |
+
|
| 120 |
+
```bash
|
| 121 |
+
bash scripts/train.sh
|
| 122 |
+
```
|
| 123 |
+
|
| 124 |
+
Notes:
|
| 125 |
+
- Default training engine is DeepSpeed (`configs/ds_stage2.json`).
|
| 126 |
+
- Main experiment config is `configs/xvc.yaml`.
|
| 127 |
+
- Set your `WANDB_API_KEY` in `scripts/train.sh` before running if you use wandb logging.
|
| 128 |
+
|
| 129 |
+
## Data Format
|
| 130 |
+
|
| 131 |
+
Training config points to JSONL files in `configs/xvc.yaml`:
|
| 132 |
+
- `datasets.train`
|
| 133 |
+
- `datasets.val`
|
| 134 |
+
|
| 135 |
+
Each JSONL line should be a JSON object.
|
| 136 |
+
|
| 137 |
+
Required fields:
|
| 138 |
+
- `target_utt`
|
| 139 |
+
- `source_wav_path`
|
| 140 |
+
- `target_wav_path`
|
| 141 |
+
|
| 142 |
+
Optional field:
|
| 143 |
+
- `source_utt`
|
| 144 |
+
|
| 145 |
+
Minimal example:
|
| 146 |
+
|
| 147 |
+
```json
|
| 148 |
+
{"source_utt":"utt_0001","source_wav_path":"<path_to_source>","target_utt":"utt_0002","target_wav_path":"<path_to_target>"}
|
| 149 |
+
```
|
| 150 |
+
|
| 151 |
+
## Acknowledgements
|
| 152 |
+
|
| 153 |
+
This codebase builds upon open-source components from [SAC](https://github.com/Soul-AILab/SAC) and the broader audio generation ecosystem.
|
| 154 |
+
|
| 155 |
+
## Citation
|
| 156 |
+
|
| 157 |
+
If you find our work useful in your research, please consider citing:
|
| 158 |
+
|
| 159 |
+
```bibtex
|
| 160 |
+
@misc{zheng2026xvczeroshotstreamingvoice,
|
| 161 |
+
title={X-VC: Zero-shot Streaming Voice Conversion in Codec Space},
|
| 162 |
+
author={Qixi Zheng and Yuxiang Zhao and Tianrui Wang and Wenxi Chen and Kele Xu and Yikang Li and Qinyuan Chen and Xipeng Qiu and Kai Yu and Xie Chen},
|
| 163 |
+
year={2026},
|
| 164 |
+
eprint={2604.12456},
|
| 165 |
+
archivePrefix={arXiv},
|
| 166 |
+
primaryClass={eess.AS},
|
| 167 |
+
url={https://arxiv.org/abs/2604.12456},
|
| 168 |
+
}
|
| 169 |
+
```
|
| 170 |
+
## License
|
| 171 |
+
|
| 172 |
+
This project is licensed under the MIT License.
|
models/hf/X-VC/config.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "chenxie95/X-VC",
|
| 3 |
+
"description": "X-VC: Zero-shot Streaming Voice Conversion in Codec Space",
|
| 4 |
+
"model_type": "custom",
|
| 5 |
+
"architectures": ["CustomModel"],
|
| 6 |
+
"framework": "pytorch",
|
| 7 |
+
"task": "voice-conversion",
|
| 8 |
+
"sample_rate": 16000,
|
| 9 |
+
"code_repo": "https://github.com/Jerrister/X-VC",
|
| 10 |
+
"demo_page": "https://x-vc.github.io",
|
| 11 |
+
"paper_url": "https://arxiv.org/abs/2604.12456"
|
| 12 |
+
}
|
models/hf/X-VC/xvc_infer.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f2d8f466bc8b9ed96d299253dcc1c585f025d2889c9dd09e97f30b486f16571e
|
| 3 |
+
size 2246117860
|
models/hf/X-VC/xvc_infer_fp16.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:516a90cc781c0022b1060b04e8ac94022b0918b8063653028f7a533105da7233
|
| 3 |
+
size 1135282514
|
models/hf/eres2net/configuration.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"model": {"pretrained_model": "pretrained_eres2net.ckpt"}}
|
models/hf/eres2net/pretrained_eres2net.ckpt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6598442cf4caae0f07fd25909994b04395dffe7385ccfec6a6b88fae9a8aff47
|
| 3 |
+
size 26712373
|