Edit model card

Taiwan accent TTS model from JackEllie.

Usage

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())
Downloads last month
44
Safetensors
Model size
397M params
Tensor type
F32
·
Inference Examples
Inference API (serverless) does not yet support model repos that contain custom code.

Model tree for BricksDisplay/ellie-Bert-VITS2

Quantized
(1)
this model

Collection including BricksDisplay/ellie-Bert-VITS2