You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
As I mentioned in this issue, the default value of top_p and temperature is not guaranteed to be 1. Therefore, the code below will get a modified logits, i.e., a distribution processed depending on generation_config from hf end.
Describe the bug
As I mentioned in this issue, the default value of
top_p
andtemperature
is not guaranteed to be1
. Therefore, the code below will get a modified logits, i.e., a distribution processed depending ongeneration_config
from hf end.LMFlow/src/lmflow/models/hf_decoder_model.py
Lines 382 to 405 in 1b223f7
Much worse, you applied
top_p
andtemperature
again inscore_to_prob
, resulting unexpected distribution:LMFlow/src/lmflow/pipeline/inferencer.py
Lines 435 to 440 in 1b223f7
The text was updated successfully, but these errors were encountered: