Automatic Speech Recognition
Transformers
TensorBoard
Safetensors
English
whisper
Generated from Trainer
Instructions to use washeed/Tag-lish_Audio_Transcriber with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use washeed/Tag-lish_Audio_Transcriber with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="washeed/Tag-lish_Audio_Transcriber")# Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("washeed/Tag-lish_Audio_Transcriber") model = AutoModelForSpeechSeq2Seq.from_pretrained("washeed/Tag-lish_Audio_Transcriber") - Notebooks
- Google Colab
- Kaggle
Update generation_config.json
Browse files- generation_config.json +11 -3
generation_config.json
CHANGED
|
@@ -48,6 +48,16 @@
|
|
| 48 |
"bos_token_id": 50257,
|
| 49 |
"decoder_start_token_id": 50258,
|
| 50 |
"eos_token_id": 50257,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51 |
"is_multilingual": true,
|
| 52 |
"lang_to_id": {
|
| 53 |
"<|af|>": 50327,
|
|
@@ -151,7 +161,6 @@
|
|
| 151 |
"<|yue|>": 50358,
|
| 152 |
"<|zh|>": 50260
|
| 153 |
},
|
| 154 |
-
"language": "english",
|
| 155 |
"max_initial_timestamp_index": 50,
|
| 156 |
"max_length": 448,
|
| 157 |
"no_timestamps_token_id": 50364,
|
|
@@ -248,10 +257,9 @@
|
|
| 248 |
50362,
|
| 249 |
50363
|
| 250 |
],
|
| 251 |
-
"task": "transcribe",
|
| 252 |
"task_to_id": {
|
| 253 |
"transcribe": 50360,
|
| 254 |
"translate": 50359
|
| 255 |
},
|
| 256 |
-
"transformers_version": "4.
|
| 257 |
}
|
|
|
|
| 48 |
"bos_token_id": 50257,
|
| 49 |
"decoder_start_token_id": 50258,
|
| 50 |
"eos_token_id": 50257,
|
| 51 |
+
"forced_decoder_ids": [
|
| 52 |
+
[
|
| 53 |
+
1,
|
| 54 |
+
null
|
| 55 |
+
],
|
| 56 |
+
[
|
| 57 |
+
2,
|
| 58 |
+
50359
|
| 59 |
+
]
|
| 60 |
+
],
|
| 61 |
"is_multilingual": true,
|
| 62 |
"lang_to_id": {
|
| 63 |
"<|af|>": 50327,
|
|
|
|
| 161 |
"<|yue|>": 50358,
|
| 162 |
"<|zh|>": 50260
|
| 163 |
},
|
|
|
|
| 164 |
"max_initial_timestamp_index": 50,
|
| 165 |
"max_length": 448,
|
| 166 |
"no_timestamps_token_id": 50364,
|
|
|
|
| 257 |
50362,
|
| 258 |
50363
|
| 259 |
],
|
|
|
|
| 260 |
"task_to_id": {
|
| 261 |
"transcribe": 50360,
|
| 262 |
"translate": 50359
|
| 263 |
},
|
| 264 |
+
"transformers_version": "4.36.0.dev0"
|
| 265 |
}
|