Downloads · 30 days
13
8% of all-time downloads
everarpitraj/os24-125m-base
os24-125m-base is a text generation model from everarpitraj. Use it when you need the model to write or continue text. It is set up for transformers.
125.08M-parameter decoder-only English causal language model pretrained from scratch on a deterministic OpenSubtitles 2024 English corpus.
Downloads · 30 days
13
8% of all-time downloads
All-time downloads
155
Public
Parameters
125M
500 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors500 MB · 100%
From the Hugging Face model README
125.08M-parameter decoder-only English causal language model pretrained from scratch on a deterministic OpenSubtitles 2024 English corpus.
os24-125m-base is a base causal language model, not an instruction-tuned assistant.
It was trained from scratch on a deterministic packed English subtitle corpus derived
from OpenSubtitles 2024.
The release preserves the final trained Safetensors weights byte-for-byte and adds
a custom Hugging Face transformers integration. Because the architecture is custom,
loading requires explicit trust_remote_code=True.
| Field | Value |
|---|---|
| Parameters | 125,077,824 |
| Layers | 30 |
| Hidden size | 576 |
| Query heads | 9 |
| KV heads | 3 |
| Head dimension | 64 |
| GQA ratio | 3:1 |
| FFN | SwiGLU, 1,536 |
| Normalization | pre-RMSNorm |
| Position encoding | RoPE, theta 10,000 |
| Vocabulary | 32,768 |
| Maximum trained context | 4,096 |
| Embedding / output | tied |
| Biases | none |
The production corpus is a deterministic OpenSubtitles 2024 English repack.
Context curriculum: 512 (35%), 1,024 (30%), 2,048 (25%), 4,096 (10%).
The optimizer was AdamW with global-token linear warmup followed by cosine decay;
the selected peak learning rate was 3e-4.
| Split | Context | Prediction tokens | Loss | Perplexity |
|---|---|---|---|---|
| Validation | 4,096 | 23,330,816 | 2.693196 | 14.778841 |
| Test (sealed until completion) | 4,096 | 22,151,168 | 2.691997 | 14.761121 |
| Validation anchor | 512 | 2,097,152 | 2.861541 | 17.488460 |
Perplexity measures next-token modeling quality on this corpus distribution. It is not an instruction-following, reasoning, factuality, coding, or safety benchmark.
Useful candidate applications include English dialogue/subtitle-style continuation, creative dialogue and scene continuation, small-base-model research, and downstream fine-tuning for summarization, classification, emotion/context, and instruction following.
Review the repository code before opting in to custom code:
from transformers import AutoTokenizer, AutoModelForCausalLM
repo = "everarpitraj/os24-125m-base"
tokenizer = AutoTokenizer.from_pretrained(repo, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(repo, trust_remote_code=True)
inputs = tokenizer("I never thought I would see you again.", return_tensors="pt")
out = model.generate(
**inputs,
max_new_tokens=64,
do_sample=True,
temperature=0.8,
top_p=0.95,
use_cache=False,
)
print(tokenizer.decode(out[0], skip_special_tokens=True))
For offline use, unzip the release ZIP and replace repo with the extracted directory.
OS24-125M-REAL-PRETRAIN-R3-CONTROL-HARDENEDOS24-125M-BASE-HF-RELEASE-V104b22149cac3297f33aa9c1af6308b4d164ce345fd8ecd9392d98d106a456c4fa8ea0fd42e69835d86b3606545ae47a7edbc982a0cc153ab7806cb9266427ea47ef1ab2f410ffc983ad33561a01cd199ac54457ae89130c166450e6beb8c4f9b42d59bf8b53ffeb4a86a117b5028fad8676b2b81ffeea7b82cd566c5a26c4f14e467f45a1e81a9deef5e3c2292b12e513f3c75edca28a21f28af2c83dafe1341a3ebf2fb9e77293bb82235237d5d96d501a5c4d040e3c6bac5f21cd7a03a12edSee PROVENANCE.json, FINAL_EVAL.json, MANIFEST.json, and LOCAL_VALIDATION.json.
Model license: not specified in this release configuration. Choose an appropriate license before making the repository public.
The training dataset itself is not redistributed in this repository. OpenSubtitles and underlying subtitle material have their own applicable terms and rights; the publisher and downstream users are responsible for evaluating those terms for their intended use.
No paper/DOI is invented by this release. Add a formal citation here if a technical report or paper is published later.