Downloads · 30 days
5
12% of all-time downloads
ankitw497/slm-125m-base
slm-125m-base is a machine learning model from ankitw497. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
A 125.8M-parameter LLaMA-architecture language model trained from scratch on a legal/financial/web data mix.
Downloads · 30 days
5
12% of all-time downloads
All-time downloads
43
Public
Parameters
126M
503 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors503 MB · 100%
From the Hugging Face model README
A 125.8M-parameter LLaMA-architecture language model trained from scratch on a legal/financial/web data mix.
Legal-first mix (NOT 70/20/10): case-law ~40%, SEC filings ~40%, fineweb-edu ~20%. Cleaned, deduplicated (exact + MinHash near-dup), and decontaminated against CaseHOLD/LexGLUE eval sets. See the source repo's REPLICATION_GUIDE.md for the full pipeline.
from transformers import AutoModelForCausalLM, AutoTokenizer
tok = AutoTokenizer.from_pretrained("ankitw497/slm-125m-base")
model = AutoModelForCausalLM.from_pretrained("ankitw497/slm-125m-base")