MCPcopy Create free account
hub / github.com/kyegomez/BitNet / bitnet_model

Function bitnet_model

tests/tests.py:144–153  ·  view source on GitHub ↗

A fixture to create an instance of BitNetTransformer model

()

Source from the content-addressed store, hash-verified

142
143@pytest.fixture
144def bitnet_model():
145 """A fixture to create an instance of BitNetTransformer model"""
146 return BitNetTransformer(
147 num_tokens=20000,
148 dim=512,
149 depth=6,
150 dim_head=64,
151 heads=8,
152 ff_mult=4,
153 )
154
155
156@pytest.mark.parametrize(

Calls 1

BitNetTransformerClass · 0.90

Tested by

no test coverage detected