how to use idefics2 with different parameter value (defined in the demo)
#28
by
karambos
- opened
by default, the idefics2 model used the greedy method I want to use the model on different parameters like (temp., Repetition penalty, etc.)
How is it possible?
any suggestion
thank you
Hi
@karambos
that is correct, greedy mode is the default.
did you check the documentation https://huggingface.co/docs/transformers/main_classes/text_generation? and more specifically, the generate
method.
it gives you the arguments to pass for the parameters you mentionned
karambos
changed discussion status to
closed