🚀 Whisper-Large v3 for Narrow Accent Classification
このモデルは、話者の狭いアクセント分類を行う機能を備えています。Vox-Profile: A Speech Foundation Model Benchmark for Characterizing Diverse Speaker and Speech Traits (https://arxiv.org/pdf/2505.14648) で説明されているアクセント分類の実装が含まれています。
🚀 クイックスタート
このモデルの使用方法を以下に説明します。
リポジトリのダウンロード
git clone git@github.com:tiantiaf0627/vox-profile-release.git
パッケージのインストール
conda create -n vox_profile python=3.8
cd vox-profile-release
pip install -e .
モデルの読み込み
import torch
import torch.nn.functional as F
from src.model.accent.whisper_accent import WhisperWrapper
device = torch.device("cuda") if torch.cuda.is_available() else "cpu"
model = WhisperWrapper.from_pretrained("tiantiaf/whisper-large-v3-narrow-accent").to(device)
model.eval()
予測
english_accent_list = [
'East Asia', 'English', 'Germanic', 'Irish',
'North America', 'Northern Irish', 'Oceania',
'Other', 'Romance', 'Scottish', 'Semitic', 'Slavic',
'South African', 'Southeast Asia', 'South Asia', 'Welsh'
]
max_audio_length = 15 * 16000
data = torch.zeros([1, 16000]).float().to(device)[:, :max_audio_length]
logits, embeddings = model(data, return_feature=True)
accent_prob = F.softmax(logits, dim=1)
print(english_accent_list[torch.argmax(accent_prob).detach().cpu().item()])
✨ 主な機能
- 狭いアクセント分類の実装を含んでいます。
- 以下の英語のアクセントを分類できます。
[
'East Asia', 'English', 'Germanic', 'Irish',
'North America', 'Northern Irish', 'Oceania',
'Other', 'Romance', 'Scottish', 'Semitic', 'Slavic',
'South African', 'Southeast Asia', 'South Asia', 'Welsh'
]
このモデルに関する観察結果
- TTSサンプルは、ドイツ語系のアクセントとして認識される傾向が高いです。
- ライブラリ: https://github.com/tiantiaf0627/vox-profile-release
📚 ドキュメント
モデルの説明
このモデルは、Vox-Profile: A Speech Foundation Model Benchmark for Characterizing Diverse Speaker and Speech Traits (https://arxiv.org/pdf/2505.14648) で説明されている狭いアクセント分類の実装を含んでいます。
コンタクト
何か質問があれば、Tiantian Feng (tiantiaf@usc.edu) までご連絡ください。
引用
このモデルを使用する場合は、以下の論文を引用してください。
@article{feng2025vox,
title={Vox-Profile: A Speech Foundation Model Benchmark for Characterizing Diverse Speaker and Speech Traits},
author={Feng, Tiantian and Lee, Jihwan and Xu, Anfeng and Lee, Yoonjeong and Lertpetchpun, Thanathai and Shi, Xuan and Wang, Helin and Thebaud, Thomas and Moro-Velazquez, Laureano and Byrd, Dani and others},
journal={arXiv preprint arXiv:2505.14648},
year={2025}
}
📄 ライセンス
このモデルは、BSD 3条項ライセンスの下で提供されています。