SAVRN
Search Contact SAVRN

Open-weight model · Text generation

nebium-small

by Nabin Oli nabin2004/nebium-small

Nebium-Small is a 117-million-parameter causal Transformer trained for autoregressive next-chess-move prediction over Lichess UCI move sequences.

Parameters
Context
Weights352.3 MB
Licensemit
AccessOpen weights
Monthly Downloads

Model Card

By Nabin Oli, published under mit, revision 4ed54c7b50bc.

Nebium-Small is a 117-million-parameter causal Transformer trained for autoregressive next-chess-move prediction over Lichess UCI move sequences. - Rotary Position Embeddings (RoPE) on attention query and key projections ($\theta = 10000$) - SwiGLU feed-forward transformation - RMSNorm pre-normalization - Causal mask with padding token masking - Byte-Pair Encoding (BPE) tokenizer trained on UCI move plies $$L(N, D) = 1.69 + \frac{406.4}{N^{0.34}} + \frac{410.7}{D^{0.28}}$$ MIT License.

Read Nabin Oli's full model card

Nebium-Small (88.1M)

Nebium-Small is a 117-million-parameter causal Transformer trained for autoregressive next-chess-move prediction over Lichess UCI move sequences.

Nebium Model Family Architecture Overview

Model Params d_model Heads Layers max_seq_len Chinchilla-optimal tokens
Nebium-Small 117M 768 12 12 1024 ~2.3B
Nebium-Medium 345M 1024 16 24 1024 ~6.9B
Nebium-Large 762M 1280 20 36 1024 ~15.2B

Architectural Primitives: - Rotary Position Embeddings (RoPE) on attention query and key projections ($\theta = 10000$) - SwiGLU feed-forward transformation - RMSNorm pre-normalization - Causal mask with padding token masking - Byte-Pair Encoding (BPE) tokenizer trained on UCI move plies

Architectural Specifications

Hyperparameter Value
Model Tier Nebium-Small
Parameter Count 88.1M
Hidden Dimension ($d_{model}$) 768
Attention Heads ($n_{heads}$) 12
Transformer Layers ($n_{layers}$) 12
Max Context Length ($L_{max}$) 1024
Vocabulary Size ($V$) 2018
Positional Embedding rope
Activation Function swiglu
Layer Normalization rmsnorm

Validation & Benchmark Results

Metric Measured Value
Validation Loss 2.727808
Validation Perplexity 15.2993
Next-Token Top-1 Accuracy 32.35%
Next-Token Top-5 Accuracy 63.83%
Empirical Move Legality Rate 100.00%
Tactical Puzzle Accuracy 9.76%

Scaling Law Analysis (Hoffmann et al. 2022)

Chinchilla power-law formulation:

$$L(N, D) = 1.69 + \frac{406.4}{N^{0.34}} + \frac{410.7}{D^{0.28}}$$

Parameter / Metric Value
Model Parameters ($N$) 88.1M
Chinchilla-Optimal Token Budget ($D^*$) ~2.3B tokens
Compute-Optimal Expected Loss ($L_{optimal}$) 3.4809 nats
Approximate Trained Tokens ($D$) ~12.3M tokens
Theoretical Loss at Current Tokens 6.7517 nats
Empirical Validation Loss 2.7278 nats

Python Usage Example

import json
import torch
from src.models.transformer.nebium import Nebium
from src.data.tokenizer import ChessTokenizer

tokenizer = ChessTokenizer()
tokenizer.load("tokenizer.json")

with open("model_config.json", "r", encoding="utf-8") as f:
    config = json.load(f)

model = Nebium(**config)
state_dict = torch.load("model.pt", map_location="cpu", weights_only=True)
model.load_state_dict(state_dict)
model.eval()

prompt = "e2e4 e7e5 g1f3"
input_ids = torch.tensor([[tokenizer.bos_id] + tokenizer.encode(prompt)], dtype=torch.long)
attention_mask = torch.ones_like(input_ids)

with torch.no_grad():
    output = model.generate(input_ids, attention_mask, max_new_tokens=10, temperature=0.7)

print("Continuation:", tokenizer.decode(output[0].tolist()))

License

MIT License.

Identity and Version

Repository
nabin2004/nebium-small
Publisher
Nabin Oli
Task
Text generation
Modality
Text
Library
pytorch
Parameters
Not stated by the source
Languages
en
Revision
4ed54c7b50bccc180e79cb5a4e335025ba0de337
First published
2026-09-18
Last updated
2026-09-18

Files and Weights

5 files, 352.4 MB in total. The weights are 1 file totalling 352.3 MB in pt.

Weights1 file · 352.3 MB
Configuration1 file · 285 B
Tokenizer1 file · 128.3 KB
Documentation1 file · 3.9 KB
Repository1 file · 176 B
Every file
FileTypeSizeSHA-256
model.ptWeights352.3 MB 1be138af1d72
model_config.jsonConfiguration285 B
README.mdDocumentation3.9 KB
.gitattributesRepository176 B
tokenizer.jsonTokenizer128.3 KB

License and Download

License
mit
Access
Open weights, no gate
Download size
352.3 MB
Download from Nabin Oli

Released by Nabin Oli through its official repository on Hugging Face. Read the license.

Built From

  • Trained on (disclosed) nabin2004/nebium-lichess-uci

Evaluations

Each result is shown as reported, with the conditions its reporter stated. None is a SAVRN measurement. A comparison lines two results up only when their configuration, unit and setup are all stated and identical.

