Lauler commited on
Commit
9d4f6e6
·
verified ·
1 Parent(s): 40af4cd

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +6 -1
README.md CHANGED
@@ -1,3 +1,8 @@
 
 
 
 
 
1
  ## KB-Whisper Small (Beta)
2
 
3
  Preliminary checkpoint of the National Library of Sweden's new Whisper models for Swedish.
@@ -11,7 +16,7 @@ from transformers import AutoModelForSpeechSeq2Seq, AutoProcessor, pipeline
11
 
12
  device = "cuda:0" if torch.cuda.is_available() else "cpu"
13
  torch_dtype = torch.float16 if torch.cuda.is_available() else torch.float32
14
- model_id = "KBLab/kb-whisper-medium-beta"
15
 
16
  model = AutoModelForSpeechSeq2Seq.from_pretrained(
17
  model_id, torch_dtype=torch_dtype, use_safetensors=True, cache_dir="cache"
 
1
+ ---
2
+ language:
3
+ - sv
4
+ pipeline_tag: automatic-speech-recognition
5
+ ---
6
  ## KB-Whisper Small (Beta)
7
 
8
  Preliminary checkpoint of the National Library of Sweden's new Whisper models for Swedish.
 
16
 
17
  device = "cuda:0" if torch.cuda.is_available() else "cpu"
18
  torch_dtype = torch.float16 if torch.cuda.is_available() else torch.float32
19
+ model_id = "KBLab/kb-whisper-small-beta"
20
 
21
  model = AutoModelForSpeechSeq2Seq.from_pretrained(
22
  model_id, torch_dtype=torch_dtype, use_safetensors=True, cache_dir="cache"