MCPcopy Create free account
hub / github.com/RightNow-AI/TIDE / get_final_norm

Method get_final_norm

python/TIDE/adapters/base.py:24–26  ·  view source on GitHub ↗

Return the final LayerNorm/RMSNorm before the LM head.

(self, model: nn.Module)

Source from the content-addressed store, hash-verified

22
23 @abstractmethod
24 def get_final_norm(self, model: nn.Module) -> nn.Module:
25 """Return the final LayerNorm/RMSNorm before the LM head."""
26 ...
27
28 @abstractmethod
29 def get_lm_head(self, model: nn.Module) -> nn.Module:

Callers 1

__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected