MCPcopy Create free account
hub / github.com/apple/axlearn / default_config

Method default_config

axlearn/common/decoder.py:924–927  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

922 """LM head layer for decoder to compute logits."""
923
924 @config_class
925 class Config(BaseLayer.Config):
926 vocab_size: Required[int] = REQUIRED # Size of the LM vocabulary.
927 # TODO(markblee): Rename this to input_dim.
928 embedding_dim: Required[int] = REQUIRED # Dimensionality of vocabulary embedding table.
929
930 @classmethod

Callers 1

ConfigClass · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected