Automatic Speech Recognition
Transformers
Safetensors
Thai
whisper
thai
speech-recognition
knowledge-distillation
Eval Results (legacy)
Run this model with HF Jobs
Run lomasub/lomasub-open on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/lomasub/lomasub-open. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/lomasub/lomasub-open on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use lomasub/lomasub-open with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use lomasub/lomasub-open with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="lomasub/lomasub-open")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("lomasub/lomasub-open") model = AutoModelForSpeechSeq2Seq.from_pretrained("lomasub/lomasub-open", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download generation_config.json from lomasub/lomasub-open: direct link, hf CLI and curl.
- Browser
- Download file 7.22 kB
-
https://huggingface.co/lomasub/lomasub-open/resolve/main/generation_config.json
- Command line
-
hf download hf://lomasub/lomasub-open/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/lomasub/lomasub-open/resolve/main/generation_config.json
7.22 kB
| { | |
| "alignment_heads": [ | |
| [ | |
| 5, | |
| 3 | |
| ], | |
| [ | |
| 5, | |
| 9 | |
| ], | |
| [ | |
| 8, | |
| 0 | |
| ], | |
| [ | |
| 8, | |
| 4 | |
| ], | |
| [ | |
| 8, | |
| 7 | |
| ], | |
| [ | |
| 8, | |
| 8 | |
| ], | |
| [ | |
| 9, | |
| 0 | |
| ], | |
| [ | |
| 9, | |
| 7 | |
| ], | |
| [ | |
| 9, | |
| 9 | |
| ], | |
| [ | |
| 10, | |
| 5 | |
| ] | |
| ], | |
| "begin_suppress_tokens": [ | |
| 220, | |
| 50257 | |
| ], | |
| "bos_token_id": 50257, | |
| "decoder_start_token_id": 50258, | |
| "eos_token_id": 50257, | |
| "forced_decoder_ids": null, | |
| "is_multilingual": true, | |
| "lang_to_id": { | |
| "<|af|>": 50327, | |
| "<|am|>": 50334, | |
| "<|ar|>": 50272, | |
| "<|as|>": 50350, | |
| "<|az|>": 50304, | |
| "<|ba|>": 50355, | |
| "<|be|>": 50330, | |
| "<|bg|>": 50292, | |
| "<|bn|>": 50302, | |
| "<|bo|>": 50347, | |
| "<|br|>": 50309, | |
| "<|bs|>": 50315, | |
| "<|ca|>": 50270, | |
| "<|cs|>": 50283, | |
| "<|cy|>": 50297, | |
| "<|da|>": 50285, | |
| "<|de|>": 50261, | |
| "<|el|>": 50281, | |
| "<|en|>": 50259, | |
| "<|es|>": 50262, | |
| "<|et|>": 50307, | |
| "<|eu|>": 50310, | |
| "<|fa|>": 50300, | |
| "<|fi|>": 50277, | |
| "<|fo|>": 50338, | |
| "<|fr|>": 50265, | |
| "<|gl|>": 50319, | |
| "<|gu|>": 50333, | |
| "<|haw|>": 50352, | |
| "<|ha|>": 50354, | |
| "<|he|>": 50279, | |
| "<|hi|>": 50276, | |
| "<|hr|>": 50291, | |
| "<|ht|>": 50339, | |
| "<|hu|>": 50286, | |
| "<|hy|>": 50312, | |
| "<|id|>": 50275, | |
| "<|is|>": 50311, | |
| "<|it|>": 50274, | |
| "<|ja|>": 50266, | |
| "<|jw|>": 50356, | |
| "<|ka|>": 50329, | |
| "<|kk|>": 50316, | |
| "<|km|>": 50323, | |
| "<|kn|>": 50306, | |
| "<|ko|>": 50264, | |
| "<|la|>": 50294, | |
| "<|lb|>": 50345, | |
| "<|ln|>": 50353, | |
| "<|lo|>": 50336, | |
| "<|lt|>": 50293, | |
| "<|lv|>": 50301, | |
| "<|mg|>": 50349, | |
| "<|mi|>": 50295, | |
| "<|mk|>": 50308, | |
| "<|ml|>": 50296, | |
| "<|mn|>": 50314, | |
| "<|mr|>": 50320, | |
| "<|ms|>": 50282, | |
| "<|mt|>": 50343, | |
| "<|my|>": 50346, | |
| "<|ne|>": 50313, | |
| "<|nl|>": 50271, | |
| "<|nn|>": 50342, | |
| "<|no|>": 50288, | |
| "<|oc|>": 50328, | |
| "<|pa|>": 50321, | |
| "<|pl|>": 50269, | |
| "<|ps|>": 50340, | |
| "<|pt|>": 50267, | |
| "<|ro|>": 50284, | |
| "<|ru|>": 50263, | |
| "<|sa|>": 50344, | |
| "<|sd|>": 50332, | |
| "<|si|>": 50322, | |
| "<|sk|>": 50298, | |
| "<|sl|>": 50305, | |
| "<|sn|>": 50324, | |
| "<|so|>": 50326, | |
| "<|sq|>": 50317, | |
| "<|sr|>": 50303, | |
| "<|su|>": 50357, | |
| "<|sv|>": 50273, | |
| "<|sw|>": 50318, | |
| "<|ta|>": 50287, | |
| "<|te|>": 50299, | |
| "<|tg|>": 50331, | |
| "<|th|>": 50289, | |
| "<|tk|>": 50341, | |
| "<|tl|>": 50348, | |
| "<|tr|>": 50268, | |
| "<|tt|>": 50351, | |
| "<|uk|>": 50280, | |
| "<|ur|>": 50290, | |
| "<|uz|>": 50337, | |
| "<|vi|>": 50278, | |
| "<|yi|>": 50335, | |
| "<|yo|>": 50325, | |
| "<|zh|>": 50260 | |
| }, | |
| "max_initial_timestamp_index": 50, | |
| "max_length": 448, | |
| "no_timestamps_token_id": 50363, | |
| "pad_token_id": 50257, | |
| "prev_sot_token_id": 50361, | |
| "return_timestamps": false, | |
| "suppress_tokens": [ | |
| 1, | |
| 2, | |
| 7, | |
| 8, | |
| 9, | |
| 10, | |
| 14, | |
| 25, | |
| 26, | |
| 27, | |
| 28, | |
| 29, | |
| 31, | |
| 58, | |
| 59, | |
| 60, | |
| 61, | |
| 62, | |
| 63, | |
| 90, | |
| 91, | |
| 92, | |
| 93, | |
| 359, | |
| 503, | |
| 522, | |
| 542, | |
| 873, | |
| 893, | |
| 902, | |
| 918, | |
| 922, | |
| 931, | |
| 1350, | |
| 1853, | |
| 1982, | |
| 2460, | |
| 2627, | |
| 3246, | |
| 3253, | |
| 3268, | |
| 3536, | |
| 3846, | |
| 3961, | |
| 4183, | |
| 4667, | |
| 6585, | |
| 6647, | |
| 7273, | |
| 9061, | |
| 9383, | |
| 10428, | |
| 10929, | |
| 11938, | |
| 12033, | |
| 12331, | |
| 12562, | |
| 13793, | |
| 14157, | |
| 14635, | |
| 15265, | |
| 15618, | |
| 16553, | |
| 16604, | |
| 18362, | |
| 18956, | |
| 20075, | |
| 21675, | |
| 22520, | |
| 26130, | |
| 26161, | |
| 26435, | |
| 28279, | |
| 29464, | |
| 31650, | |
| 32302, | |
| 32470, | |
| 36865, | |
| 42863, | |
| 46896, | |
| 46902, | |
| 46918, | |
| 46941, | |
| 46953, | |
| 46954, | |
| 46965, | |
| 46974, | |
| 46977, | |
| 46978, | |
| 46979, | |
| 46984, | |
| 46994, | |
| 46995, | |
| 46997, | |
| 47003, | |
| 47004, | |
| 47019, | |
| 47022, | |
| 47027, | |
| 47046, | |
| 47049, | |
| 47053, | |
| 47057, | |
| 47078, | |
| 47123, | |
| 47128, | |
| 47132, | |
| 47150, | |
| 47155, | |
| 47169, | |
| 47185, | |
| 47208, | |
| 47209, | |
| 47219, | |
| 47225, | |
| 47229, | |
| 47231, | |
| 47236, | |
| 47238, | |
| 47255, | |
| 47270, | |
| 47275, | |
| 47284, | |
| 47295, | |
| 47309, | |
| 47324, | |
| 47326, | |
| 47348, | |
| 47349, | |
| 47353, | |
| 47358, | |
| 47375, | |
| 47378, | |
| 47379, | |
| 47384, | |
| 47402, | |
| 47404, | |
| 47412, | |
| 47414, | |
| 47421, | |
| 47425, | |
| 47441, | |
| 47442, | |
| 47446, | |
| 47450, | |
| 47453, | |
| 47455, | |
| 47456, | |
| 47472, | |
| 47487, | |
| 47490, | |
| 47491, | |
| 47495, | |
| 47522, | |
| 47532, | |
| 47550, | |
| 47564, | |
| 47595, | |
| 47601, | |
| 47615, | |
| 47629, | |
| 47638, | |
| 47660, | |
| 47700, | |
| 47734, | |
| 47745, | |
| 47765, | |
| 47778, | |
| 47780, | |
| 47783, | |
| 47787, | |
| 47792, | |
| 47793, | |
| 47797, | |
| 47820, | |
| 47826, | |
| 47838, | |
| 47848, | |
| 47857, | |
| 47872, | |
| 47878, | |
| 47884, | |
| 47885, | |
| 47887, | |
| 47891, | |
| 47905, | |
| 47911, | |
| 47925, | |
| 47928, | |
| 47930, | |
| 47935, | |
| 47939, | |
| 47952, | |
| 47955, | |
| 47958, | |
| 47968, | |
| 47992, | |
| 48022, | |
| 48035, | |
| 48065, | |
| 48084, | |
| 48105, | |
| 48107, | |
| 48121, | |
| 48130, | |
| 48141, | |
| 48152, | |
| 48157, | |
| 48158, | |
| 48159, | |
| 48161, | |
| 48164, | |
| 48166, | |
| 48178, | |
| 48189, | |
| 48199, | |
| 48200, | |
| 48213, | |
| 48217, | |
| 48234, | |
| 48263, | |
| 48267, | |
| 48284, | |
| 48289, | |
| 48351, | |
| 48359, | |
| 48361, | |
| 48362, | |
| 48367, | |
| 48371, | |
| 48374, | |
| 48397, | |
| 48404, | |
| 48405, | |
| 48420, | |
| 48437, | |
| 48458, | |
| 48466, | |
| 48480, | |
| 48487, | |
| 48512, | |
| 48535, | |
| 48551, | |
| 48572, | |
| 48574, | |
| 48608, | |
| 48626, | |
| 48640, | |
| 48646, | |
| 48652, | |
| 48660, | |
| 48693, | |
| 48706, | |
| 48707, | |
| 48724, | |
| 48735, | |
| 48744, | |
| 48748, | |
| 48763, | |
| 48768, | |
| 48798, | |
| 48808, | |
| 48811, | |
| 48827, | |
| 48837, | |
| 48838, | |
| 48839, | |
| 48846, | |
| 48864, | |
| 48890, | |
| 48964, | |
| 48967, | |
| 48973, | |
| 48974, | |
| 48989, | |
| 49000, | |
| 49042, | |
| 49051, | |
| 49061, | |
| 49067, | |
| 49076, | |
| 49078, | |
| 49085, | |
| 49105, | |
| 49106, | |
| 49116, | |
| 49117, | |
| 49121, | |
| 49122, | |
| 49124, | |
| 49132, | |
| 49140, | |
| 49149, | |
| 49150, | |
| 49155, | |
| 49160, | |
| 49161, | |
| 49175, | |
| 49183, | |
| 49200, | |
| 49201, | |
| 49212, | |
| 49236, | |
| 49249, | |
| 49261, | |
| 49262, | |
| 49280, | |
| 49288, | |
| 49295, | |
| 49296, | |
| 49329, | |
| 49334, | |
| 49338, | |
| 49355, | |
| 49373, | |
| 49378, | |
| 49385, | |
| 49388, | |
| 49394, | |
| 49395, | |
| 49397, | |
| 49406, | |
| 49412, | |
| 49414, | |
| 49441, | |
| 49444, | |
| 49453, | |
| 49459, | |
| 49470, | |
| 49477, | |
| 49490, | |
| 49500, | |
| 49528, | |
| 49559, | |
| 49594, | |
| 49595, | |
| 49599, | |
| 49603, | |
| 49606, | |
| 49640, | |
| 49653, | |
| 49657, | |
| 49679, | |
| 49684, | |
| 49693, | |
| 49710, | |
| 49712, | |
| 49730, | |
| 49738, | |
| 49750, | |
| 49753, | |
| 49780, | |
| 49790, | |
| 49805, | |
| 49806, | |
| 49809, | |
| 49810, | |
| 49817, | |
| 49856, | |
| 49870, | |
| 49873, | |
| 49879, | |
| 49899, | |
| 49905, | |
| 49925, | |
| 49946, | |
| 49947, | |
| 49948, | |
| 49950, | |
| 49953, | |
| 49958, | |
| 49965, | |
| 49970, | |
| 49972, | |
| 49983, | |
| 49985, | |
| 49993, | |
| 50064, | |
| 50067, | |
| 50070, | |
| 50071, | |
| 50073, | |
| 50082, | |
| 50102, | |
| 50149, | |
| 50157, | |
| 50158, | |
| 50174, | |
| 50181, | |
| 50215, | |
| 50218, | |
| 50254, | |
| 50255, | |
| 50258, | |
| 50358, | |
| 50359, | |
| 50360, | |
| 50361, | |
| 50362 | |
| ], | |
| "task_to_id": { | |
| "transcribe": 50359, | |
| "translate": 50358 | |
| }, | |
| "transformers_version": "5.22.1" | |
| } | |