sathishphdai/network-engineer-slm-5m
015
Network Engineer-SLM: Role-Based Small Language Model
A LLaMA-style transformer (~1019.5M params, ~1.02B) trained from scratch for the Network Engineer role. Supports up to 5M token context via RoPE with gradient checkpointing.
Architecture
Training
- Best eval loss: 5.257461833953857
- Trained with gradient checkpointing on Apple M4 (MPS)
- 3 epochs, batchsize=1, gradaccum=16
Usage
from huggingface_hub import hf_hub_download
from tokenizers import Tokenizer
model_path = hf_hub_download("sathishphdai/network-engineer-slm-5m", "model.safetensors")
tokenizer_path = hf_hub_download("sathishphdai/network-engineer-slm-5m", "network_engineer_tokenizer.json")
tokenizer = Tokenizer.from_file(tokenizer_path)