mirror of
https://github.com/ParisNeo/lollms.git
synced 2024-12-18 20:27:58 +00:00
Update personality.py
This commit is contained in:
parent
59650e853d
commit
cf28d8b45e
@ -700,7 +700,7 @@ class AIPersonality:
|
||||
prompt = pr.build(placeholders,
|
||||
self.model.tokenize,
|
||||
self.model.detokenize,
|
||||
max_generation_size,
|
||||
(self.lollms.model.config.ctx_size - max_generation_size) if max_generation_size else (self.lollms.model.config.ctx_size - 1024),
|
||||
sacrifice
|
||||
)
|
||||
# TODO : add show progress
|
||||
|
Loading…
Reference in New Issue
Block a user