elsayedissa commited on
Commit
d55380a
1 Parent(s): 1d992ab

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -65,8 +65,8 @@ from transformers import WhisperProcessor, WhisperForConditionalGeneration
65
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
66
 
67
  # load the model
68
- processor = WhisperProcessor.from_pretrained("clu-ling/whisper-large-v2-arabic-5k-steps")
69
- model = WhisperForConditionalGeneration.from_pretrained("clu-ling/whisper-large-v2-arabic-5k-steps").to(device)
70
  forced_decoder_ids = processor.get_decoder_prompt_ids(language="ja", task="transcribe")
71
 
72
  # load the dataset
 
65
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
66
 
67
  # load the model
68
+ processor = WhisperProcessor.from_pretrained("clu-ling/whisper-large-v2-japanese-5k-steps")
69
+ model = WhisperForConditionalGeneration.from_pretrained("clu-ling/whisper-large-v2-japanese-5k-steps").to(device)
70
  forced_decoder_ids = processor.get_decoder_prompt_ids(language="ja", task="transcribe")
71
 
72
  # load the dataset