mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-09-06 11:00:48 +00:00
Fix up for newer models on reset context. This fixes the model from totally failing after a reset context.
This commit is contained in:
@@ -27,7 +27,7 @@ private:
|
||||
LLamaPrivate *d_ptr;
|
||||
|
||||
protected:
|
||||
std::vector<Token> tokenize(const std::string&) const override;
|
||||
std::vector<Token> tokenize(PromptContext &, const std::string&) const override;
|
||||
std::string_view tokenToString(Token) const override;
|
||||
Token sampleToken(PromptContext& ctx) const override;
|
||||
bool evalTokens(PromptContext& ctx, const std::vector<int32_t> &tokens) const override;
|
||||
|
Reference in New Issue
Block a user