Business Analyst-SLM: Role-Based Small Language Model

A LLaMA-style transformer (~988.9M params, ~0.99B) trained from scratch for the Business Analyst role. Supports up to 1M token context via RoPE with gradient checkpointing.

Architecture

Component Value
Architecture LLaMA-style (RoPE + RMSNorm + SwiGLU)
Parameters 988.9M (0.99B)
Layers 32
Heads 20
Embedding 1600
Max Context 100,000,000,000 tokens
Max Output 1,000,000 tokens
Vocab 1,580 BPE
Model Size ~4 GB (fp32)

Training

  • Best eval loss: 2.9107692003250123
  • Trained with gradient checkpointing on Apple M4 (MPS)
  • 3 epochs, batch_size=1, grad_accum=16

Usage

from huggingface_hub import hf_hub_download
from tokenizers import Tokenizer

model_path = hf_hub_download("sathishphdai/business-analyst-slm-1m", "model.safetensors")
tokenizer_path = hf_hub_download("sathishphdai/business-analyst-slm-1m", "business_analyst_tokenizer.json")
tokenizer = Tokenizer.from_file(tokenizer_path)
Downloads last month
12
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support