Skip to content

Commit

Permalink
Update personality.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ParisNeo authored Jul 29, 2024
1 parent df7c88e commit 199c9e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lollms/personality.py
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ def fast_gen(
prompt = pr.build(placeholders,
self.model.tokenize,
self.model.detokenize,
(self.lollms.model.config.ctx_size - max_generation_size) if max_generation_size is not None else (self.lollms.model.config.ctx_size - 1024),
(self.lollms.model.config.ctx_size - max_generation_size) if max_generation_size is not None else (self.model.config.ctx_size - 1024),
sacrifice
)
# TODO : add show progress
Expand Down

0 comments on commit 199c9e2

Please sign in to comment.