Downloads · 30 days
22
39% of all-time downloads
nitin1pawar/slm125m-base
slm125m-base is a text generation model from nitin1pawar. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
A 126M-parameter Llama-architecture base model pretrained from scratch on a legal/financial corpus. Base model — not instruction-tuned.
Downloads · 30 days
22
39% of all-time downloads
All-time downloads
57
Public
Parameters
126M
503 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors503 MB · 100%
From the Hugging Face model README
A 126M-parameter Llama-architecture base model pretrained from scratch on a legal/financial corpus. Base model — not instruction-tuned.
| Parameters | 125,848,320 |
| Layers / hidden / heads | 12 / 768 / 12 |
| Context length | 1024 |
| Vocab | 16384 (byte-level BPE trained from scratch on this corpus) |
| Tied embeddings | True |
~2.19B tokens, deduplicated and decontaminated. Mix: case-law ~39% / SEC ~39% / fineweb-edu ~21%.
Sources: HFforLegal/case-law (US court opinions), PleIAs/SEC (SEC filings),
HuggingFaceFW/fineweb-edu (sample-10BT, fluency filler).
Pipeline: 6-step deterministic cleaning (line filter, boilerplate strip, repetition,
English gate, OCR-garble gate on case-law) then exact-hash dedup, MinHash/LSH near-dup removal,
and 13-gram decontamination against CaseHOLD / LexGLUE case_hold, which are therefore
held out.
8.28B tokens seen (4 epochs over the corpus), 15,789 steps, global batch 524,288 tokens, AdamW, cosine 0.0006 → 6e-05, bf16 on 8×H100.
Validation loss 2.0934 (perplexity 8.11) on a held-out 1% split of the same corpus. This is in-domain perplexity and is not comparable across models trained on different data or tokenizers.
Small base model. It will produce fluent-looking but frequently incorrect legal and financial text, and it has no instruction tuning, no alignment, and no factual grounding. Not legal or financial advice; do not use for either.