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
#2
by
SaadabdulHameed
- opened
- generation_config.json +14 -0
generation_config.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"no_timestamps_token_id": 50257, // Token ID that disables timestamp generation
|
3 |
+
"return_timestamps": true, // Enable timestamp generation
|
4 |
+
"return_segments": false, // If true, returns timestamps for individual segments
|
5 |
+
"language": "en", // Default language for transcription
|
6 |
+
"max_length": 448, // Maximum sequence length
|
7 |
+
"num_beams": 5, // Beam search for decoding
|
8 |
+
"early_stopping": true, // Stop generation when the sentence is finished
|
9 |
+
"temperature": 0.7, // Temperature to control sampling randomness
|
10 |
+
"compression_ratio_threshold": 2.4, // Threshold for compression ratio for early stopping
|
11 |
+
"logprob_threshold": -1.0, // Log probability threshold for pruning low-confidence outputs
|
12 |
+
"no_speech_threshold": 0.6, // Threshold for detecting "no speech" sections
|
13 |
+
"min_length": 10 // Minimum sequence length
|
14 |
+
}
|