How to use from
SGLang
Install from pip and serve model
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
    --model-path "WithinUsAI/WIUAI.Flash.MoE.Coder.Instruct.53m.a9m" \
    --host 0.0.0.0 \
    --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "WithinUsAI/WIUAI.Flash.MoE.Coder.Instruct.53m.a9m",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Use Docker images
docker run --gpus all \
    --shm-size 32g \
    -p 30000:30000 \
    -v ~/.cache/huggingface:/root/.cache/huggingface \
    --env "HF_TOKEN=<secret>" \
    --ipc=host \
    lmsysorg/sglang:latest \
    python3 -m sglang.launch_server \
        --model-path "WithinUsAI/WIUAI.Flash.MoE.Coder.Instruct.53m.a9m" \
        --host 0.0.0.0 \
        --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "WithinUsAI/WIUAI.Flash.MoE.Coder.Instruct.53m.a9m",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Quick Links
  • WIUAI.Flash.MoE.Coder.Instruct.53m.a9m

A 53.4M Parameter Hybrid Mixture-of-Experts Language Model with 9.3M Active Parameters

Developed by WithIn Us AI

Model Repository

⸻

  1. Introduction

WIUAI.Flash.MoE.Coder.Instruct.53m.a9m is a compact hybrid language model developed from scratch by WithIn Us AI.

It combines three architectural approaches within a single language-model backbone:

  1. Gated short-convolution blocks.
  2. Attention-based processing blocks.
  3. Sparse Mixture-of-Experts (MoE) computation.

The resulting architecture explores how multiple computational mechanisms can work together inside a very small language model.

With approximately 53.4 million total parameters and 9.3 million active parameters per token, WIUAI Flash is designed to investigate efficient language modeling, expert specialization, conversational intelligence, reasoning, programming, and tool-oriented instruction following.

The model follows the architectural layout of Liquid AI’s LFM2-MoE family and is compatible with the Transformers Lfm2MoeForCausalLM implementation in Transformers 5 or later.

Unlike a conventional dense model in which the entire parameter network participates in each forward pass, this model uses sparse expert computation to activate a subset of its available parameters.

This makes WIUAI Flash a small-scale exploration of hybrid architecture design and sparse computation.

  1. Model Specifications

Specification Details Model name WIUAI Flash MoE Coder Instruct Organization WithIn Us AI Model ID WithinUsAI/WIUAI.Flash.MoE.Coder.Instruct.53m.a9m Architecture family LFM2-MoE Architecture type Hybrid sparse Mixture-of-Experts Total parameters 53.4 million Active parameters 9.3 million per token Initialization From scratch Convolution Gated short-convolution blocks Attention Dedicated attention blocks Expert system Sparse Mixture-of-Experts Primary format Transformers Additional format GGUF Transformers implementation Lfm2MoeForCausalLM Transformers requirement 5 or later License Apache 2.0 Primary language English

  1. Architecture: Hybrid Sparse Computation

The central architectural feature of WIUAI Flash is the combination of convolution, attention, and expert-based computation.

Rather than relying exclusively on conventional transformer attention layers, the architecture incorporates multiple processing mechanisms.

3.1 Gated Short-Convolution Blocks

The model incorporates gated short-convolution blocks as part of its hybrid sequence-processing architecture.

Short convolutions provide an alternative mechanism for processing local sequence information.

Their role in the hybrid architecture is to complement attention-based processing while contributing to the model’s computational design.

3.2 Attention Blocks

Attention blocks provide mechanisms for contextual interaction across token representations.

These blocks complement the convolutional components and contribute to contextual language modeling.

3.3 Sparse Mixture-of-Experts

The model incorporates a Mixture-of-Experts architecture.

Instead of requiring all expert parameters to participate in every token computation, sparse routing selects expert pathways.

This enables a distinction between:

  • Total parameter capacity.
  • Active parameter computation.
  • Expert specialization.
  • Shared model computation.

Total parameters: 53.4M

Active parameters: 9.3M per token

The active parameter figure describes the model’s reported computational footprint per token, not its complete storage requirements.

3.4 Hybrid Architecture Philosophy

The architectural direction explores the complementary roles of:

  • Local sequence processing.
  • Contextual attention.
  • Sparse expert specialization.
  • Shared representations.
  • Efficient parameter activation.

The objective is to investigate how these mechanisms can be combined within a compact language-model architecture.

  1. Model Capabilities and Intended Applications

WIUAI Flash is designed as a compact conversational and instruction-following model with coding, reasoning, and tool-calling objectives.

Programming and Code Intelligence

Intended applications include:

  • Code generation.
  • Programming assistance.
  • Code explanations.
  • Basic debugging.
  • Code-oriented instruction following.
  • Technical question answering.
  • Programming problem solving.

