assistantapp-whisper-quran / generation_config.json
SaadabdulHameed's picture
Assalamualaikum !!! by making this file we an use this model for timestamp ... I'm using it for the timestamp of Quran recitations , but I'm having error because this file (generation_config.json) is not inlcuded in the repo of this model .. so please let me add it or add it by your self
09360d2 verified
raw
history blame
1.05 kB
{
"no_timestamps_token_id": 50257, // Token ID that disables timestamp generation
"return_timestamps": true, // Enable timestamp generation
"return_segments": false, // If true, returns timestamps for individual segments
"language": "en", // Default language for transcription
"max_length": 448, // Maximum sequence length
"num_beams": 5, // Beam search for decoding
"early_stopping": true, // Stop generation when the sentence is finished
"temperature": 0.7, // Temperature to control sampling randomness
"compression_ratio_threshold": 2.4, // Threshold for compression ratio for early stopping
"logprob_threshold": -1.0, // Log probability threshold for pruning low-confidence outputs
"no_speech_threshold": 0.6, // Threshold for detecting "no speech" sections
"min_length": 10 // Minimum sequence length
}