MCPcopy Create free account
hub / github.com/NVIDIA/FasterTransformer / __init__

Method __init__

examples/pytorch/t5/utils/ft_decoding.py:489–492  ·  view source on GitHub ↗
(self, encoder, decoding)

Source from the content-addressed store, hash-verified

487
488class FTT5(nn.Module):
489 def __init__(self, encoder, decoding):
490 super().__init__()
491 self.encoder = encoder
492 self.decoding = decoding
493
494 def forward(self, input_token, inputs_embeds, beam_size, max_seq_len,
495 top_k, top_p, beam_search_diversity_rate = 0.0,

Callers 1

__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected