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

Class Config

axlearn/common/deberta.py:410–412  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

408
409 @config_class
410 class Config(Encoder.Config):
411 # Relative position embedding shared across the transformer layer stack.
412 relative_pos_emb: Embedding.Config = DeBERTaV2RelativePositionalEmbedding.default_config()
413
414 @classmethod
415 def default_config(cls: type["DeBERTaV2Encoder"]) -> Encoder.Config:

Callers

nothing calls this directly

Calls 1

default_configMethod · 0.45

Tested by

no test coverage detected