Downloads · 30 days
9
6% of all-time downloads
Skyl4r-Ai/Skylar-980M-Cobol-Base
Skylar-980M-Cobol-Base is a text generation model from Skyl4r-Ai. Use it when you need the model to write or continue text. It is set up for safetensors. The card lists the license as apache-2.0.
🔬 Published as a transparent research for the Skylar framework, not as a general-purpose or SOTA model.
Downloads · 30 days
9
6% of all-time downloads
All-time downloads
141
Public
Parameters
980M
3.9 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors3.9 GB · 100%
From the Hugging Face model README
🔬 Published as a transparent research for the Skylar framework, not as a general-purpose or SOTA model.
A 980M decoder-only language model trained 100% from scratch (random init, no warm-start, no external pretrained weights) on a broad multi-language code corpus, as the pretrain foundation of a COBOL-specialist line. Qwen3-style architecture, HuggingFace-native.
| 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.
Use the skylar library — no custom modeling code lives in this
repo; the architecture is provided by the package.
pip install skylar
import skylar
m = skylar.load("Skyl4r-Ai/Skylar-980M-Cobol-Base")
# base model = text/code completion (no chat, no instructions)
print(m.generate(" IDENTIFICATION DIVISION.\n PROGRAM-ID. HELLO.\n",
max_new_tokens=80))
<details>
<summary>Alternative — plain 🤗 transformers</summary>
import skylar registers the nano-transformer architecture, so AutoModelForCausalLM works with
no trust_remote_code and no modeling files in the repo:
import skylar # registers the architecture
from transformers import AutoModelForCausalLM
from tokenizers import Tokenizer
from huggingface_hub import hf_hub_download
import torch
repo = "Skyl4r-Ai/Skylar-980M-Cobol-Base"
model = AutoModelForCausalLM.from_pretrained(repo).eval()
tok = Tokenizer.from_file(hf_hub_download(repo, "tokenizer.json"))
prompt = " IDENTIFICATION DIVISION.\n PROGRAM-ID. HELLO.\n"
ids = torch.tensor([tok.encode(prompt).ids])
out = model.generate(ids, max_new_tokens=80)
print(tok.decode(out[0].tolist()))
</details>
Part of the Skylar framework — a from-scratch decoder-only LLM training stack. This is the pretrain base; the instruction-tuned / specialist models are released separately.
© A. Ivanovitch — Apache-2.0. Code & framework: github.com/2sophia/skylar