BenchmarkConditionsResultReported byRevisionDate
Lichess UCI Move Sequences Task Chess Next Move PredictionMetric accuracyComparison conditions not established 0.323457 nabin2004
Publisher reported
Evaluated revision not stated
Lichess UCI Move Sequences Task Chess Next Move PredictionMetric legal_move_rateComparison conditions not established 1 nabin2004
Publisher reported
Evaluated revision not stated
Lichess UCI Move Sequences Task Chess Next Move PredictionMetric perplexityComparison conditions not established 15.2993 nabin2004
Publisher reported
Evaluated revision not stated
Lichess UCI Move Sequences Task Chess Next Move PredictionMetric puzzle_accuracyComparison conditions not established 0.097561 nabin2004
Publisher reported
Evaluated revision not stated
Lichess UCI Move Sequences Task Chess Next Move PredictionMetric val_lossComparison conditions not established 2.72781 nabin2004
Publisher reported
Evaluated revision not stated

Memory Requirements

PrecisionWeights in memory
As published352.3 MB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About nebium-small

Can I use nebium-small commercially?

Yes. nebium-small is released under MIT License. The MIT License is a short permissive license. It permits commercial use, modification and redistribution, provided the copyright notice and permission notice are included.

Similar Models

Fine-tune Qwen3 (14B) for free using our Google Colab notebook! - Read our Blog about Qwen3 support: unsloth.ai/blog/qwen3 - View the rest of our notebooks in our docs here. Qwen3-Coder is available in multiple sizes. Today, we're excited to introduce Qwen3-Coder-30B-A3B-Instruct. This streamlined model maintains impressive performance and efficiency, featuring the following key enhancements: - Significant Performance among open models on Agentic Coding, Agentic Browser-Use, and other foundational coding tasks. - Long-context Capabilities with native support for 256K tokens, extendable up to 1M tokens using Yarn, optimized for repository-scale understanding. - Agentic Coding supporting for…

Open weights apache-2.0 transformers

Model · Text generation

opt-125m

AI at Meta

OPT was first introduced in Open Pre-trained Transformer Language Models and first released in metaseq's repository on May 3rd 2022 by Meta AI. Disclaimer: The team releasing OPT wrote an official model card, which is available in Appendix D of the paper. Content from this model card has been written by the Hugging Face team. To quote the first two paragraphs of the official paper OPT was predominantly pretrained with English text, but a small amount of non-English data is still present within the training corpus via CommonCrawl. The model was pretrained using a causal language modeling (CLM) objective. OPT belongs to the same family of decoder-only models like GPT-3. As such, it was…

Open weights other 2,048 tokens transformers

Model · Text generation

Ornith-1.5-9B-GGUF

Ornith

Chirp Chirp! We are introducing Ornith-1.5, a major step toward building foundation models through end-to-end self-improvement. Ornith-1.5 extends Ornith-1.0 (which was developed on top of Qwen3.5 and Gemma4 with additional continued pretraining, mid-training, and post-training) by expanding the self-improvement loop from scaffold and rollout optimization to jointly optimizing task generation, scaffold construction, and solution rollouts. Rather than relying on a fixed set of human-curated tasks and manually designed harnesses, Ornith-1.5 continuously generates new training tasks, discovers effective strategies for solving them, and improves the policy through reinforcement learning. For…

Open weights mit transformers

Model · Text generation

Ornith-1.5-35B-A3B-GGUF

Ornith

Chirp Chirp! We are introducing Ornith-1.5, a major step toward building foundation models through end-to-end self-improvement. Ornith-1.5 extends Ornith-1.0 (which was developed on top of Qwen3.5 and Gemma4 with additional continued pretraining, mid-training, and post-training) by expanding the self-improvement loop from scaffold and rollout optimization to jointly optimizing task generation, scaffold construction, and solution rollouts. Rather than relying on a fixed set of human-curated tasks and manually designed harnesses, Ornith-1.5 continuously generates new training tasks, discovers effective strategies for solving them, and improves the policy through reinforcement learning. For…

Open weights mit transformers

Model · Text generation

Ornith-1.0-9B-GGUF

Ornith

Aloha! Today, we are releasing Ornith-1.0, a self-improving family of open-source models for agentic coding. This model card documents Ornith-1.0-9B, the most lightweight member of the Ornith family, designed for efficient single-GPU deployment. Ornith-1.0-9B is a dense ~9B model (≈19 GB in bf16), so it serves comfortably on a single 80GB GPU. The recipes below stand up an OpenAI-compatible server; add --tensor-parallel-size / --tp if you want to shard across more GPUs. For a quick local test (or to script offline generation), load the model directly with Transformers. Make sure you have a recent release installed — see the Transformers installation guide; Ornith-1.0-9B requires…

Open weights mit transformers

Uncensored Qwen3.8-27B, published as GGUF quantizations with the multi token prediction (MTP) head retained and verified. Refusal behaviour has been substantially reduced, not eliminated. See Measured behaviour for the numbers. Capabilities, training data, and architecture are otherwise unchanged. - Refusal directions removed with Heretic, which co minimizes refusal count against KL divergence from the base model. No handwritten refusal removal code, no finetuning, no additional training data. - Abliteration runs at bf16 (no 4 bit quantization). the resulting LoRA is merged into the bf16 base, so the published weights are not a quantized round trip. - mtp. tensors are copied verbatim from…

Open weights apache-2.0 llama.cpp