do_sampleboolean default False (random)- decoding strategies
top_knumber of samples to draw (1 or more)num_beams(beam means set of candidate sequences)- 1 means greedy search
no_repeat_ngram_sizedefault 0 (all ngrams of that size can only occur once)
<h color="red">max_length</h>
min_length
max_new_tokens
repetition_penalty1 or more
HF TG Usages
Generation
We’re on a journey to advance and democratize artificial intelligence through open source and open science.
https://huggingface.co/docs/transformers/v4.30.0/main_classes/text_generation

Seonglae Cho