Automatic Speech Recognition
Transformers
Safetensors
Japanese
whisper
audio
hf-asr-leaderboard
Eval Results
Inference Endpoints
asahi417 commited on
Commit
16d4df0
1 Parent(s): f534806

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -142,7 +142,7 @@ model_id = "kotoba-tech/kotoba-whisper-v2.0"
142
  torch_dtype = torch.bfloat16 if torch.cuda.is_available() else torch.float32
143
  device = "cuda:0" if torch.cuda.is_available() else "cpu"
144
  model_kwargs = {"attn_implementation": "sdpa"} if torch.cuda.is_available() else {}
145
- generate_kwargs = {"language": "japanese", "task": "transcribe"}
146
 
147
  # load model
148
  pipe = pipeline(
@@ -204,7 +204,7 @@ model_id = "kotoba-tech/kotoba-whisper-v2.0"
204
  torch_dtype = torch.bfloat16 if torch.cuda.is_available() else torch.float32
205
  device = "cuda:0" if torch.cuda.is_available() else "cpu"
206
  model_kwargs = {"attn_implementation": "sdpa"} if torch.cuda.is_available() else {}
207
- generate_kwargs = {"language": "japanese", "task": "transcribe"}
208
 
209
  # load model
210
  pipe = pipeline(
 
142
  torch_dtype = torch.bfloat16 if torch.cuda.is_available() else torch.float32
143
  device = "cuda:0" if torch.cuda.is_available() else "cpu"
144
  model_kwargs = {"attn_implementation": "sdpa"} if torch.cuda.is_available() else {}
145
+ generate_kwargs = {"language": "ja", "task": "transcribe"}
146
 
147
  # load model
148
  pipe = pipeline(
 
204
  torch_dtype = torch.bfloat16 if torch.cuda.is_available() else torch.float32
205
  device = "cuda:0" if torch.cuda.is_available() else "cpu"
206
  model_kwargs = {"attn_implementation": "sdpa"} if torch.cuda.is_available() else {}
207
+ generate_kwargs = {"language": "ja", "task": "transcribe"}
208
 
209
  # load model
210
  pipe = pipeline(