Instructions to use houssemtn/whisper-tiny-ar-linto with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use houssemtn/whisper-tiny-ar-linto with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="houssemtn/whisper-tiny-ar-linto")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("houssemtn/whisper-tiny-ar-linto") model = AutoModelForSpeechSeq2Seq.from_pretrained("houssemtn/whisper-tiny-ar-linto", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Drive Training Phase 1/5 | Samples 0-3999 | WER: 6.51%
Browse files- config.json +6 -2
- generation_config.json +1 -1
- model.safetensors +1 -1
- tokenizer_config.json +1 -0
- training_args.bin +1 -1
config.json
CHANGED
|
@@ -6,6 +6,10 @@
|
|
| 6 |
"WhisperForConditionalGeneration"
|
| 7 |
],
|
| 8 |
"attention_dropout": 0.0,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
"bos_token_id": 50257,
|
| 10 |
"classifier_proj_size": 256,
|
| 11 |
"d_model": 384,
|
|
@@ -47,12 +51,12 @@
|
|
| 47 |
"max_target_positions": 448,
|
| 48 |
"median_filter_width": 7,
|
| 49 |
"model_type": "whisper",
|
| 50 |
-
"num_hidden_layers": 4,
|
| 51 |
"num_mel_bins": 80,
|
| 52 |
"pad_token_id": 50257,
|
| 53 |
"scale_embedding": false,
|
|
|
|
| 54 |
"tie_word_embeddings": true,
|
| 55 |
-
"transformers_version": "5.
|
| 56 |
"use_cache": false,
|
| 57 |
"use_weighted_layer_sum": false,
|
| 58 |
"vocab_size": 51865
|
|
|
|
| 6 |
"WhisperForConditionalGeneration"
|
| 7 |
],
|
| 8 |
"attention_dropout": 0.0,
|
| 9 |
+
"begin_suppress_tokens": [
|
| 10 |
+
220,
|
| 11 |
+
50256
|
| 12 |
+
],
|
| 13 |
"bos_token_id": 50257,
|
| 14 |
"classifier_proj_size": 256,
|
| 15 |
"d_model": 384,
|
|
|
|
| 51 |
"max_target_positions": 448,
|
| 52 |
"median_filter_width": 7,
|
| 53 |
"model_type": "whisper",
|
|
|
|
| 54 |
"num_mel_bins": 80,
|
| 55 |
"pad_token_id": 50257,
|
| 56 |
"scale_embedding": false,
|
| 57 |
+
"suppress_tokens": null,
|
| 58 |
"tie_word_embeddings": true,
|
| 59 |
+
"transformers_version": "5.15.0",
|
| 60 |
"use_cache": false,
|
| 61 |
"use_weighted_layer_sum": false,
|
| 62 |
"vocab_size": 51865
|
generation_config.json
CHANGED
|
@@ -269,7 +269,7 @@
|
|
| 269 |
"temperature": 1.0,
|
| 270 |
"top_k": 50,
|
| 271 |
"top_p": 1.0,
|
| 272 |
-
"transformers_version": "5.
|
| 273 |
"typical_p": 1.0,
|
| 274 |
"use_cache": true
|
| 275 |
}
|
|
|
|
| 269 |
"temperature": 1.0,
|
| 270 |
"top_k": 50,
|
| 271 |
"top_p": 1.0,
|
| 272 |
+
"transformers_version": "5.15.0",
|
| 273 |
"typical_p": 1.0,
|
| 274 |
"use_cache": true
|
| 275 |
}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 151061672
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ab8e58d89be9468608c5f0165b4d0fd60f2c2435ebddeb1b89e0df2ab1afc722
|
| 3 |
size 151061672
|
tokenizer_config.json
CHANGED
|
@@ -116,6 +116,7 @@
|
|
| 116 |
],
|
| 117 |
"is_local": false,
|
| 118 |
"language": "arabic",
|
|
|
|
| 119 |
"model_max_length": 1024,
|
| 120 |
"pad_token": "<|endoftext|>",
|
| 121 |
"predict_timestamps": false,
|
|
|
|
| 116 |
],
|
| 117 |
"is_local": false,
|
| 118 |
"language": "arabic",
|
| 119 |
+
"local_files_only": false,
|
| 120 |
"model_max_length": 1024,
|
| 121 |
"pad_token": "<|endoftext|>",
|
| 122 |
"predict_timestamps": false,
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 5329
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7ffcddc09d20a1236e7d1bd6ec131ab168c8644c5d140745f55215ef826e2d9f
|
| 3 |
size 5329
|