Change min_p default to 0.0

This commit is contained in:
oobabooga 2023-11-03 08:25:22 -07:00
parent 4537853e2c
commit 7f9c1cbb30
3 changed files with 3 additions and 3 deletions

View file

@ -252,7 +252,7 @@ def get_logits_processor_patch(self, **kwargs):
def generation_config_init_patch(self, **kwargs):
self.__init___old(**kwargs)
self.min_p = kwargs.pop("min_p", 1.0)
self.min_p = kwargs.pop("min_p", 0.0)
self.tfs = kwargs.pop("tfs", 1.0)
self.top_a = kwargs.pop("top_a", 0.0)
self.mirostat_mode = kwargs.pop("mirostat_mode", 0)