Commit
·
120634c
1
Parent(s):
6b04853
Update README.md
Browse files
README.md
CHANGED
@@ -25,7 +25,7 @@ MODEL_ID = "Ivydata/whisper-small-japanese"
|
|
25 |
SAMPLES = 10
|
26 |
|
27 |
test_dataset = load_dataset("common_voice", LANG_ID, split=f"test[:{SAMPLES}]")
|
28 |
-
processor = WhisperProcessor.from_pretrained(
|
29 |
model = WhisperForConditionalGeneration.from_pretrained(MODEL_ID)
|
30 |
model.config.forced_decoder_ids = processor.get_decoder_prompt_ids(
|
31 |
language="ja", task="transcribe"
|
|
|
25 |
SAMPLES = 10
|
26 |
|
27 |
test_dataset = load_dataset("common_voice", LANG_ID, split=f"test[:{SAMPLES}]")
|
28 |
+
processor = WhisperProcessor.from_pretrained(MODEL_ID)
|
29 |
model = WhisperForConditionalGeneration.from_pretrained(MODEL_ID)
|
30 |
model.config.forced_decoder_ids = processor.get_decoder_prompt_ids(
|
31 |
language="ja", task="transcribe"
|