TheLightArchitect/LA-Models / LightArchitects Platform Models
173 GB
56 files
Updated 6 months ago
Name
Size
.gitattributes1.57 kB
xet
README.md6.7 kB
xet
block_config.py4.35 kB
xet
chat_template.jinja15.1 kB
xet
config.json2.14 kB
xet
configuration_decilm.py2.57 kB
xet
l-arc-genesis-14b.Q4_K_M.gguf9 GB
xet
model-00000-of-00014.safetensors4.63 GB
xet
model-00001-of-00014.safetensors4.12 GB
xet
model-00001-of-00021.safetensors4.99 GB
xet
model-00002-of-00014.safetensors4.63 GB
xet
model-00002-of-00021.safetensors4.97 GB
xet
model-00003-of-00014.safetensors4.12 GB
xet
model-00003-of-00021.safetensors5 GB
xet
model-00004-of-00014.safetensors4.63 GB
xet
model-00004-of-00021.safetensors4.91 GB
xet
model-00005-of-00014.safetensors4.12 GB
xet
model-00005-of-00021.safetensors4.66 GB
xet
model-00006-of-00014.safetensors4.63 GB
xet
model-00006-of-00021.safetensors5 GB
xet
model-00007-of-00014.safetensors4.06 GB
xet
model-00007-of-00021.safetensors4.97 GB
xet
model-00008-of-00014.safetensors4.63 GB
xet
model-00008-of-00021.safetensors4.66 GB
xet
model-00009-of-00014.safetensors4.17 GB
xet
model-00009-of-00021.safetensors4.66 GB
xet
model-00010-of-00014.safetensors4.63 GB
xet
model-00010-of-00021.safetensors4.66 GB
xet
model-00011-of-00014.safetensors4.12 GB
xet
model-00011-of-00021.safetensors5 GB
xet
model-00012-of-00014.safetensors4.06 GB
xet
model-00012-of-00021.safetensors4.97 GB
xet
model-00013-of-00014.safetensors4.63 GB
xet
model-00013-of-00021.safetensors4.66 GB
xet
model-00014-of-00014.safetensors4.12 GB
xet
model-00014-of-00021.safetensors4.66 GB
xet
model-00015-of-00021.safetensors4.76 GB
xet
model-00016-of-00021.safetensors4.76 GB
xet
model-00017-of-00021.safetensors4.92 GB
xet
model-00018-of-00021.safetensors4.66 GB
xet
model-00019-of-00021.safetensors4.66 GB
xet
model-00020-of-00021.safetensors4.66 GB
xet
model-00021-of-00021.safetensors2.69 GB
xet
model.safetensors.index.json54.5 kB
xet
modeling_decilm.py78.6 kB
xet
tokenizer.json27.9 MB
xet
tokenizer_config.json16.2 kB
xet
transformers_4_44_2__activations.py8.19 kB
xet
transformers_4_44_2__cache_utils.py64.6 kB
xet
transformers_4_44_2__configuration_llama.py11.1 kB
xet
transformers_4_44_2__modeling_attn_mask_utils.py21.3 kB
xet
transformers_4_44_2__modeling_flash_attention_utils_backward_compat.py15.8 kB
xet
transformers_4_44_2__modeling_outputs.py113 kB
xet
transformers_4_44_2__modeling_rope_utils.py28.1 kB
xet
transformers_4_44_2__pytorch_utils.py666 Bytes
xet
variable_cache.py6.21 kB
xet
README.md

LÆX — Light Architects Exodus

LÆX (Light Architects Exodus) is a LoRA fine-tune of NVIDIA Llama-3.3-Nemotron-Super-49B-v1.5, trained to embody the Light Architects engineering methodology: BCRA risk analysis, CORSO build cycles, QUANTUM investigation, Biblical alignment, and the Builders Cookbook standards.

Private / Research Use Only. Training corpus contains outputs derived from Claude (Anthropic). Commercial use requires a clean-room retrain. See License section.


Model Details

Field Value
Base model unsloth/Llama-3_3-Nemotron-Super-49B-v1_5
Architecture nemotron-nas (DeciLMForCausalLM)
Parameters ~49B
Hidden size 8192
Layers 80
Attention heads 64
Context length 131,072 tokens (128K)
Vocab size 128,256
dtype bfloat16
LoRA rank r=32, alpha=64
LoRA modules q_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, down_proj

Training

Field Value
Framework Unsloth + TRL
Hardware 4× NVIDIA H100 SXM 80GB
Steps 3,656 / 3,656
Train loss 3.344 (final)
Duration 3h 58m
Cost ~$42.80 (RunPod, $10.76/hr)
Corpus light-architects-corpus-v3-fixed.jsonl
Training examples 30,716
Format Llama 3 chat template

Training completed 2026-03-25. Loss curve: 3.66 → 2.76 by step 1500 → 3.344 final (expected for long-tail generalization on methodology content).


