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

Function tiny_setup

tests/test_calibrate.py:152–162  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

150
151@pytest.fixture
152def tiny_setup():
153 model = TinyModel(num_layers=8, dim=64, vocab_size=256)
154 tokenizer = TinyTokenizer(vocab_size=256)
155 config = TIDEConfig(
156 checkpoint_interval=4,
157 calibration_samples=16,
158 convergence_threshold=0.95,
159 router_bottleneck_dim=32,
160 min_layers=0,
161 )
162 return model, tokenizer, config
163
164
165class TestCollectHiddenStates:

Callers

nothing calls this directly

Calls 3

TIDEConfigClass · 0.90
TinyModelClass · 0.85
TinyTokenizerClass · 0.85

Tested by

no test coverage detected