M2-2B: 30K-step byte-level checkpoint (val PPL 2.73, bf16)
Browse files- README.md +45 -0
- config.json +146 -0
- model.safetensors +3 -0
README.md
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
license: mit
|
| 5 |
+
tags:
|
| 6 |
+
- awareliquid
|
| 7 |
+
- mt-lnn
|
| 8 |
+
- liquid-neural-network
|
| 9 |
+
- research
|
| 10 |
+
pipeline_tag: text-generation
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# M2-2B
|
| 14 |
+
|
| 15 |
+
**1.93B-parameter AwareLiquid M2 preset** (2080 width × 34 layers × 16 heads),
|
| 16 |
+
the M2 experimental line's 2b configuration trained via `m2_training`.
|
| 17 |
+
Byte-level tokenizer (UTF-8 bytes, vocab 256).
|
| 18 |
+
|
| 19 |
+
**Status at upload:** research milestone — first complete 30,000-step run.
|
| 20 |
+
|
| 21 |
+
## Measured
|
| 22 |
+
|
| 23 |
+
| Milestone | val PPL (byte-level, WikiText-103) |
|
| 24 |
+
|---|---|
|
| 25 |
+
| 10K steps (feasibility) | 4.53 |
|
| 26 |
+
| **30K steps (this checkpoint)** | **2.73** |
|
| 27 |
+
|
| 28 |
+
≈ 1.45 BPB. Training: bf16 model, AdamW8bit, lr 1e-4, seq 128,
|
| 29 |
+
batch 8 × grad_accum 4, on a single A100-PCIE-40GB.
|
| 30 |
+
|
| 31 |
+
## Boundaries (honest)
|
| 32 |
+
|
| 33 |
+
- **Byte-level, not a subword model** — PPL is on UTF-8 byte tokens; NOT
|
| 34 |
+
comparable to gpt2-vocab models. Serve with byte tokenization.
|
| 35 |
+
- **Not an instruct/chat model** — raw next-token pretraining only.
|
| 36 |
+
- **Research checkpoint** — bf16 safetensors (weight-tied embedding; the tied
|
| 37 |
+
`lm_head.weight` is omitted, standard HF re-tie on load). No optimizer state:
|
| 38 |
+
not exactly resumable.
|
| 39 |
+
- The M2 line's verdict so far is honest-null on reasoning mechanisms; this
|
| 40 |
+
checkpoint is the language-line scaling artifact, not a capability claim.
|
| 41 |
+
|
| 42 |
+
## Config
|
| 43 |
+
|
| 44 |
+
`config.json` carries the full MTLNNConfig (d_model 2080, 34 layers, 16 heads,
|
| 45 |
+
gwtb_n_heads=1, vocab 256, max_seq_len 129).
|
config.json
ADDED
|
@@ -0,0 +1,146 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"vocab_size": 256,
|
| 3 |
+
"max_seq_len": 129,
|
| 4 |
+
"rope_scale": 1.0,
|
| 5 |
+
"pad_token_id": 0,
|
| 6 |
+
"d_model": 2080,
|
| 7 |
+
"n_layers": 34,
|
| 8 |
+
"n_heads": 16,
|
| 9 |
+
"n_kv_heads": 4,
|
| 10 |
+
"d_head": 130,
|
| 11 |
+
"n_protofilaments": 13,
|
| 12 |
+
"map_hidden_dim": 64,
|
| 13 |
+
"tau_init": 1.0,
|
| 14 |
+
"tau_min": 0.01,
|
| 15 |
+
"tau_max": 10.0,
|
| 16 |
+
"dt": 1.0,
|
| 17 |
+
"polarity_mode": "scalar",
|
| 18 |
+
"polarity_rank": 16,
|
| 19 |
+
"gamma_init": 0.1,
|
| 20 |
+
"n_global_heads": 8,
|
| 21 |
+
"attention_layers": null,
|
| 22 |
+
"gtp_period": 256,
|
| 23 |
+
"n_time_scales": 5,
|
| 24 |
+
"resonance_freqs": [
|
| 25 |
+
0.01,
|
| 26 |
+
0.05623413251903491,
|
| 27 |
+
0.31622776601683794,
|
| 28 |
+
1.7782794100389228,
|
| 29 |
+
10.0
|
| 30 |
+
],
|
| 31 |
+
"gwtb_compression_ratio": 8,
|
| 32 |
+
"gwtb_n_heads": 1,
|
| 33 |
+
"gwtb_broadcast_init": 0.01,
|
| 34 |
+
"use_gwtb": false,
|
| 35 |
+
"use_global_coherence": false,
|
| 36 |
+
"workspace_iterations": 1,
|
| 37 |
+
"gwtb_per_block": false,
|
| 38 |
+
"core_iterations": 1,
|
| 39 |
+
"core_iter_gate_init": 0.0,
|
| 40 |
+
"signed_decay": false,
|
| 41 |
+
"signed_decay_init": "stock",
|
| 42 |
+
"selective_decay": false,
|
| 43 |
+
"selective_decay_mode": "tanh",
|
| 44 |
+
"selective_decay_snap": false,
|
| 45 |
+
"selective_decay_ste": false,
|
| 46 |
+
"liquid_step_ladder": false,
|
| 47 |
+
"liquid_step_kappa": 1.0,
|
| 48 |
+
"use_chunkwise_scan": false,
|
| 49 |
+
"chunkwise_scan_size": 64,
|
| 50 |
+
"use_householder_transition": false,
|
| 51 |
+
"householder_rank": 2,
|
| 52 |
+
"use_deltaproduct_transition": false,
|
| 53 |
+
"deltaproduct_rank": 2,
|
| 54 |
+
"deltaproduct_scale": 0.1,
|
| 55 |
+
"ffn_swiglu": true,
|
| 56 |
+
"ffn_expansion": 2.6666666666666665,
|
| 57 |
+
"qk_norm": true,
|
| 58 |
+
"scaled_residual_init": true,
|
| 59 |
+
"use_lateral_coupling": true,
|
| 60 |
+
"use_map_gate": true,
|
| 61 |
+
"stack_iterations": 1,
|
| 62 |
+
"use_competitive_gwtb": false,
|
| 63 |
+
"n_competitive_bids": 3,
|
| 64 |
+
"competitive_hard_winner": false,
|
| 65 |
+
"competitive_score_noise": 0.5,
|
| 66 |
+
"competitive_ortho_weight": 0.01,
|
| 67 |
+
"gwtb_external_bids": false,
|
| 68 |
+
"gwtb_external_bid_gate_init": 0.0,
|
| 69 |
+
"gwtb_dynamic_bandwidth": false,
|
| 70 |
+
"gwtb_bandwidth_gate_bias": 4.0,
|
| 71 |
+
"gwtb_bandwidth_threshold": 0.1,
|
| 72 |
+
"gwtb_bandwidth_hard_mask": false,
|
| 73 |
+
"use_top_down": false,
|
| 74 |
+
"top_down_gate_init": 0.0,
|
| 75 |
+
"top_down_goal": false,
|
| 76 |
+
"top_down_to_gwtb": false,
|
| 77 |
+
"top_down_gwtb_gate_init": 0.0,
|
| 78 |
+
"gwtb_memory_bid": false,
|
| 79 |
+
"gwtb_memory_bid_dim": 64,
|
| 80 |
+
"gwtb_memory_bid_heads": 1,
|
| 81 |
+
"gwtb_memory_bid_decay": 0.95,
|
| 82 |
+
"gwtb_memory_bid_gate_init": 0.0,
|
| 83 |
+
"use_graceful_degradation": true,
|
| 84 |
+
"coherence_sparsity": 0.1,
|
| 85 |
+
"coherence_heads": 4,
|
| 86 |
+
"use_decay_wm": false,
|
| 87 |
+
"wm_decay_rate_init": 0.99,
|
| 88 |
+
"compute_skip_threshold": 0.0,
|
| 89 |
+
"dropout": 0.0,
|
| 90 |
+
"attention_dropout": 0.0,
|
| 91 |
+
"tie_embeddings": true,
|
| 92 |
+
"use_predictive_coding": false,
|
| 93 |
+
"predictive_loss_weight": 0.05,
|
| 94 |
+
"direct_target_max_len": 16,
|
| 95 |
+
"use_position_free_attention": false,
|
| 96 |
+
"h_prev_position_weight": 0.05,
|
| 97 |
+
"keep_relative_bias": true,
|
| 98 |
+
"position_free_mode": "hybrid",
|
| 99 |
+
"use_causal_head": false,
|
| 100 |
+
"use_self_monitor_head": false,
|
| 101 |
+
"use_mtp_heads": false,
|
| 102 |
+
"mtp_lookahead": 3,
|
| 103 |
+
"mtp_loss_weight": 0.1,
|
| 104 |
+
"enable_speculative_decoding": false,
|
| 105 |
+
"dynamic_scale_gates": true,
|
| 106 |
+
"scale_gate_init_bias": 2.0,
|
| 107 |
+
"scale_gate_active_threshold": 0.5,
|
| 108 |
+
"scale_gate_skip_threshold": 0.0,
|
| 109 |
+
"sparse_resonance_kernel": false,
|
| 110 |
+
"sparse_resonance_top_k": 1,
|
| 111 |
+
"scale_gate_period": 1,
|
| 112 |
+
"use_hebbian": false,
|
| 113 |
+
"hebbian_lr": 0.0001,
|
| 114 |
+
"hebbian_lavi_gate": true,
|
| 115 |
+
"use_hebbian_refactor": false,
|
| 116 |
+
"hebbian_base_lr": 0.01,
|
| 117 |
+
"hebbian_window": 32,
|
| 118 |
+
"hebbian_grad_frac_cap": 0.05,
|
| 119 |
+
"hebbian_refactor_mode": "weak",
|
| 120 |
+
"use_world_model": false,
|
| 121 |
+
"world_model_loss_weight": 0.01,
|
| 122 |
+
"world_model_hidden_ratio": 0.5,
|
| 123 |
+
"world_model_proj_ratio": 0.5,
|
| 124 |
+
"world_model_ema_decay": 0.99,
|
| 125 |
+
"world_model_use_ema_target": true,
|
| 126 |
+
"world_model_warmup_steps": 1000,
|
| 127 |
+
"use_hamiltonian_world_model": false,
|
| 128 |
+
"hamiltonian_loss_weight": 0.01,
|
| 129 |
+
"hamiltonian_phase_dim": 32,
|
| 130 |
+
"hamiltonian_hidden": 64,
|
| 131 |
+
"hamiltonian_dt": 0.1,
|
| 132 |
+
"hamiltonian_condition_on_context": true,
|
| 133 |
+
"hamiltonian_context_dim": 32,
|
| 134 |
+
"causal_check_method": "cosine",
|
| 135 |
+
"causal_check_window": 5,
|
| 136 |
+
"causal_check_threshold": 0.3,
|
| 137 |
+
"use_rhythm": false,
|
| 138 |
+
"rhythm_scale_init": 0.1,
|
| 139 |
+
"global_rhythm": false,
|
| 140 |
+
"fast_weight_core": false,
|
| 141 |
+
"fast_weight_rank": 16,
|
| 142 |
+
"fast_weight_decay": 0.99,
|
| 143 |
+
"d_proto": 160,
|
| 144 |
+
"d_proto_total": 2080,
|
| 145 |
+
"d_ff": 5632
|
| 146 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bc89764bb53a1f4ce5d0730b8f57be2f91d2b72bfebfc72e00e67b9e09ae6738
|
| 3 |
+
size 3859611968
|