Updated the sample code to avoid warning
#29
by
Krooz
- opened
UserWarning: do_sample
is set to False
. However, top_p
is set to 0.95
-- this flag is only used in sample-based generation modes. You should set do_sample=True
or unset top_p
.