# barkify
Barkify: an unoffical repo for training Bark, a text-prompted generative audio model by suno-ai.
Bark has two GPT style models which is compatible for prompting and other tricks from NLP. Bark realize a great real world tts result but the repo itself doesn't a training recipe. We want to conduct some experiments or train this model. Here we release our basic training code which might be a guidance of training for open source community.
## Process dataset
We do our experiment on LJspeech. Follow the instrcutions in `process.ipynb`. <br>
For Chinese, we test a famous steamer named `峰哥亡命天涯`. It shows an acceptable result but worse than our other TTS repo.
For English, we test LibriTTS dataset. It works fine and basic items in our roadmap have been proved.
## Training
Stage1 stands for text to semantic and stage2 stands for semantic to acoustic. <br>
You should config paramters in the `configs/barkify.yaml`. We use one A100 to train our model (both S1&S2).
```
# training stage 1 or 2
python trainer.py start_path=/path/to/your/work_env stage=1 name=<dataset>
python trainer.py start_path=/path/to/your/work_env stage=2 name=<dataset>
```
## Inference
Directly use `infer.ipynb` and follow the instrcutions to infer your model.
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
suno-ai_训练sono.ai.bark的非官方实现_基于Python.zip (16个子文件)
suno-ai_训练sono.ai.bark的非官方实现_基于Python
infer.ipynb 7KB
configs
barkify.yaml 2KB
trainer.py 1KB
process.ipynb 15KB
barkify
utils.py 269B
datas
__init__.py 657B
tokenizer.py 4KB
data.py 7KB
pl_model.py 4KB
bark
__init__.py 295B
model_fine.py 6KB
model.py 9KB
api.py 4KB
generation.py 30KB
requirements.txt 82B
README.md 1KB
共 16 条
- 1
资源评论
m0_57195758
- 粉丝: 1104
- 资源: 341
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功