Add lm rescore to online-modified-beam-search (#133)

This commit is contained in:
PF Luo
2023-05-05 21:23:54 +08:00
committed by GitHub
parent 3b9c3db31d
commit 8c6a6768d5
26 changed files with 495 additions and 39 deletions

View File

@@ -15,7 +15,7 @@ struct OfflineLMConfig {
std::string model;
// LM scale
float scale = 1.0;
float scale = 0.5;
OfflineLMConfig() = default;