Axon-352M-Think: ThinkInstillation checkpoint — DuoNeural 2026-07-09
Browse files- README.md +65 -0
- config.json +25 -0
- model.safetensors +3 -0
- tokenizer_config.json +7 -0
README.md
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
license: apache-2.0
|
| 5 |
+
tags:
|
| 6 |
+
- causal-lm
|
| 7 |
+
- duoneural
|
| 8 |
+
- thinking
|
| 9 |
+
- instillation
|
| 10 |
+
- custom-architecture
|
| 11 |
+
- research
|
| 12 |
+
pipeline_tag: text-generation
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
# Axon-352M-Think
|
| 16 |
+
|
| 17 |
+
**DuoNeural Research | 2026-07-09 | Archon**
|
| 18 |
+
|
| 19 |
+
Axon-352M after ThinkInstillation post-training. Built on top of Axon-352M (pretrained, 8.5B tokens) → SFT (loss=1.8482) → ThinkInstillation (loss=1.4023).
|
| 20 |
+
|
| 21 |
+
ThinkInstillation is a DuoNeural-developed post-training method that teaches a model to reason through a structured internal monologue before answering, without requiring a separate reasoning model or RLHF. See our published research for methodology details.
|
| 22 |
+
|
| 23 |
+
> ⚠️ This model has NOT been RLHF'd or abliterated. No refusal direction was trained — it has no alignment conditioning. Research use only.
|
| 24 |
+
|
| 25 |
+
## Architecture
|
| 26 |
+
|
| 27 |
+
Custom transformer (Axon architecture — not a standard HuggingFace model):
|
| 28 |
+
|
| 29 |
+
| Parameter | Value |
|
| 30 |
+
|-----------|-------|
|
| 31 |
+
| Layers | 30 |
|
| 32 |
+
| Hidden dim | 1024 |
|
| 33 |
+
| FFN dim | 2560 |
|
| 34 |
+
| Attention | GQA (8Q / 4KV heads) |
|
| 35 |
+
| Head dim | 128 |
|
| 36 |
+
| Vocab size | 49,152 (SmolLM2 tokenizer) |
|
| 37 |
+
| Max seq len | 2,048 |
|
| 38 |
+
| Activation | ReLU² |
|
| 39 |
+
| Normalization | RMSNorm + QK-norm |
|
| 40 |
+
| Position | RoPE (θ=10000) |
|
| 41 |
+
| Logit cap | 30.0 |
|
| 42 |
+
| Total params | ~352M |
|
| 43 |
+
|
| 44 |
+
## Training Pipeline
|
| 45 |
+
|
| 46 |
+
1. **Pretrain**: 8.5B tokens on smollm-corpus (FineWeb-edu-dedup 50%, Cosmopedia-v2 30%, OpenWebMath 10%, Python-edu 10%)
|
| 47 |
+
2. **SFT**: Instruction fine-tuning (val_loss=1.8482)
|
| 48 |
+
3. **ThinkInstillation**: DuoNeural method for structured internal reasoning (val_loss=1.4023)
|
| 49 |
+
|
| 50 |
+
## Loading
|
| 51 |
+
|
| 52 |
+
```python
|
| 53 |
+
import torch
|
| 54 |
+
from safetensors.torch import load_file
|
| 55 |
+
|
| 56 |
+
state_dict = load_file("model.safetensors")
|
| 57 |
+
# Custom Axon architecture required — see training script
|
| 58 |
+
```
|
| 59 |
+
|
| 60 |
+
## Authors
|
| 61 |
+
|
| 62 |
+
Archon (Lab Director, DuoNeural), Jesse Caldwell
|
| 63 |
+
|
| 64 |
+
---
|
| 65 |
+
*DuoNeural — Building AI with heart. [huggingface.co/DuoNeural](https://huggingface.co/DuoNeural)*
|
config.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_type": "axon",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"AxonForCausalLM"
|
| 5 |
+
],
|
| 6 |
+
"hidden_size": 1024,
|
| 7 |
+
"intermediate_size": 2560,
|
| 8 |
+
"num_hidden_layers": 30,
|
| 9 |
+
"num_attention_heads": 8,
|
| 10 |
+
"num_key_value_heads": 4,
|
| 11 |
+
"head_dim": 128,
|
| 12 |
+
"vocab_size": 49152,
|
| 13 |
+
"max_position_embeddings": 2048,
|
| 14 |
+
"rope_theta": 10000.0,
|
| 15 |
+
"logit_softcap": 30.0,
|
| 16 |
+
"hidden_act": "relu2",
|
| 17 |
+
"rms_norm_eps": 1e-05,
|
| 18 |
+
"tie_word_embeddings": false,
|
| 19 |
+
"torch_dtype": "bfloat16",
|
| 20 |
+
"post_training": "ThinkInstillation",
|
| 21 |
+
"sft_loss": 1.8482,
|
| 22 |
+
"think_loss": 1.4023,
|
| 23 |
+
"pretrain_tokens": "8.5B",
|
| 24 |
+
"duoneural_model": true
|
| 25 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:47e3758713714bf081d1d9cc6d22e8c0a891632e0c85a155316f4d2c64b691ef
|
| 3 |
+
size 704813784
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"tokenizer_class": "GPT2Tokenizer",
|
| 3 |
+
"bos_token": "<|endoftext|>",
|
| 4 |
+
"eos_token": "<|endoftext|>",
|
| 5 |
+
"model_max_length": 2048,
|
| 6 |
+
"tokenizer_source": "HuggingFaceTB/SmolLM2-135M-Instruct"
|
| 7 |
+
}
|