Downloads · 30 days
16
10% of all-time downloads
NikotoraIi/medvoice-jp-whisper-small-ft-n60
medvoice-jp-whisper-small-ft-n60 is a automatic speech recognition model from NikotoraIi. Use it when you need speech turned into text. It is set up for transformers. The card lists the license as mit.
日本語の医療現場の発話を、汎用 ASR より正確に文字起こしする fine-tuning 済みモデル。 60名の医療関係者の声で学習(whisper-small ベース)。
Downloads · 30 days
16
10% of all-time downloads
All-time downloads
156
Public
Parameters
242M
967 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors967 MB · 100%
From the Hugging Face model README
日本語の医療現場の発話を、汎用 ASR より正確に文字起こしする fine-tuning 済みモデル。 60名の医療関係者の声で学習(whisper-small ベース)。
⚕️ 医療機器ではありません。 文字起こし補助(人間の確認が前提)であり、診断・治療判断には使用しないでください。
| モデル | CER ↓ | TermMiss ↓ |
|---|---|---|
| baseline (whisper-small 素) | 0.2906 | 0.7208 |
| このモデル (Full FT, 60話者) | 0.1194 | 0.3344 |
| 参考: LoRA版 (同データ) | 0.1168 | 0.3409 |
→ CER 約60%削減 / 医療用語ミス 約53%削減。
from transformers import WhisperForConditionalGeneration, WhisperProcessor
import librosa
M = "NikotoraIi/medvoice-jp-whisper-small-ft-n60"
proc = WhisperProcessor.from_pretrained(M, language="japanese", task="transcribe")
model = WhisperForConditionalGeneration.from_pretrained(M)
audio, _ = librosa.load("your_audio.wav", sr=16000, mono=True)
feats = proc(audio, sampling_rate=16000, return_tensors="pt").input_features
ids = model.generate(feats, language="japanese", task="transcribe", max_new_tokens=225)
print(proc.batch_decode(ids, skip_special_tokens=True)[0])
MIT。ベース openai/whisper-small は MIT。MEDIS 標準病名マスター本体は再配布せず。