alvanlii/cantonese-youtube
Viewer • Updated • 1.48M • 5.13k • 51
How to use hon9kon9ize/cantonese-hubert-base-l9-k200 with Fairseq:
from fairseq.checkpoint_utils import load_model_ensemble_and_task_from_hf_hub
models, cfg, task = load_model_ensemble_and_task_from_hf_hub(
"hon9kon9ize/cantonese-hubert-base-l9-k200"
)This is a fine-tuned Hubert model based on TencentGameMate/chinese-hubert-base for generate speech discete units, The K-means model is trained on 9k+ hours Cantonese speech data, with 200 clusters and representations from 9th layer of the model.
Base model
TencentGameMate/chinese-hubert-base
from fairseq.checkpoint_utils import load_model_ensemble_and_task_from_hf_hub models, cfg, task = load_model_ensemble_and_task_from_hf_hub( "hon9kon9ize/cantonese-hubert-base-l9-k200" )