Downloads · 30 days
157
0% of all-time downloads
BricksDisplay/ellie-Bert-VITS2
ellie-Bert-VITS2 is a text-to-speech model from BricksDisplay. Use it when you need text read aloud. It is set up for transformers. The card lists the license as cc-by-4.0.
Downloads · 30 days
157
0% of all-time downloads
All-time downloads
80.2K
Public
Parameters
397M
6.5 GB on disk
Likes
4
Public
Click a slice to open those files.
.onnx2 GB · 56%
From the Hugging Face model README
Taiwan accent TTS model from JackEllie.
Using this checkpoint from Hugging Face Transformers:
from transformers import AutoModel, AutoProcessor
from scipy.io.wavfile import write
import torch
model_name = "BricksDisplay/ellie-Bert-VITS2"
model = AutoModel.from_pretrained(model_name, trust_remote_code=True)
processor = AutoProcessor.from_pretrained(model_name, trust_remote_code=True)
with torch.no_grad():
inputs = processor("你好", language="zh", return_tensors="pt")
result = model(**inputs)
result = result["waveform"]
write("output.wav", model.config.sampling_rate, result[0].numpy())