{
    "version-major": 276,
    "version-minor": 0,
    "model-info": {
        "version": "en-ondeviceiOS-gasr-1.1.0.3-20260127-4d6mbyhk38",
        "language": "en",
        "sampling-rates": [
            8000,
            16000
        ],
        "tasks": [
            "TranslateApp",
            "LiveTranscription",
            "OfflineTranscription"
        ],
        "phoneset-version": "ENU54",
        "acoustic-profile-version": "qsr-DNN-NOADAPT-1.0",
        "os-types": [
            "*"
        ],
        "acoustic-model-version": "GASR-1.1.0.3"
    },
    "recognizers": {
        "8000|16000 :: TranslateApp :: * :: * :: *": "conformer :: not-used :: redecode-mt",
        "8000|16000 :: LiveTranscription :: * :: * :: *": "conformer :: not-used :: redecode",
        "8000|16000 :: OfflineTranscription :: * :: * :: *": "conformer-offline :: not-used :: redecode"
    },
    "frontends": {
        "conformer": {
            "fbank-with-audio-analytics": {
                "dither": 1,
                "num-mel-bins": 80,
                "resample-freq": 16000,
                "resample-cutoff-hz": 3999,
                "resample-num-zeros": 10,
                "pitch-viterbi-window": 50,
                "low-watermark": 4
            },
            "cache-input": {
                "cache-data": 0,
                "cache-analytics": 1
            },
            "voice-activity-gating": {
                "model-file": "./VAD.mlmodelc/model.mil",
                "model-config-file": "./VAD.mlmodelc/context_16.mil.config",
                "num-silence-padding-frames": 40,
                "silence-vector-file": "./misc/silence-fbank.txt",
                "align-frames": false,
                "output-silence-posteriors": true,
                "apply-exp": false,
                "thresholds": {
                    "low": 0.2,
                    "medium": 0.5,
                    "high": 0.8
                },
                "warmup-silence-ms": 500,
                "activate-speech-ms": 30,
                "deactivate-silence-ms": 500,
                "cooldown-silence-ms": 1000,
                "vad-timeout-ms": 5000,
                "align-to-chunk-boundary": true
            },
            "am-fusion-encoder": {
                "model-file": "./encoder.mlmodelc/model.mil",
                "model-config-file": "./encoder.mlmodelc/streaming-encoder.mil.config",
                "mask-chunk-padding": false,
                "task-biasing-override-signals": "locale",
                "task-biasing-symbol-file-list": "./misc/locale_table.txt",
                "task-biasing-default-symbols": "en_US",
                "reset-states-after-inactive-ms": 5000,
                "silence-vector-file": "./misc/silence-fbank.txt"
            },
            "compute-ahead-input": {}
        },
        "conformer-offline": {
            "fbank-with-audio-analytics": {
                "dither": 1,
                "num-mel-bins": 80,
                "resample-freq": 16000,
                "resample-cutoff-hz": 3999,
                "resample-num-zeros": 10,
                "pitch-viterbi-window": 50,
                "low-watermark": 4
            },
            "cache-input": {
                "cache-data": 0,
                "cache-analytics": 1
            },
            "voice-activity-gating": {
                "model-file": "./VAD.mlmodelc/model.mil",
                "model-config-file": "./VAD.mlmodelc/context_64.mil.config",
                "num-silence-padding-frames": 80,
                "silence-vector-file": "./misc/silence-fbank.txt",
                "align-frames": false,
                "output-silence-posteriors": true,
                "apply-exp": false,
                "thresholds": {
                    "low": 0.2,
                    "medium": 0.5,
                    "high": 0.8
                },
                "warmup-silence-ms": 500,
                "activate-speech-ms": 30,
                "deactivate-silence-ms": 2000,
                "cooldown-silence-ms": 1000,
                "vad-timeout-ms": 5000,
                "align-to-chunk-boundary": false
            },
            "am-fusion-encoder": {
                "model-file": "./encoder.mlmodelc/model.mil",
                "model-config-file": "./encoder.mlmodelc/streaming-encoder-64-16.mil.config",
                "mask-chunk-padding": false,
                "task-biasing-override-signals": "locale",
                "task-biasing-symbol-file-list": "./misc/locale_table.txt",
                "task-biasing-default-symbols": "en_US",
                "reset-states-after-inactive-ms": 5000,
                "silence-vector-file": "./misc/silence-fbank.txt"
            },
            "compute-ahead-input": {}
        }
    },
    "decodables": {
        "not-used": {
            "matrix-scaled-mapped": {
                "am-file": "./misc/final.mdl",
                "am-scale": 1.0,
                "skip-pdf-size-check": true
            }
        }
    },
    "feature-read": {
        "batch-size": 1
    },
    "decoders": {
        "redecode-mt": {
            "ctc-prefix-beam-search-decoder": {
                "symbol-beam": 5,
                "beam": 5,
                "blank": 0,
                "word-syms-file": "./misc/units.txt",
                "phone-syms-file": "./misc/units.txt",
                "non-displayable-syms-file": "./misc/non_display_symbols.txt",
                "keep-only-best-in-lattice": false,
                "drop-hypothesis-with-oov": false,
                "stabilizer-minimum-word-seen-ms": 200,
                "exit-without-search": false,
                "use-viterbi": false,
                "preserve-white-space": true,
                "inter-utterance-left-context-max-size": 0,
                "utt-detect": {
                    "hard-max-utt-length-ms": 30720,
                    "use-nnet": false,
                    "utt-start-threshold": 1.0,
                    "enable-avg-silpost": true,
                    "silence-posterior-threshold": 0.75,
                    "inter-utt-sil": 20,
                    "max-utt-sil": 50,
                    "max-utt-length": 100,
                    "enable-adaptive-inter-utt-sil": true,
                    "adaptive-inter-utt-sil-rate": 1.5,
                    "adaptive-inter-utt-sil-max": 20,
                    "adaptive-inter-utt-sil-min": 18
                },
                "first-token-max-duration": 20,
                "max-completion-latency-ms": 10000,
                "max-incompletion-tokens": 75,
                "segmentation-type": "Semantic",
                "segment-start-tag": "",
                "segment-end-tag": "\u2581<segE>",
                "segmentation-latency-control": {
                    "low": {
                        "segment-tag-penalty": -1.0
                    },
                    "medium": {
                        "segment-tag-penalty": 0.0
                    },
                    "high": {
                        "segment-tag-penalty": 1.0
                    }
                },
                "speech-detect-threshold": 0.6,
                "non-blank-penalty": 0.0,
                "repetition-offset": false
            },
            "AED-beam-search-decoder": {
                "is-used-for-redecoding": true,
                "decoder-model-file": "./decoder.bnns.mlmodelc/model.mil",
                "decoder-model-config-file": "./decoder.bnns.mlmodelc/dynamic-decoder-1st-pass.bnns.mil.config",
                "use-dynamic-shapes": true,
                "blank": 0,
                "symbol-file": "./misc/units.txt",
                "non-displayable-syms-file": "./misc/non_display_symbols.txt",
                "preserve-white-space": true,
                "separator": "\u2581",
                "num-frames-per-decoding-window": 512,
                "max-output-size-per-window": 256,
                "max-history-size": 256,
                "exit-without-search": false,
                "use-utterance-level-timestamp": true,
                "first-token-max-duration": 20,
                "reset-candidate-pool-every-step": false,
                "length-penalty": 0,
                "scoring-method": "average-by-length",
                "inter-utterance-left-context-max-size": 0,
                "use-joint-decoding": true,
                "CTC-scale": 0.3,
                "AED-scale": 0.7,
                "label-margin": 15,
                "trim-encoder-cache": true,
                "trim-encoder-cache-margin": 200,
                "segment-end-tag": "\u2581<segE>",
                "rescoring-ignored-labels": "",
                "rescoring-CTC-scale": 0.7,
                "rescoring-AED-scale": 0.3
            }
        },
        "redecode": {
            "ctc-prefix-beam-search-decoder": {
                "symbol-beam": 5,
                "beam": 5,
                "blank": 0,
                "word-syms-file": "./misc/units.txt",
                "phone-syms-file": "./misc/units.txt",
                "non-displayable-syms-file": "./misc/non_display_symbols.txt",
                "keep-only-best-in-lattice": false,
                "drop-hypothesis-with-oov": false,
                "stabilizer-minimum-word-seen-ms": 1,
                "exit-without-search": false,
                "use-viterbi": false,
                "preserve-white-space": true,
                "inter-utterance-left-context-max-size": 0,
                "utt-detect": {
                    "hard-max-utt-length-ms": 30720,
                    "use-nnet": false,
                    "utt-start-threshold": 1.0,
                    "enable-avg-silpost": true,
                    "silence-posterior-threshold": 0.75,
                    "inter-utt-sil": 100,
                    "max-utt-sil": 50,
                    "max-utt-length": 400,
                    "enable-adaptive-inter-utt-sil": true,
                    "adaptive-inter-utt-sil-rate": 16,
                    "adaptive-inter-utt-sil-max": 100,
                    "adaptive-inter-utt-sil-min": 10
                },
                "first-token-max-duration": 20,
                "max-completion-latency-ms": 10000,
                "max-incompletion-tokens": 75,
                "segmentation-type": "Semantic",
                "segment-start-tag": "",
                "segment-end-tag": "\u2581<segE>",
                "segmentation-latency-control": {
                    "low": {
                        "segment-tag-penalty": -1.0
                    },
                    "medium": {
                        "segment-tag-penalty": 0.0
                    },
                    "high": {
                        "segment-tag-penalty": 1.0
                    }
                },
                "speech-detect-threshold": 0.6,
                "non-blank-penalty": 0.0,
                "repetition-offset": false
            },
            "AED-beam-search-decoder": {
                "is-used-for-redecoding": true,
                "decoder-model-file": "./decoder.bnns.mlmodelc/model.mil",
                "decoder-model-config-file": "./decoder.bnns.mlmodelc/dynamic-decoder-1st-pass.bnns.mil.config",
                "use-dynamic-shapes": true,
                "blank": 0,
                "symbol-file": "./misc/units.txt",
                "non-displayable-syms-file": "./misc/non_display_symbols.txt",
                "preserve-white-space": true,
                "separator": "\u2581",
                "num-frames-per-decoding-window": 512,
                "max-output-size-per-window": 256,
                "max-history-size": 256,
                "exit-without-search": false,
                "use-utterance-level-timestamp": true,
                "first-token-max-duration": 20,
                "reset-candidate-pool-every-step": false,
                "length-penalty": 0,
                "scoring-method": "average-by-length",
                "inter-utterance-left-context-max-size": 0,
                "use-joint-decoding": true,
                "CTC-scale": 0.3,
                "AED-scale": 0.7,
                "label-margin": 15,
                "trim-encoder-cache": true,
                "trim-encoder-cache-margin": 200,
                "segment-end-tag": "\u2581<segE>",
                "rescoring-ignored-labels": "",
                "rescoring-CTC-scale": 0.7,
                "rescoring-AED-scale": 0.3
            }
        }
    },
    "text-proc": {
        "post-itn-hammer": {
            "en_CA": {
                "rule-fst": [
                    "./TP/us2common.fst",
                    "./TP/common2ca.fst"
                ]
            },
            "en_GB": {
                "rule-fst": [
                    "./TP/us2common.fst",
                    "./TP/common2au.fst",
                    "./TP/au2uk.fst"
                ]
            },
            "en_AU": {
                "rule-fst": [
                    "./TP/us2common.fst",
                    "./TP/common2au.fst"
                ]
            },
            "en_IN": {
                "rule-fst": [
                    "./TP/us2common.fst",
                    "./TP/common2au.fst"
                ]
            },
            "en_IE": {
                "rule-fst": [
                    "./TP/us2common.fst",
                    "./TP/common2au.fst",
                    "./TP/au2uk.fst"
                ]
            },
            "en_SG": {
                "rule-fst": [
                    "./TP/us2common.fst",
                    "./TP/common2au.fst"
                ]
            },
            "en_ZA": {
                "rule-fst": [
                    "./TP/us2common.fst",
                    "./TP/common2au.fst"
                ]
            },
            "en_NZ": {
                "rule-fst": [
                    "./TP/us2common.fst",
                    "./TP/common2au.fst"
                ]
            }
        }
    }
}
