|
1 | 1 | { |
| 2 | + "schema_version": 1, |
2 | 3 | "family": "kroko_asr", |
| 4 | + "display_name": "Kroko Community ASR", |
| 5 | + "description": "Native Zipformer2 RNN-T transcription for the public free Kroko Community single-language packages, with offline and stateful streaming inference, greedy and modified beam decoding, hotwords, endpoint segments, partial results, and word timestamps.", |
| 6 | + "category": "asr", |
| 7 | + "status": "community", |
| 8 | + "tasks": [ |
| 9 | + "asr" |
| 10 | + ], |
| 11 | + "modes": [ |
| 12 | + "offline", |
| 13 | + "streaming" |
| 14 | + ], |
| 15 | + "languages": [ |
| 16 | + "de", |
| 17 | + "en", |
| 18 | + "es", |
| 19 | + "fr", |
| 20 | + "it", |
| 21 | + "he", |
| 22 | + "nl", |
| 23 | + "pt", |
| 24 | + "sv", |
| 25 | + "tr" |
| 26 | + ], |
| 27 | + "capabilities": { |
| 28 | + "asr": [ |
| 29 | + "word_timestamps", |
| 30 | + "partial_results", |
| 31 | + "segments" |
| 32 | + ] |
| 33 | + }, |
| 34 | + "options": { |
| 35 | + "request": [ |
| 36 | + { |
| 37 | + "name": "language", |
| 38 | + "type": "string", |
| 39 | + "description": "Language code matching the selected single-language Kroko package; default auto uses the package language.", |
| 40 | + "required": false, |
| 41 | + "default": "auto" |
| 42 | + }, |
| 43 | + { |
| 44 | + "name": "decoding_method", |
| 45 | + "type": "enum", |
| 46 | + "description": "RNN-T decoding method; greedy search remains the parity-tested default.", |
| 47 | + "values": [ |
| 48 | + "greedy_search", |
| 49 | + "modified_beam_search" |
| 50 | + ], |
| 51 | + "required": false, |
| 52 | + "default": "greedy_search" |
| 53 | + }, |
| 54 | + { |
| 55 | + "name": "num_beams", |
| 56 | + "type": "int", |
| 57 | + "description": "Maximum active hypotheses retained by modified beam search.", |
| 58 | + "required": false, |
| 59 | + "min": 1, |
| 60 | + "max": 64, |
| 61 | + "default": 4 |
| 62 | + }, |
| 63 | + { |
| 64 | + "name": "blank_penalty", |
| 65 | + "type": "float", |
| 66 | + "description": "Non-negative score subtracted from the RNN-T blank logit.", |
| 67 | + "required": false, |
| 68 | + "min": 0.0, |
| 69 | + "default": 0.0 |
| 70 | + }, |
| 71 | + { |
| 72 | + "name": "hotwords", |
| 73 | + "type": "string", |
| 74 | + "description": "Slash- or newline-separated natural-text phrases; requires modified beam search.", |
| 75 | + "required": false |
| 76 | + }, |
| 77 | + { |
| 78 | + "name": "hotwords_score", |
| 79 | + "type": "float", |
| 80 | + "description": "Non-negative per-token context boost for hotword phrases.", |
| 81 | + "required": false, |
| 82 | + "min": 0.0, |
| 83 | + "default": 1.5 |
| 84 | + }, |
| 85 | + { |
| 86 | + "name": "enable_endpoint", |
| 87 | + "type": "bool", |
| 88 | + "description": "Enable automatic endpoint speech segments.", |
| 89 | + "required": false, |
| 90 | + "default": false |
| 91 | + }, |
| 92 | + { |
| 93 | + "name": "rule1_min_trailing_silence_sec", |
| 94 | + "type": "float", |
| 95 | + "description": "Endpoint timeout in seconds even when no speech token was decoded.", |
| 96 | + "required": false, |
| 97 | + "min": 0.0, |
| 98 | + "default": 2.4 |
| 99 | + }, |
| 100 | + { |
| 101 | + "name": "rule2_min_trailing_silence_sec", |
| 102 | + "type": "float", |
| 103 | + "description": "Endpoint silence in seconds after a speech token was decoded.", |
| 104 | + "required": false, |
| 105 | + "min": 0.0, |
| 106 | + "default": 1.2 |
| 107 | + }, |
| 108 | + { |
| 109 | + "name": "rule3_min_utterance_length_sec", |
| 110 | + "type": "float", |
| 111 | + "description": "Maximum utterance duration in seconds before an endpoint.", |
| 112 | + "required": false, |
| 113 | + "min": 0.0, |
| 114 | + "default": 20.0 |
| 115 | + } |
| 116 | + ], |
| 117 | + "session": [], |
| 118 | + "load": [] |
| 119 | + }, |
| 120 | + "runtime": { |
| 121 | + "tags": [ |
| 122 | + "gguf", |
| 123 | + "stream" |
| 124 | + ] |
| 125 | + }, |
3 | 126 | "sources": [ |
4 | 127 | { |
5 | 128 | "format": "gguf", |
|
28 | 151 | "weights": "model:model.safetensors" |
29 | 152 | } |
30 | 153 | } |
31 | | - ] |
| 154 | + ], |
| 155 | + "packages": [ |
| 156 | + { |
| 157 | + "id": "kroko_asr_community_converted", |
| 158 | + "display_name": "Kroko Community ASR converted layout", |
| 159 | + "default": true, |
| 160 | + "format": "safetensors", |
| 161 | + "precision": "native", |
| 162 | + "target_directory": "Kroko-ASR-Community", |
| 163 | + "files": [ |
| 164 | + "config.json", |
| 165 | + "model.safetensors", |
| 166 | + "tokens.txt" |
| 167 | + ], |
| 168 | + "download": { |
| 169 | + "kind": "converter", |
| 170 | + "converter": "tools/community_models/convert_kroko_onnx.py", |
| 171 | + "description": "Convert a downloaded public free Kroko Community .data package into the native audio.cpp safetensors layout." |
| 172 | + } |
| 173 | + } |
| 174 | + ], |
| 175 | + "dependencies": [], |
| 176 | + "ui": { |
| 177 | + "recommended_package": "kroko_asr_community_converted", |
| 178 | + "tags": [ |
| 179 | + "ASR", |
| 180 | + "GGUF" |
| 181 | + ], |
| 182 | + "docs": [ |
| 183 | + "docs/asr.md", |
| 184 | + "docs/community_models/kroko_asr.md", |
| 185 | + "docs/gguf.md" |
| 186 | + ] |
| 187 | + } |
32 | 188 | } |
0 commit comments