Run this model with HF Jobs
Run KreatixLabs/Kreatix-K2-2B-Reasoning on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/KreatixLabs/Kreatix-K2-2B-Reasoning. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/KreatixLabs/Kreatix-K2-2B-Reasoning on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/KreatixLabs/Kreatix-K2-2B-Reasoning. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/KreatixLabs/Kreatix-K2-2B-Reasoning. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use KreatixLabs/Kreatix-K2-2B-Reasoning with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- K2
How to use KreatixLabs/Kreatix-K2-2B-Reasoning with K2:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Kreatix K2 2B Reasoning
Kreatix K2 2B Reasoning (2,284,122,848 parameters) is Kreatix K2 450M Reasoning scaled up via exact function-preserving surgery β no training required, built on the same identity-initialized layer-cloning recipe that produced 450M from 300M:
- Depth 24 -> 40 layers: all 24 real layers kept in their exact original order, with 16
identity-initialized clones inserted between them (
DDDAx10); identity clones are exact no-ops at init and come alive in a fine-tune. - Width 1024 -> 2048: every hidden-dim matrix duplicated (columns in at 0.5 / rows out);
rms(dup(x)) == rms(x)keeps RMSNorm and all math exact. - MLP 2816 -> 5632: each SwiGLU neuron duplicated;
mlp.downcolumns duplicated at 0.5. - Untied head (family-style for 2B+):
lm_head = 0.5 * dup(embed cols). - Vision tower upgraded: 512 -> 1024 hidden, 8 -> 16 heads (head_dim 64 kept, so the 2D rotary grid is untouched), MLP 1408 -> 2816, depth 8 -> 16 with identity clones β ~230M ViT, exact function at init, ready to grow in fine-tuning.
- KreatixK2 identity: every chat gets the built-in system prompt from
kreatix/identity.py(unless the caller supplies their own), keeping the model calibrated to its KreatixLabs identity in English and Finnish. - Context: NoPE + fixed-state Gated DeltaNet extrapolate naturally;
attn_logn_base=8192enables the built-in logN query scaling beyond ~8k tokens.max_seq_lenstays 1,048,576.
At init the 2B reproduces the 450M/750M outputs up to floating-point reduction order (~1e-5 logits in fp32, verified on text and image inputs with identical greedy tokens); ~218M dormant parameters in the LM (plus ~22M in the ViT) are ready to be trained awake. Rough CPU (fp32, 8 threads) reference: ~5 tok/s prefill, ~0.6 tok/s decode β GPU serving (e.g. the B300s the K2 trainer targets) is the intended runtime.
Status and limitations
- This release is the up-scaled model before any further training. At initialisation it reproduces the 450M's outputs, so it knows what the 450M knows, with the 450M's limitations: factual errors, repetition loops, weak instruction following and unreliable arithmetic.
- The extra capacity only helps after training. Fine-tuning and long-context training runs of this model are in progress; their checkpoints and logs are public in Kreatix-K2-2B-T4-run.
- Treat it as a research checkpoint for continued training, not as a chat assistant.
Usage
pip install -r requirements.txt
python scripts/generate.py --model . --tokenizer tokenizer.json --prompt "who are you?" --device cpu
License
Apache 2.0
- Downloads last month
- 152
