MCPcopy Create free account
hub / github.com/Standard-Intelligence/hertz-dev / __init__

Method __init__

ioblocks.py:87–89  ·  view source on GitHub ↗
(self, dim, vocab_size)

Source from the content-addressed store, hash-verified

85
86class GPTOutput(nn.Module):
87 def __init__(self, dim, vocab_size):
88 super().__init__()
89 self.output = nn.Linear(dim, vocab_size, bias=False)
90
91 def forward(self, x):
92 return self.output(x)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected