File size: 14,819 Bytes
794d44f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b8caf00
794d44f
 
69e6b53
794d44f
69e6b53
794d44f
69e6b53
 
 
794d44f
69e6b53
794d44f
69e6b53
794d44f
69e6b53
794d44f
 
 
69e6b53
794d44f
69e6b53
794d44f
69e6b53
794d44f
69e6b53
794d44f
 
 
69e6b53
794d44f
69e6b53
794d44f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
69e6b53
794d44f
69e6b53
794d44f
69e6b53
794d44f
69e6b53
794d44f
69e6b53
794d44f
69e6b53
794d44f
69e6b53
794d44f
69e6b53
794d44f
69e6b53
794d44f
 
 
 
 
 
 
 
 
 
 
 
 
 
69e6b53
794d44f
69e6b53
794d44f
69e6b53
794d44f
69e6b53
794d44f
69e6b53
794d44f
69e6b53
794d44f
69e6b53
794d44f
 
 
 
 
69e6b53
794d44f
69e6b53
794d44f
69e6b53
794d44f
69e6b53
794d44f
69e6b53
794d44f
 
 
 
 
 
 
69e6b53
794d44f
69e6b53
794d44f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
69e6b53
 
 
794d44f
 
 
 
 
69e6b53
794d44f
69e6b53
794d44f
69e6b53
794d44f
69e6b53
794d44f
 
 
 
 
69e6b53
794d44f
69e6b53
794d44f
69e6b53
794d44f
69e6b53
794d44f
69e6b53
794d44f
69e6b53
794d44f
69e6b53
794d44f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
69e6b53
794d44f
69e6b53
794d44f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
69e6b53
794d44f
69e6b53
794d44f
69e6b53
794d44f
69e6b53
794d44f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
69e6b53
 
 
 
 
 
 
794d44f
69e6b53
 
794d44f
69e6b53
794d44f
 
 
 
 
 
 
 
 
 
69e6b53
794d44f
69e6b53
 
794d44f
69e6b53
 
 
 
 
794d44f
 
 
 
 
 
69e6b53
794d44f
69e6b53
b8caf00
69e6b53
794d44f
69e6b53
794d44f
69e6b53
794d44f
 
 
 
 
 
 
 
 
 
69e6b53
794d44f
69e6b53
794d44f
69e6b53
794d44f
69e6b53
794d44f
69e6b53
794d44f
69e6b53
794d44f
69e6b53
794d44f
69e6b53
794d44f
69e6b53
794d44f
69e6b53
794d44f
69e6b53
794d44f
69e6b53
794d44f
69e6b53
794d44f
69e6b53
 
 
794d44f
 
 
 
 
 
 
 
 
 
 
69e6b53
 
 
 
794d44f
 
 
69e6b53
794d44f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
---
license: apache-2.0
language:
- en
tags:
- wiuai
- wiuai
- from-scratch
- small-language-model
- mixture-of-experts
- moe
- lfm2_moe
- hybrid-architecture
- short-convolution
- attention
- sparse-computation
- coding
- code-generation
- instruction-following
- tool-calling
- reasoning
- conversational
- chat
- transformers
datasets:
- HuggingFaceFW/fineweb-edu
- mlfoundations/dclm-baseline-1.0
- wikimedia/wikipedia
- HuggingFaceTB/cosmopedia
- HuggingFaceTB/smollm-corpus
- HuggingFaceTB/finemath
- OctoThinker/MegaMath-Web-Pro-Max
- HuggingFaceFW/finepdfs-edu
- bigcode/the-stack-smol
- manu/project_gutenberg
- lucadiliello/bookcorpusopen
- roneneldan/TinyStories
- ArrowLabs/DCLM-Ultra-1.1
- AxiomicLabs/FactBase-DCLM
- sentence-transformers/gooaq
- sentence-transformers/eli5
- HuggingFaceFW/finephrase
- microsoft/orca-math-word-problems-200k
- HuggingFaceTB/smol-smoltalk
- HuggingFaceTB/smoltalk
- allenai/tulu-3-sft-personas-instruction-following
- allenai/WildChat-4.8M
- teknium/OpenHermes-2.5
- NousResearch/hermes-function-calling-v1
---
* 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.

2. 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

3. 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.

4. 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.

5. 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.

6. 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.

7. 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.

8. 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.

9. 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.

11. 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

12. 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.

13. 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.