Downloads · 30 days
15
7% of all-time downloads
sahuabinash/slm-125m-base
slm-125m-base is a text generation model from sahuabinash. 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 125.8M-parameter LLaMA-architecture causal language model, pretrained from scratch on a legal/financial/general-web corpus.
Downloads · 30 days
15
7% of all-time downloads
All-time downloads
213
Public
Parameters
126M
252 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors252 MB · 100%
From the Hugging Face model README
A 125.8M-parameter LLaMA-architecture causal language model, pretrained from scratch on a legal/financial/general-web corpus.
HFforLegal/case-law), SEC filings (PleIAs/SEC), and general web text (HuggingFaceFW/fineweb-edu), cleaned, deduplicated, and decontaminated against LexGLUE/CaseHOLD.This is a base (not instruction-tuned) model — it continues text, it does not follow chat instructions.
from transformers import AutoModelForCausalLM, AutoTokenizer
tok = AutoTokenizer.from_pretrained("sahuabinash/slm-125m-base")
model = AutoModelForCausalLM.from_pretrained("sahuabinash/slm-125m-base")
inputs = tok("The plaintiff shall", return_tensors="pt")
out = model.generate(**inputs, max_new_tokens=50)
print(tok.decode(out[0]))