--- language: [en] license: mit tags: - cloud-architecture - aws - azure - gcp - microservices - slm - llama-style - rope - 1m-context - from-scratch - 1b-params pipeline_tag: text-generation --- # Cloud Architect-SLM: Role-Based Small Language Model A **LLaMA-style transformer** (~1018.2M params, ~1.02B) trained from scratch for the **Cloud Architect** role. Supports up to **1M token context** via RoPE with gradient checkpointing. ## Architecture | Component | Value | |-----------|-------| | Architecture | LLaMA-style (RoPE + RMSNorm + SwiGLU) | | Parameters | ~1018.2M (~1.02B) | | Layers | 32 | | Heads | 20 | | Embedding | 1600 | | Max Context | 100,000,000,000 tokens | | Max Output | 1,000,000 tokens | | Vocab | 19,845 BPE | | Model Size | ~4 GB (fp32) | ## Training - Best eval loss: 5.727677822113037 - Trained with gradient checkpointing on Apple M4 (MPS) - 3 epochs, batch_size=1, grad_accum=16 ## Usage ```python from huggingface_hub import hf_hub_download from tokenizers import Tokenizer model_path = hf_hub_download("sathishphdai/cloud-architect-slm-1m", "model.safetensors") tokenizer_path = hf_hub_download("sathishphdai/cloud-architect-slm-1m", "cloud_architect_tokenizer.json") tokenizer = Tokenizer.from_file(tokenizer_path) ```