const bool add_bos = llama_vocab_type(model) == LLAMA_VOCAB_TYPE_SPM; const bool add_bos = llama_should_add_bos_token(model); LOG("add_bos: %d\n", add_bos); std::vector<llama_token> embd_inp;8 changes: 3 additions & 5 deletions 8 examples/perplexity/perplexity.cpp @@ -149,...
从文本查询描述到SQL代码生成,提升SQL开发效率,提供多种NL2SQL模型服务能力,支持对接MySQL/PostgreSQL等数据源 - fixbug: add bos and eos token · meta-soul/NL2SQL-Copilot@ae42f19