mirror of
https://github.com/ParisNeo/lollms.git
synced 2024-12-18 20:27:58 +00:00
fixed
This commit is contained in:
parent
583b6df58e
commit
8c39ae2e5a
@ -699,7 +699,7 @@ class AIPersonality:
|
||||
prompt = pr.build(placeholders,
|
||||
self.model.tokenize,
|
||||
self.model.detokenize,
|
||||
self.model.config.ctx_size - max_generation_size,
|
||||
max_generation_size,
|
||||
sacrifice
|
||||
)
|
||||
ntk = len(self.model.tokenize(prompt))
|
||||
|
Loading…
Reference in New Issue
Block a user