MCPcopy Create free account
hub / github.com/espnet/espnet / init_decoder_model

Function init_decoder_model

test/espnet2/layers/test_create_adapter_fn.py:34–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32
33
34def init_decoder_model():
35 return TransformerDecoder(
36 vocab_size=10,
37 encoder_output_size=40,
38 attention_heads=4,
39 linear_units=40,
40 num_blocks=2,
41 input_layer="embed",
42 )
43
44
45# =========================================Houlsby================================================

Calls 1

TransformerDecoderClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…