Reformat everything

This commit is contained in:
oobabooga
2023-04-07 00:08:46 -03:00
parent 848c4edfd5
commit 01cacfc14f
29 changed files with 334 additions and 193 deletions

View File

@@ -50,9 +50,9 @@ class LlamaCppModel:
params.top_k = top_k
params.temp = temperature
params.repeat_penalty = repetition_penalty
#params.repeat_last_n = repeat_last_n
# params.repeat_last_n = repeat_last_n
#self.model.params = params
# self.model.params = params
self.model.add_bos()
self.model.update_input(context)