("temperature-scale", &temperature_scale, "Temperature scale for confidence computation in decoding."); po->Register( "rule-fsts", &rule_fsts, "If not empty, it specifies fsts for inverse text normalization. " "If there are multiple fsts, they are separated by a comma....
OfflineLMConfig(const std::string &model, float scale) : model(model), scale(scale) {} void Register(ParseOptions *po); bool Validate() const; std::string ToString() const; }; } // namespace sherpa_onnx #endif // SHERPA_ONNX_CSRC_OFFLINE_LM_CONFIG_H_ 71 changes: 71 additions &...