Allow more online models to load tokens file from the memory (#1352)
Co-authored-by: xiao <shawl336@6163.com>
This commit is contained in:
@@ -46,8 +46,8 @@ struct OnlineModelConfig {
|
||||
std::string bpe_vocab;
|
||||
|
||||
/// if tokens_buf is non-empty,
|
||||
/// the tokens will be loaded from the buffered string instead of from the
|
||||
/// ${tokens} file
|
||||
/// the tokens will be loaded from the buffer instead of from the
|
||||
/// "tokens" file
|
||||
std::string tokens_buf;
|
||||
|
||||
OnlineModelConfig() = default;
|
||||
|
||||
Reference in New Issue
Block a user