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