File size: 1,736 Bytes
e7c3757
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
---
language:
  - en
license: apache-2.0
tags:
  - mamba
  - ssm
  - causal-lm
  - neuralai
  - base-model
  - sft-queued
pipeline_tag: text-generation
base_model: state-spaces/mamba-2.8b
---

# 🧠 NeuralAI · Mamba K3

NeuralAI's **2.8B Mamba SSM** — the third and largest model in the NeuralAI line (K1 130M → K2 793M → **K3 2.8B**), fine-tuned from `state-spaces/mamba-2.8b` for assistant-style chat with worked reasoning, code, math, writing, and safety behaviors.

## Model Details

- **Architecture:** Mamba SSM (`state-spaces/mamba-2.8b`)
- **Parameters:** 2.8B
- **Status:** SFT queued — weights will land here when training completes
- **Fine-tune:** LoRA r=16, α=32 on Mamba `in_proj`, bf16, cosine LR 2e-4
- **Dataset:** NeuralAI curated set — 3,068 examples (computed-answer math, reasoning puzzles, code, safety, writing, factual, multi-turn)
- **Chat template:** NeuralAI `[INST]` (same as Mamba K1)
- **Creator:** De'Andrew Preston Harris, NeuralAI

## Status

- This page is **created ahead of the SFT run** (per the model-line order in [github.com/Subject-Emu-5259/NeuralAI](https://github.com/Subject-Emu-5259/NeuralAI)).
- Training is **paused pending GPU allocation** on the Colab runtime; the dataset and training script are ready to launch the moment a GPU is available.
- When the SFT run completes, the merged weights + tokenizer + config are pushed here automatically.

## Training Command (when GPU is available)

```bash
BASE_MODEL=state-spaces/mamba-2.8b HF_REPO=Subject-Emu-5259/NeuralAI-Mamba-K3 \
  python training/finetune_run.py
```

## Prompt Format

Same as Mamba K1 — the NeuralAI `[INST]` chat template:

```text
<|endoftext|>[INST] {user message} [/INST]
```

## License

Apache 2.0