Reasoning and Problem Solving

The model has been evaluated on general reasoning and knowledge benchmarks.

Its intended applications include:

  • Common-sense reasoning.
  • Factual question answering.
  • Instruction interpretation.
  • Basic mathematical reasoning.
  • General knowledge tasks.
  • Structured problem solving.

Conversational Intelligence

The training data includes conversational and instruction-following sources.

Potential applications include:

  • Conversational assistance.
  • Multi-turn dialogue.
  • Natural-language understanding.
  • Instruction-conditioned responses.
  • General-purpose text generation.

Tool Calling

The training data includes Hermes Function Calling and other instruction-oriented conversational datasets.

This provides a training foundation for experimentation with:

  • Function-call generation.
  • Tool-oriented instructions.
  • Structured assistant responses.
  • Agent integration.
  • Tool-assisted workflows.

Actual tool execution requires an external tool runtime and compatible calling protocol.

  1. Training Methodology and Dataset Provenance

WIUAI Flash was initialized and trained from scratch rather than being presented as a fine-tune of an existing pretrained foundation model.

The reported development process includes a base model and subsequent instruction-oriented fine-tuning, as reflected in the supplied benchmark comparison.

The model’s training corpus draws from educational material, web text, mathematics, programming, conversational data, instruction following, and function-calling datasets.

5.1 Pretraining and Knowledge Sources

Dataset Primary domain HuggingFaceFW/fineweb-edu Educational web text mlfoundations/dclm-baseline-1.0 General web language modeling wikimedia/wikipedia Encyclopedic knowledge HuggingFaceTB/cosmopedia Synthetic educational and explanatory text HuggingFaceTB/smollm-corpus General language modeling HuggingFaceTB/finemath Mathematical content OctoThinker/MegaMath-Web-Pro-Max Mathematical material HuggingFaceFW/finepdfs-edu Educational documents bigcode/the-stack-smol Programming and source code manu/project_gutenberg Literary and historical texts lucadiliello/bookcorpusopen Books and narrative text roneneldan/TinyStories Narrative language modeling ArrowLabs/DCLM-Ultra-1.1 General web text AxiomicLabs/FactBase-DCLM Factual language data sentence-transformers/gooaq Question answering sentence-transformers/eli5 Explanatory question answering HuggingFaceFW/finephrase Language and phrase data microsoft/orca-math-word-problems-200k Mathematical reasoning

5.2 Conversational and Instruction-Following Sources

Dataset Primary domain HuggingFaceTB/smol-smoltalk Conversational training HuggingFaceTB/smoltalk Instruction-oriented dialogue allenai/tulu-3-sft-personas-instruction-following Instruction following allenai/WildChat-4.8M Real-world conversational data teknium/OpenHermes-2.5 Assistant conversations and instructions NousResearch/hermes-function-calling-v1 Function calling and tool-oriented instructions

These datasets represent the reported training data sources. Their inclusion does not imply identical sampling proportions, use in every training stage, or that every record was retained in the final corpus.

  1. Benchmark Evaluation

The following results are reported for the instruction-tuned model and its base model before fine-tuning.

All listed benchmark results are zero-shot evaluations.

6.1 General Reasoning and Knowledge

Benchmark Metric WIUAI Flash Base model Change ARC-Easy acc_norm 49.71 49.66 +0.04 ARC-Challenge acc_norm 30.29 29.44 +0.85 HellaSwag acc_norm 30.10 30.13 -0.03 PIQA acc_norm 64.04 63.22 +0.82 OpenBookQA acc_norm 32.40 32.80 -0.40 SciQ acc_norm 63.90 63.70 +0.20 WinoGrande acc 49.41 49.33 +0.08 BoolQ acc 58.72 58.26 +0.46 LAMBADA OpenAI acc 22.88 21.00 +1.88 MMLU acc 24.82 23.42 +1.40 CommonsenseQA acc 21.70 20.15 +1.56 Social IQa acc 37.67 38.08 -0.41

Changes are percentage-point differences, rounded to two decimal places.

6.2 Mathematical Evaluation

Evaluation WIUAI Flash Base model Change ArithMark-3 43.90 52.90 -9.00 Held-out arithmetic probe 40.94 40.80 +0.14

The held-out arithmetic result represents a separate project-specific probe covering skills that ArithMark-3 does not test.

These two results should not be treated as interchangeable benchmarks.

6.3 Benchmark Interpretation

The reported evaluation demonstrates several characteristics of the model:

  • Improvement on ARC-Challenge.
  • Improvement on PIQA.
  • Improvement on LAMBADA.
  • Improvement on MMLU.
  • Improvement on CommonsenseQA.
  • Small changes on several other benchmarks.
  • A significant regression on ArithMark-3.
  • A small improvement on the separate held-out arithmetic probe.

