MCPcopy Create free account
hub / github.com/HA-Transformer/MAT / generate

Method generate

fairseq/hub_utils.py:110–143  ·  view source on GitHub ↗
(self, tokens: torch.LongTensor, beam: int = 5, verbose: bool = False, **kwargs)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

sampleMethod · 0.95

Calls 6

_build_sampleMethod · 0.95
stringMethod · 0.95
decodeMethod · 0.95
printFunction · 0.85
build_generatorMethod · 0.80
inference_stepMethod · 0.45

Tested by

no test coverage detected