An experimental weight-surgery variant of SmolLM2-135M-Instruct, made with the HyperTensor CECI "graft" procedure. It is a research artifact: it does not outperform its base model.
Only the MLPs of layers 0, 3, 6, 9, 12, 15, 18 and 21 were changed: each was blended 0.2 toward its mirror layer (29, 26, 23, 20, 17, 14, 11, 8) through a rank-172 projector from the target layer's q_proj. Created by scripts/publish_grafts.py.
The other 248 of 272 tensors are bit-identical to the base model. Weights are stored in float32. The tokenizer and chat template are the base model's.
Teacher-forced next-token loss on 30 web and 30 code documents (512 tokens each, data/corpus/{web,code}.dev.jsonl), compared with the base model:
| text | base NLL | this model NLL | perplexity change | top-1 agreement with base | KL(base‖model) |
|---|---|---|---|---|---|
| web | 2.865 | 2.970 | +11.0% | 82.3% | 0.125 |
| code | 1.783 | 1.936 | +16.5% | 84.3% | 0.168 |
| all | 2.324 | 2.453 | +13.7% | 83.3% | 0.146 |
| original HyperTensor test | base | this model |
|---|---|---|
| graft_proof 15-sentence PPL (mean of per-sentence PPL) | 60.96 | 78.05 |
| graft_benchmark MMLU-lite (50 items) | 31/50 | 31/50 (+0 / -0 items, sign-test p=1.00) |
| graft_benchmark BoolQ (15 items) | 6/15 | 6/15 (+3 / -3, p=1.00) |
The earlier card claimed "distributed transformation". The "% recovery" figures compared this model with a copy of the base whose MLP had been zeroed. This model was never ablated, so they do not measure recovery. On real text the model is slightly worse than its base, and the small MMLU-lite/BoolQ differences are a few items out of 50/15 and are not statistically significant.
from transformers import AutoModelForCausalLM, AutoTokenizer
tok = AutoTokenizer.from_pretrained("NagusameCS/minHjerteven")
model = AutoModelForCausalLM.from_pretrained("NagusameCS/minHjerteven")
msgs = [{"role": "user", "content": "What is the capital of France?"}]
inputs = tok.apply_chat_template(msgs, add_generation_prompt=True, return_tensors="pt", return_dict=True)
out = model.generate(**inputs, max_new_tokens=64, do_sample=False)
print(tok.decode(out[0, inputs["input_ids"].shape[1]:], skip_special_tokens=True))
The repo includes minHjerteven-Q8_0.gguf and a Modelfile:
hf download NagusameCS/minHjerteven --local-dir minHjerteven && cd minHjerteven
ollama create minhjerteven -f Modelfile && ollama run minhjerteven
# or directly: ollama run hf.co/NagusameCS/minHjerteven
Source: HyperTensor.
HuggingFaceTB/SmolLM2-135M-Instruct