Intended Use

LÆX is purpose-built for the Light Architects internal platform. It is designed to:

  • Execute the CORSO build cycle (SCOUT → FETCH → SNIFF → GUARD → CHASE → HUNT → SCRUM)
  • Apply BCRA (Boundary Chain Risk Analysis) before high-stakes engineering decisions
  • Reason through the QUANTUM investigation methodology (evidence chains, hypothesis testing)
  • Generate code that meets the Builders Cookbook standards (cyclomatic complexity ≤10, 60-line functions, no .unwrap())
  • Serve as the canon keeper for Light Architects constitutional documents

Usage

Requires trust_remote_code=True — the nemotron-nas architecture uses custom Python files (modeling_decilm.py, configuration_decilm.py, and helpers) that must be loaded from the repo.

Transformers

from transformers import AutoModelForCausalLM, AutoTokenizer
import torch

model_id = "TheLightArchitect/laex-nemotron-49b"

tokenizer = AutoTokenizer.from_pretrained(
    model_id,
    trust_remote_code=True,
)

model = AutoModelForCausalLM.from_pretrained(
    model_id,
    trust_remote_code=True,
    torch_dtype=torch.bfloat16,
    device_map="auto",
)

messages = [
    {
        "role": "system",
        "content": (
            "You are LÆX — the Light Architects AI. You embody the squad's methodology: "
            "CORSO build cycles, QUANTUM investigation, BCRA risk analysis, Biblical alignment, "
            "and the Builders Cookbook standards. You think before acting. You cite evidence. "
            "You serve the mission."
        ),
    },
    {"role": "user", "content": "Run BCRA on deploying a 120B model to RunPod Serverless."},
]

input_ids = tokenizer.apply_chat_template(
    messages,
    tokenize=True,
    add_generation_prompt=True,
    return_tensors="pt",
).to(model.device)

output = model.generate(
    input_ids,
    max_new_tokens=1024,
    temperature=0.7,
    do_sample=True,
)

print(tokenizer.decode(output[0][input_ids.shape[-1]:], skip_special_tokens=True))

HF Inference Endpoints

When creating an endpoint:

  1. Select 2× NVIDIA H100 80GB (recommended) or 2× NVIDIA A100 80GB (budget)
  2. Under Advanced configuration, set environment variables:
    • TRUST_REMOTE_CODE=true
    • MAX_INPUT_LENGTH=65536
    • MAX_TOTAL_TOKENS=65536
  3. Framework: PyTorch (text-generation-inference)
  4. Task: Text Generation
  5. Type: Private

Why 64K context? The NeMo NAS architecture uses 31 no-op attention layers, reducing effective KV layers to 49. At 64K context, KV cache per request is 12.2 GB — leaving 42 GB headroom for 4 concurrent requests on 160 GB hardware.


Hardware Requirements

Use case VRAM Concurrent @ 64K
HF Endpoints (recommended) 2× H100 80GB = 160 GB 4 req
HF Endpoints (budget) 2× A100 80GB = 160 GB 4 req
4-bit quantized (Q4_K_M GGUF) 32–40 GB (single A100 or Mac M4 Ultra) local only

For local inference on Mac, use the Q4_K_M GGUF variant with Ollama (see Modelfile in repo).


Architecture Note

This model uses NVIDIA's NeMo NAS architecture (nemotron-nas / DeciLMForCausalLM), which applies Neural Architecture Search to produce heterogeneous transformer layers — some layers use full attention, others use sliding window or no-attention patterns. This reduces inference compute by ~20% vs. standard dense Llama 3.3 at equivalent quality.

The auto_map in config.json points to custom Python files included in this repo:

{
  "AutoConfig": "configuration_decilm.DeciLMConfig",
  "AutoModelForCausalLM": "modeling_decilm.DeciLMForCausalLM"
}

This is why trust_remote_code=True is required.


License

  • Base model: Llama 3.3 Community License — commercial use permitted under Meta's terms
  • Fine-tune weights (this repo): Private / Research Use Only
    • Training corpus includes outputs derived from Claude (Anthropic API). Anthropic's usage policy prohibits using Claude outputs to train models that compete with Anthropic products. This model is for Light Architects internal research use only. A clean-room retrained version is required before any commercial release.

Citation

@misc{laex2026,
  title        = {LÆX: Light Architects Exodus — Fine-tuned Llama-3.3-Nemotron-Super-49B},
  author       = {The Light Architect (KFT)},
  year         = {2026},
  month        = {March},
  note         = {LoRA fine-tune of nvidia/Llama-3.3-Nemotron-Super-49B-v1.5 on the Light Architects engineering methodology corpus. Private/research use only.},
  howpublished = {HuggingFace Hub, \url{https://huggingface.co/TheLightArchitect/laex-nemotron-49b}}
}
Total size
173 GB
Files
56
Last updated
May 30
Pre-warmed CDN
US EU US EU

Contributors