Views
No views yet
🔬 Published as a transparent research for the Skylar framework, not as a general-purpose or SOTA model.
| Parameters | ~980M |
| Layers | 36 |
| Model dim (d_model) | 1536 |
| Attention heads | 12 (GQA, 4 KV heads) |
| Head dim | 128 (decoupled) |
| FFN | SwiGLU, d_ff 4096 |
| Normalization | RMSNorm (fp32) + QK-Norm |
| Positional | RoPE (θ=1e6) |
| Context window | 8192 (trained) · 16384 max (config) |
| Vocabulary | 48128 (code-aware BPE, digit-split) |
| Embeddings | tied (input/output) |
| metric | value |
|---|---|
| Validation perplexity | 3.01 |
| Validation loss | 1.04 (best) |
| NaN / instabilities | none |
A base model has no instruction-following benchmark to report: functional COBOL ability (compile rate, pass@1) emerges only after post-training and is evaluated on the final model, not on this base.
skylar library — no custom modeling code lives in this
repo; the architecture is provided by the package.pip install skylar1import skylar
2
3m = skylar.load("Skyl4r-Ai/Skylar-980M-Cobol-Base")
4
5# base model = text/code completion (no chat, no instructions)
6print(m.generate(" IDENTIFICATION DIVISION.\n PROGRAM-ID. HELLO.\n",
7 max_new_tokens=80))import skylar registers the nano-transformer architecture, so AutoModelForCausalLM works with
no trust_remote_code and no modeling files in the repo:1import skylar # registers the architecture
2from transformers import AutoModelForCausalLM
3from tokenizers import Tokenizer
4from huggingface_hub import hf_hub_download
5import torch
6
7repo = "Skyl4r-Ai/Skylar-980M-Cobol-Base"
8model = AutoModelForCausalLM.from_pretrained(repo).eval()
9tok = Tokenizer.from_file(hf_hub_download(repo, "tokenizer.json"))
10
11prompt = " IDENTIFICATION DIVISION.\n PROGRAM-ID. HELLO.\n"
12ids = torch.tensor([tok.encode(prompt).ids])
13out = model.generate(ids, max_new_tokens=80)
14print(tok.decode(out[0].tolist()))