Instructions to use istomin9192/whisper-small-sr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use istomin9192/whisper-small-sr with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="istomin9192/whisper-small-sr")# Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("istomin9192/whisper-small-sr") model = AutoModelForSpeechSeq2Seq.from_pretrained("istomin9192/whisper-small-sr", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse files- config.json +1 -1
- generation_config.json +0 -2
- model.safetensors +1 -1
config.json
CHANGED
|
@@ -24,7 +24,7 @@
|
|
| 24 |
"forced_decoder_ids": [
|
| 25 |
[
|
| 26 |
1,
|
| 27 |
-
|
| 28 |
],
|
| 29 |
[
|
| 30 |
2,
|
|
|
|
| 24 |
"forced_decoder_ids": [
|
| 25 |
[
|
| 26 |
1,
|
| 27 |
+
50303
|
| 28 |
],
|
| 29 |
[
|
| 30 |
2,
|
generation_config.json
CHANGED
|
@@ -164,7 +164,6 @@
|
|
| 164 |
"<|yo|>": 50325,
|
| 165 |
"<|zh|>": 50260
|
| 166 |
},
|
| 167 |
-
"language": "sr",
|
| 168 |
"max_initial_timestamp_index": 50,
|
| 169 |
"max_length": 448,
|
| 170 |
"no_timestamps_token_id": 50363,
|
|
@@ -261,7 +260,6 @@
|
|
| 261 |
50361,
|
| 262 |
50362
|
| 263 |
],
|
| 264 |
-
"task": "transcribe",
|
| 265 |
"task_to_id": {
|
| 266 |
"transcribe": 50359,
|
| 267 |
"translate": 50358
|
|
|
|
| 164 |
"<|yo|>": 50325,
|
| 165 |
"<|zh|>": 50260
|
| 166 |
},
|
|
|
|
| 167 |
"max_initial_timestamp_index": 50,
|
| 168 |
"max_length": 448,
|
| 169 |
"no_timestamps_token_id": 50363,
|
|
|
|
| 260 |
50361,
|
| 261 |
50362
|
| 262 |
],
|
|
|
|
| 263 |
"task_to_id": {
|
| 264 |
"transcribe": 50359,
|
| 265 |
"translate": 50358
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 966995080
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:be21fb54e0076861e860aac0a4a9049031dbf213207b5c056c87d45a2e06727f
|
| 3 |
size 966995080
|