nolocal config: ablation for the undifferentiated local op (Phase 12 finding 3)
Browse files
tinychess/__pycache__/config.cpython-314.pyc
CHANGED
|
Binary files a/tinychess/__pycache__/config.cpython-314.pyc and b/tinychess/__pycache__/config.cpython-314.pyc differ
|
|
|
tinychess/config.py
CHANGED
|
@@ -78,6 +78,13 @@ def transformer_config(**kw) -> TinyChessConfig:
|
|
| 78 |
return baseline_config(**c)
|
| 79 |
|
| 80 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 81 |
REGISTRY = {
|
| 82 |
"baseline": baseline_config,
|
| 83 |
"memory": memory_config,
|
|
@@ -88,6 +95,7 @@ REGISTRY = {
|
|
| 88 |
"full": full_config,
|
| 89 |
"mlp": mlp_config,
|
| 90 |
"transformer": transformer_config,
|
|
|
|
| 91 |
}
|
| 92 |
|
| 93 |
|
|
|
|
| 78 |
return baseline_config(**c)
|
| 79 |
|
| 80 |
|
| 81 |
+
# local-op ablation (Phase 12 static analysis: gates barely differentiated, likely dead weight)
|
| 82 |
+
def nolocal_config(**kw):
|
| 83 |
+
c = dict(use_local=False)
|
| 84 |
+
c.update(kw)
|
| 85 |
+
return baseline_config(**c)
|
| 86 |
+
|
| 87 |
+
|
| 88 |
REGISTRY = {
|
| 89 |
"baseline": baseline_config,
|
| 90 |
"memory": memory_config,
|
|
|
|
| 95 |
"full": full_config,
|
| 96 |
"mlp": mlp_config,
|
| 97 |
"transformer": transformer_config,
|
| 98 |
+
"nolocal": nolocal_config,
|
| 99 |
}
|
| 100 |
|
| 101 |
|