Kosuke-Szk commited on
Commit
120634c
1 Parent(s): 6b04853

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
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("openai/whisper-base")
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"