↓ 1 callersMethodprepare_inputs_for_generation(
self, input_ids, past_key_values=None, attention_mask=None, inputs_embeds=None, **kwargs
)
models/atom7b/modeling_llama.py:1030
↓ 1 callersFunctionsample_sequence_batch(model, context_tokens, context_lengths,
attention_mask, position_ids,
models/pangualpha/megatron/text_generation_utils.py:323