Skip to content
View Complexity-ML's full-sized avatar
🎯
Focusing
🎯
Focusing

Block or report Complexity-ML

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
Complexity-ML/README.md

AETHORIA AI panda logo

Complexity-ML · AETHORIA AI

Open, efficient AI research

Website Hugging Face Discord

complexity-framework stars TR-Hash-i64 stars trhash stars Discord members Discord online Complexity-ML followers Open framework issues Last framework commit

Research and open tooling for compact language and vision models,
deterministic token routing, multimodal generation, and accessible training.

Panda observing an artificial intelligence display

TR-HASH MoE 200M

The current 201.2M-parameter language-model release: deterministic multi-hash top-2 routing, a completed 130B-token base run, an interrupted 32.07B-token full-parameter refinement, and a promoted full-parameter SFT assistant.

201.2M parameters 162B source-token exposures PIQA normalized accuracy 69.31 percent

The released assistant is full-parameter SFT, not LoRA. Epoch 2 was promoted at 68.82% PIQA accuracy and 69.31% normalized accuracy, and is served by TR-Hash-i64.

Try the live 200M chat →
Read the peer-review preprint →
Read the 200M release paper →
Model weights →
Explore checkpoints and artifacts →

TR-HASH Vision v8

A compact hierarchical token-routed vision detector with native multi-scale features, shifted-window attention, and NMS and NMS-free detection heads.

2.53M parameters COCO 2017 640px Open artifacts

Status: Trained on COCO 2017. Official val2017 mAP50-95: 0.20.

Explore Vision v8 →

Preprint

Deterministic multi-hash routing supports long-horizon training in a compact language model
Boris Peyriguere · Research Square · 2026
DOI: 10.21203/rs.3.rs-10788774/v1

@article{peyriguere2026deterministic,
  title={Deterministic multi-hash routing supports long-horizon training in a compact language model},
  author={Boris Peyriguere},
  year={2026},
  publisher={Research Square},
  doi={10.21203/rs.3.rs-10788774/v1},
  url={https://doi.org/10.21203/rs.3.rs-10788774/v1}
}

How TR-HASH works

TR-HASH replaces learned routing with stable identity-based selection. Token or spatial identity chooses a small parameter subspace while shared computation continues to process the complete contextual hidden state.

identity ──► fixed layer-specific routing ──► selected experts
   │                                           │
   └──────── contextual hidden state ──────────┴──► output

PyTorch ONNX export and runtime CUDA graph decode Apple silicon MPS graph Distributed Safetensors

Projects

The research and training layer: model definitions, distributed training, Triton kernels, exact resume, evaluation, ablations, multimodal generation, and Vision v8.

The inference server for TR-HASH language models: exact hash-table routing, paged KV cache, CUDA-graph and MPS-graph decode, quantization, and HTTP serving.

The product-facing SDK for TR-HASH Vision: prediction, validation, fine-tuning, export, benchmarking, and HTTP serving without carrying the research framework.

Open TR-HASH checkpoints, model cards, demos, and progressively published training artifacts.

Open text, image, and image-edit datasets with provenance-oriented releases.

Vision v8 at a glance

Hierarchical tower
P2 · P3 · P4 · P5 native features
Attention
Shifted-window
Detection
NMS and NMS-free heads

The released 80-class COCO detector has 2.53M parameters at 640 px input, trained end-to-end on COCO 2017. Accuracy claims and YOLO comparisons are published only against the same-protocol val2017 evaluation.

Complexity Atlas

Text instruction and chat SFT corpus.

336K provenance-aware image-text pairs.

336K instruction-guided editing triplets.

Framework scope
  • deterministic TR-HASH MoE with separate expert learning rates;
  • language models with GQA/MHA and shared plus routed feed-forward paths;
  • hierarchical detection, classification, segmentation, depth, pose, and OBB models;
  • image generation/editing, speech, and video research components;
  • single-device, DDP, FSDP, CUDA, MPS, and CPU execution;
  • exact resumable checkpoints with optimizer, scheduler, cursor, and distributed RNG state.

Evidence standard

We separate implemented architecture, active training, and validated results. Claims are tied to realized checkpoints and explicit evaluation protocols. Parameters, compute, latency, memory, and accuracy are reported together whenever possible. Planned runs are never presented as completed benchmarks.


Build · measure · share

Community contributions, replications, and critical evaluations are welcome.

Pinned Loading

  1. complexity-framework complexity-framework Public

    Python 7 3

  2. TR-Hash-i64 TR-Hash-i64 Public

    Python 2