Closed laikhtewari closed 11 months ago
You still need to specify the max_new_tokens
from the pipeline definition. Can we default to MSL if not user-specified?
You still need to specify the
max_new_tokens
from the pipeline definition. Can we default to MSL if not user-specified?
It should be automatically computed from the max_sequence_length - max_prompt_length
, see here
For model repos that don't have
max_sequence_length
in the config.json, default to usingmax_position_embeddings
. Ifmax_position_embeddings
is also not present, throw an error