Quazim0t0 commited on
Commit
50b07d8
·
1 Parent(s): 702ff2f

Apply engram repair to weights: bit-identical outputs, trainable n-gram memory for downstream distill/SFT

Browse files
Files changed (2) hide show
  1. README.md +13 -0
  2. model.safetensors +1 -1
README.md CHANGED
@@ -106,3 +106,16 @@ If you use this model, please cite:
106
  }
107
  ```
108
  <!-- CITE_END -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
106
  }
107
  ```
108
  <!-- CITE_END -->
109
+
110
+ ## Update: engram repair (behavior-preserving)
111
+
112
+ The n-gram Engram memory in the original weights was degenerate: with the frozen
113
+ LSH compressor at init scale, every token hashed to bucket 0, so only one table
114
+ row ever received gradient. This revision rescales the (frozen) compressor and
115
+ broadcasts the learned bucket-0 vector across all table rows.
116
+
117
+ **Outputs are bit-identical to the previous revision** (verified: max logit
118
+ difference 0.0 across a prompt battery). The only change: the Engram's hash now
119
+ spreads across the full table and every bucket is independently trainable — so
120
+ if you distill or SFT on top of this base, the n-gram memory will actually learn
121
+ instead of staying a constant bias.
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4f94cdd89c549c8ca6407bfc37522f55a112be3817dcaae8ce8e7e8f346cb7cb
3
  size 387815772
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce10eed160fd9adbcd1a8682dd962f533faed86cde45e6941399e7616704b2ca
3
  size 387815772