The results illustrate that instruction fine-tuning can affect different capabilities in different ways.

In particular, the ArithMark-3 regression identifies arithmetic as an area requiring further development.

These results are reported measurements, not evidence of state-of-the-art performance.

  1. Strengths and Limitations

Strengths

  • Compact 53.4M parameter architecture.
  • 9.3M reported active parameters per token.
  • Hybrid convolution and attention design.
  • Sparse expert computation.
  • Trained from scratch.
  • Broad educational and general-language training sources.
  • Dedicated coding and programming data sources.
  • Conversational and instruction-following training sources.
  • Function-calling training data.
  • Compatibility with the LFM2-MoE Transformers architecture.

Limitations

WIUAI Flash is a very small language model and should be evaluated within its computational scale.

Known limitations include:

  • Unreliable arithmetic performance.
  • Difficulty with complex multi-step instructions.
  • Potential factual inaccuracies.
  • Limited ability to solve demanding programming problems.
  • Potential inconsistency in multi-turn conversations.
  • No guarantee of reliable tool-call formatting or execution.
  • Limited generalization compared with substantially larger models.

The model is intended for experimentation, lightweight applications, and architectural research rather than unrestricted autonomous deployment.

  1. Loading the Model

The model follows the LFM2-MoE Transformers implementation.

Requirements:

  • Python environment with PyTorch.
  • Transformers 5 or later.
  • Compatible model and tokenizer files.

Transformers example

import torch from transformers import AutoTokenizer, AutoModelForCausalLM MODEL_ID = ( "WithinUsAI/" "WIUAI.Flash.MoE.Coder.Instruct.53m.a9m" ) tokenizer = AutoTokenizer.from_pretrained(MODEL_ID) model = AutoModelForCausalLM.from_pretrained( MODEL_ID, torch_dtype="auto" ) messages = [ { "role": "user", "content": "Write a Python function to calculate factorial." } ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_tensors="pt" ) with torch.inference_mode(): outputs = model.generate( inputs, max_new_tokens=256, do_sample=True, temperature=0.7, top_p=0.9 ) print( tokenizer.decode( outputs[0][inputs.shape[-1]:], skip_special_tokens=True ) )

The example assumes the repository’s tokenizer provides a compatible chat template. For GPU deployment, move the model and inputs to the appropriate device.

  1. Future Research Directions

WIUAI Flash represents a compact experimental architecture intended to inform further development within the WithIn Us AI ecosystem.

Potential research directions include:

  1. Improving mathematical reasoning.
  2. Improving multi-step instruction following.
  3. Improving code generation reliability.
  4. Investigating expert specialization.
  5. Analyzing expert routing and utilization.
  6. Improving conversational consistency.
  7. Evaluating structured tool calling.
  8. Exploring hybrid convolution-attention configurations.
  9. Studying parameter efficiency and inference performance.
  10. Scaling the architecture to larger model configurations.

These are research directions rather than claims of implemented capabilities.

  1. Developer and Organization

WithIn Us AI

WIUAI develops experimental language models and AI architectures focused on compact intelligence, hybrid neural computation, sparse expert systems, reasoning, coding, and autonomous AI research.

The project explores alternative architectural approaches to building useful language models under constrained computational budgets.

Organization:

https://huggingface.co/WithinUsAI

Model:

https://huggingface.co/WithinUsAI/WIUAI.Flash.MoE.Coder.Instruct.53m.a9m

  1. License

This model is released under the Apache License 2.0, as specified by its repository metadata.

Users should independently verify the licensing conditions of upstream datasets and any redistributed model components.

  1. Citation

If you use or reference this model, please cite:

@misc{wiuai_flash_moe_coder_53m, title = { WIUAI Flash MoE Coder Instruct: A 53.4M Parameter Hybrid Mixture-of-Experts Model }, author = {WithIn Us AI}, year = {2026}, publisher = {Hugging Face}, url = { https://huggingface.co/WithinUsAI/WIUAI.Flash.MoE.Coder.Instruct.53m.a9m } }

⸻

WIUAI.Flash.MoE.Coder.Instruct.53m.a9m

53.4M Total Parameters. 9.3M Active Parameters.

WithIn Us AI — Exploring Intelligence Through Architecture.

Downloads last month
-
Safetensors
Model size
53.4M params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Datasets used to train WithinUsAI/WIUAI.Flash.MoE.Coder.Instruct.53m.a9m

Collection including WithinUsAI/WIUAI.Flash.MoE.Coder.Instruct.53m.a9m