11-47 commited on
Commit
794d44f
·
verified ·
1 Parent(s): 69e6b53

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +355 -198
README.md CHANGED
@@ -1,169 +1,348 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
 
 
2
 
3
-
4
 
5
  ⸻
6
 
7
- language:
8
 
9
- * en
10
- license: other
11
- library_name: transformers
12
- pipeline_tag: text-generation
13
- tags:
14
- * moe
15
- * mixture-of-experts
16
- * coding
17
- * code-generation
18
- * code-instruct
19
- * programming
20
- * instruction-following
21
- * technical-reasoning
22
- * small-language-model
23
- * sparse-model
24
- * withinusai
25
 
26
- ⸻
27
 
28
- WIUAI Flash MoE Coder Instruct 53M-A9M
 
 
29
 
30
- A Compact Sparse Mixture-of-Experts Model for Coding and Instruction Following
31
 
32
- Developed by WithIn Us AI
33
 
34
- WithinUsAI/WIUAI.Flash.MoE.Coder.Instruct.53m.a9m
35
 
36
- ⸻
 
 
37
 
38
- 1. Overview
39
 
40
- WIUAI Flash MoE Coder Instruct 53M-A9M is a compact language model designed around a Mixture-of-Experts (MoE) architecture, with a focus on programming, code generation, and instruction-driven technical tasks.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
41
 
42
- The project explores sparse expert computation in a small parameter budget, aiming to make specialized computational pathways available without requiring every expert to participate in every forward pass.
43
 
44
- The model’s naming identifies two important design targets:
45
 
46
- Specification Value
47
- Model family WIUAI Flash
48
- Architecture Mixture-of-Experts
49
- Total parameters 53M
50
- Target active parameters 9M
51
- Primary specialization Coding
52
- Model type Instruction-tuned language model
53
- Developer WithIn Us AI
54
 
55
- The active parameter count should be confirmed against the actual expert-routing implementation.
56
 
57
- 2. Design Philosophy
58
 
59
- The central design objective is to explore how a relatively small model can use specialized computational pathways to handle different categories of programming and instruction-following tasks.
60
 
61
- Rather than treating every token as requiring the same complete parameter pathway, MoE architectures use a routing mechanism to select specialized experts.
62
 
63
- This design provides a foundation for investigating:
64
 
65
- * Sparse computation.
66
- * Specialized expert pathways.
67
- * Parameter-efficient inference.
68
- * Coding-focused language modeling.
69
- * Instruction-conditioned generation.
 
 
 
 
 
 
 
 
 
70
  * Expert specialization.
71
- * Computational efficiency.
72
 
73
- The objective is to investigate the relationship between model capacity, expert specialization, and practical coding performance.
74
 
75
- 3. Intended Applications
76
 
77
- WIUAI Flash MoE Coder Instruct is intended for experimentation and development in the following areas.
78
 
79
- Programming and Code Generation
80
 
81
- * Python programming.
82
- * Software development assistance.
83
- * Function and class generation.
84
- * Algorithm implementation.
85
- * Code completion.
86
- * Programming explanations.
87
 
88
- Code Understanding
 
 
 
 
89
 
90
- * Code interpretation.
91
- * Understanding programming structures.
92
- * Explaining existing implementations.
93
- * Identifying potential programming errors.
94
- * Analyzing logical operations.
95
 
96
- Debugging and Problem Solving
97
 
98
- * Identifying programming mistakes.
99
- * Suggesting potential corrections.
100
- * Explaining error messages.
101
- * Reviewing code logic.
102
- * Developing alternative implementations.
103
 
104
- Instruction Following
105
 
106
- * Structured programming instructions.
 
 
 
 
 
 
107
  * Technical question answering.
108
- * Step-by-step implementation requests.
109
- * Code-oriented conversational tasks.
110
 
111
- AI Agent Integration
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
112
 
113
  Potential applications include:
114
 
115
- * Lightweight coding agents.
116
- * Multi-agent programming systems.
117
- * Specialized coding components in AI swarms.
118
- * Tool-assisted programming workflows.
119
- * Local experimentation with compact coding models.
120
 
121
- These are intended applications, not claims of independently verified performance.
122
 
123
- 4. Mixture-of-Experts Architecture
124
 
125
- The model is identified as a sparse Mixture-of-Experts system.
126
 
127
- An MoE architecture typically consists of:
 
 
 
 
128
 
129
- 1. A shared model backbone.
130
- 2. Multiple specialized expert networks.
131
- 3. A routing mechanism.
132
- 4. Expert selection and activation.
133
- 5. Integration of expert outputs.
134
 
135
- The router determines which experts participate in processing a given input.
136
 
137
- This allows an MoE model to maintain a larger total parameter count than its per-token active parameter count.
138
 
139
- Parameter Design
140
 
141
- Parameter category Target
142
- Total model parameters 53 million
143
- Active parameters 9 million
144
- Inactive parameters per routing event Depends on routing
145
 
146
- The exact number of experts, experts selected per token, routing algorithm, and expert dimensions must be established from the released model configuration.
147
 
148
- 5. Model Capabilities
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
149
 
150
- The model is designed for experimentation involving:
151
 
152
- * Natural-language-to-code generation.
153
- * Code-oriented instruction following.
154
- * Programming explanations.
155
- * Technical problem solving.
156
- * Code transformation.
157
- * Algorithm development.
158
- * Structured text generation.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
159
 
160
- Actual capability depends on the training data, training procedure, model architecture, and evaluation results.
161
 
162
- 6. Usage
163
 
164
- The repository should be used with the model’s supported architecture and tokenizer implementation.
165
 
166
- For a Transformers-compatible implementation, the following is a starting point:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
167
 
168
  import torch
169
  from transformers import AutoTokenizer, AutoModelForCausalLM
@@ -171,134 +350,112 @@ MODEL_ID = (
171
  "WithinUsAI/"
172
  "WIUAI.Flash.MoE.Coder.Instruct.53m.a9m"
173
  )
174
- tokenizer = AutoTokenizer.from_pretrained(
175
- MODEL_ID,
176
- trust_remote_code=True
177
- )
178
  model = AutoModelForCausalLM.from_pretrained(
179
  MODEL_ID,
180
- torch_dtype="auto",
181
- device_map="auto",
182
- trust_remote_code=True
183
  )
184
- prompt = """Write a Python function that checks
185
- whether a number is prime."""
186
- inputs = tokenizer(
187
- prompt,
 
 
 
 
 
 
188
  return_tensors="pt"
189
- ).to(model.device)
190
  with torch.inference_mode():
191
  outputs = model.generate(
192
- **inputs,
193
  max_new_tokens=256,
194
  do_sample=True,
195
  temperature=0.7,
196
  top_p=0.9
197
  )
198
- print(tokenizer.decode(
199
- outputs[0],
200
- skip_special_tokens=True
201
- ))
202
-
203
- This example assumes the repository implements a compatible Transformers causal language model. The actual loading procedure and generation configuration must match its implementation.
204
-
205
- 7. Training and Data Provenance
206
-
207
- The training methodology and data provenance should be documented using verifiable project records.
208
-
209
- Important information includes:
210
-
211
- * Original model initialization.
212
- * Training architecture.
213
- * Tokenizer and vocabulary.
214
- * Training datasets and dataset versions.
215
- * Data preprocessing.
216
- * Training objectives.
217
- * Optimizer and learning-rate schedule.
218
- * Training hardware.
219
- * Training duration.
220
- * Checkpoint and release history.
221
-
222
- No specific base model, dataset, training duration, or training benchmark is asserted here without supporting records.
223
-
224
- 8. Evaluation
225
 
226
- Model performance should be established through reproducible testing.
227
 
228
- Recommended evaluation categories:
229
 
230
- Evaluation Purpose
231
- HumanEval Python code generation
232
- MBPP Basic programming problems
233
- BigCodeBench Practical coding tasks
234
- HumanEval+ More rigorous code correctness
235
- Instruction-following tests Prompt adherence
236
- Code execution tests Functional correctness
237
- Routing analysis Expert utilization
238
- Parameter profiling Active computation
239
 
240
- Evaluation results should include the benchmark version, test configuration, sampling parameters, and execution environment.
241
 
242
- No benchmark scores are claimed in this model card.
243
 
244
- 9. Limitations
245
 
246
- WIUAI Flash MoE Coder Instruct is a compact experimental model.
247
 
248
- Users should consider:
249
 
250
- * It may generate syntactically incorrect code.
251
- * Generated implementations may contain logical errors.
252
- * It may struggle with complex software engineering tasks.
253
- * Its knowledge is limited by its training data.
254
- * It may produce incorrect technical explanations.
255
- * MoE architecture alone does not establish superior performance.
256
- * Generated code should be tested before deployment.
257
 
258
- This model should not be considered a substitute for software testing, security review, or human verification.
 
 
 
 
 
 
 
 
 
259
 
260
- 10. Responsible Use
261
 
262
- The model is intended for research, education, software development experimentation, and AI engineering.
263
 
264
- Users should independently review generated code for:
265
 
266
- * Security vulnerabilities.
267
- * Dependency risks.
268
- * Licensing compatibility.
269
- * Data privacy.
270
- * Correctness and reliability.
271
 
272
- 11. About WithIn Us AI
273
 
274
- WIUAI Flash MoE Coder Instruct is part of the WithIn Us AI model development ecosystem.
275
 
276
- The broader research direction explores compact language models, specialized architectures, efficient computation, autonomous agents, coding systems, and multi-agent intelligence.
277
 
278
- The objective is to investigate alternative approaches to building capable AI systems within constrained computational budgets.
279
 
280
- Developer: WithIn Us AI
281
 
282
- Organization: https://huggingface.co/WithinUsAI
283
 
284
- Model: https://huggingface.co/WithinUsAI/WIUAI.Flash.MoE.Coder.Instruct.53m.a9m
285
 
286
- ⸻
287
 
288
- 12. Citation
289
 
290
  If you use or reference this model, please cite:
291
 
292
- @misc{wiuai_flash_moe_coder_instruct,
293
- title={WIUAI Flash MoE Coder Instruct 53M-A9M},
294
- author={WithIn Us AI},
295
- year={2026},
296
- publisher={Hugging Face},
297
- url={https://huggingface.co/WithinUsAI/WIUAI.Flash.MoE.Coder.Instruct.53m.a9m}
 
 
 
 
 
298
  }
299
 
300
  ⸻
301
 
302
- WIUAI Flash MoE Coder Instruct 53M-A9M
 
 
303
 
304
- WithIn Us AI — Building Intelligence Through Architecture, Research, and Innovation.
 
1
+ ---
2
+ license: apache-2.0
3
+ language:
4
+ - en
5
+ tags:
6
+ - wiuai
7
+ - wiuai
8
+ - from-scratch
9
+ - small-language-model
10
+ - mixture-of-experts
11
+ - moe
12
+ - lfm2_moe
13
+ - hybrid-architecture
14
+ - short-convolution
15
+ - attention
16
+ - sparse-computation
17
+ - coding
18
+ - code-generation
19
+ - instruction-following
20
+ - tool-calling
21
+ - reasoning
22
+ - conversational
23
+ - chat
24
+ - gguf
25
+ - transformers
26
+ datasets:
27
+ - HuggingFaceFW/fineweb-edu
28
+ - mlfoundations/dclm-baseline-1.0
29
+ - wikimedia/wikipedia
30
+ - HuggingFaceTB/cosmopedia
31
+ - HuggingFaceTB/smollm-corpus
32
+ - HuggingFaceTB/finemath
33
+ - OctoThinker/MegaMath-Web-Pro-Max
34
+ - HuggingFaceFW/finepdfs-edu
35
+ - bigcode/the-stack-smol
36
+ - manu/project_gutenberg
37
+ - lucadiliello/bookcorpusopen
38
+ - roneneldan/TinyStories
39
+ - ArrowLabs/DCLM-Ultra-1.1
40
+ - AxiomicLabs/FactBase-DCLM
41
+ - sentence-transformers/gooaq
42
+ - sentence-transformers/eli5
43
+ - HuggingFaceFW/finephrase
44
+ - microsoft/orca-math-word-problems-200k
45
+ - HuggingFaceTB/smol-smoltalk
46
+ - HuggingFaceTB/smoltalk
47
+ - allenai/tulu-3-sft-personas-instruction-following
48
+ - allenai/WildChat-4.8M
49
+ - teknium/OpenHermes-2.5
50
+ - NousResearch/hermes-function-calling-v1
51
+ ---
52
+ WIUAI.Flash.MoE.Coder.Instruct.53m.a9m
53
+
54
+ A 53.4M Parameter Hybrid Mixture-of-Experts Language Model with 9.3M Active Parameters
55
 
56
+ Developed by WithIn Us AI
57
 
58
+ Model Repository
59
 
60
  ⸻
61
 
62
+ 1. Introduction
63
 
64
+ WIUAI.Flash.MoE.Coder.Instruct.53m.a9m is a compact hybrid language model developed from scratch by WithIn Us AI.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
65
 
66
+ It combines three architectural approaches within a single language-model backbone:
67
 
68
+ 1. Gated short-convolution blocks.
69
+ 2. Attention-based processing blocks.
70
+ 3. Sparse Mixture-of-Experts (MoE) computation.
71
 
72
+ The resulting architecture explores how multiple computational mechanisms can work together inside a very small language model.
73
 
74
+ 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.
75
 
76
+ 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.
77
 
78
+ 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.
79
+
80
+ This makes WIUAI Flash a small-scale exploration of hybrid architecture design and sparse computation.
81
 
82
+ 2. Model Specifications
83
 
84
+ Specification Details
85
+ Model name WIUAI Flash MoE Coder Instruct
86
+ Organization WithIn Us AI
87
+ Model ID WithinUsAI/WIUAI.Flash.MoE.Coder.Instruct.53m.a9m
88
+ Architecture family LFM2-MoE
89
+ Architecture type Hybrid sparse Mixture-of-Experts
90
+ Total parameters 53.4 million
91
+ Active parameters 9.3 million per token
92
+ Initialization From scratch
93
+ Convolution Gated short-convolution blocks
94
+ Attention Dedicated attention blocks
95
+ Expert system Sparse Mixture-of-Experts
96
+ Primary format Transformers
97
+ Additional format GGUF
98
+ Transformers implementation Lfm2MoeForCausalLM
99
+ Transformers requirement 5 or later
100
+ License Apache 2.0
101
+ Primary language English
102
 
103
+ 3. Architecture: Hybrid Sparse Computation
104
 
105
+ The central architectural feature of WIUAI Flash is the combination of convolution, attention, and expert-based computation.
106
 
107
+ Rather than relying exclusively on conventional transformer attention layers, the architecture incorporates multiple processing mechanisms.
 
 
 
 
 
 
 
108
 
109
+ 3.1 Gated Short-Convolution Blocks
110
 
111
+ The model incorporates gated short-convolution blocks as part of its hybrid sequence-processing architecture.
112
 
113
+ Short convolutions provide an alternative mechanism for processing local sequence information.
114
 
115
+ Their role in the hybrid architecture is to complement attention-based processing while contributing to the model’s computational design.
116
 
117
+ 3.2 Attention Blocks
118
 
119
+ Attention blocks provide mechanisms for contextual interaction across token representations.
120
+
121
+ These blocks complement the convolutional components and contribute to contextual language modeling.
122
+
123
+ 3.3 Sparse Mixture-of-Experts
124
+
125
+ The model incorporates a Mixture-of-Experts architecture.
126
+
127
+ Instead of requiring all expert parameters to participate in every token computation, sparse routing selects expert pathways.
128
+
129
+ This enables a distinction between:
130
+
131
+ * Total parameter capacity.
132
+ * Active parameter computation.
133
  * Expert specialization.
134
+ * Shared model computation.
135
 
136
+ Total parameters: 53.4M
137
 
138
+ Active parameters: 9.3M per token
139
 
140
+ The active parameter figure describes the model’s reported computational footprint per token, not its complete storage requirements.
141
 
142
+ 3.4 Hybrid Architecture Philosophy
143
 
144
+ The architectural direction explores the complementary roles of:
 
 
 
 
 
145
 
146
+ * Local sequence processing.
147
+ * Contextual attention.
148
+ * Sparse expert specialization.
149
+ * Shared representations.
150
+ * Efficient parameter activation.
151
 
152
+ The objective is to investigate how these mechanisms can be combined within a compact language-model architecture.
 
 
 
 
153
 
154
+ 4. Model Capabilities and Intended Applications
155
 
156
+ WIUAI Flash is designed as a compact conversational and instruction-following model with coding, reasoning, and tool-calling objectives.
 
 
 
 
157
 
158
+ Programming and Code Intelligence
159
 
160
+ Intended applications include:
161
+
162
+ * Code generation.
163
+ * Programming assistance.
164
+ * Code explanations.
165
+ * Basic debugging.
166
+ * Code-oriented instruction following.
167
  * Technical question answering.
168
+ * Programming problem solving.
 
169
 
170
+ Reasoning and Problem Solving
171
+
172
+ The model has been evaluated on general reasoning and knowledge benchmarks.
173
+
174
+ Its intended applications include:
175
+
176
+ * Common-sense reasoning.
177
+ * Factual question answering.
178
+ * Instruction interpretation.
179
+ * Basic mathematical reasoning.
180
+ * General knowledge tasks.
181
+ * Structured problem solving.
182
+
183
+ Conversational Intelligence
184
+
185
+ The training data includes conversational and instruction-following sources.
186
 
187
  Potential applications include:
188
 
189
+ * Conversational assistance.
190
+ * Multi-turn dialogue.
191
+ * Natural-language understanding.
192
+ * Instruction-conditioned responses.
193
+ * General-purpose text generation.
194
 
195
+ Tool Calling
196
 
197
+ The training data includes Hermes Function Calling and other instruction-oriented conversational datasets.
198
 
199
+ This provides a training foundation for experimentation with:
200
 
201
+ * Function-call generation.
202
+ * Tool-oriented instructions.
203
+ * Structured assistant responses.
204
+ * Agent integration.
205
+ * Tool-assisted workflows.
206
 
207
+ Actual tool execution requires an external tool runtime and compatible calling protocol.
 
 
 
 
208
 
209
+ 5. Training Methodology and Dataset Provenance
210
 
211
+ WIUAI Flash was initialized and trained from scratch rather than being presented as a fine-tune of an existing pretrained foundation model.
212
 
213
+ The reported development process includes a base model and subsequent instruction-oriented fine-tuning, as reflected in the supplied benchmark comparison.
214
 
215
+ The model’s training corpus draws from educational material, web text, mathematics, programming, conversational data, instruction following, and function-calling datasets.
 
 
 
216
 
217
+ 5.1 Pretraining and Knowledge Sources
218
 
219
+ Dataset Primary domain
220
+ HuggingFaceFW/fineweb-edu Educational web text
221
+ mlfoundations/dclm-baseline-1.0 General web language modeling
222
+ wikimedia/wikipedia Encyclopedic knowledge
223
+ HuggingFaceTB/cosmopedia Synthetic educational and explanatory text
224
+ HuggingFaceTB/smollm-corpus General language modeling
225
+ HuggingFaceTB/finemath Mathematical content
226
+ OctoThinker/MegaMath-Web-Pro-Max Mathematical material
227
+ HuggingFaceFW/finepdfs-edu Educational documents
228
+ bigcode/the-stack-smol Programming and source code
229
+ manu/project_gutenberg Literary and historical texts
230
+ lucadiliello/bookcorpusopen Books and narrative text
231
+ roneneldan/TinyStories Narrative language modeling
232
+ ArrowLabs/DCLM-Ultra-1.1 General web text
233
+ AxiomicLabs/FactBase-DCLM Factual language data
234
+ sentence-transformers/gooaq Question answering
235
+ sentence-transformers/eli5 Explanatory question answering
236
+ HuggingFaceFW/finephrase Language and phrase data
237
+ microsoft/orca-math-word-problems-200k Mathematical reasoning
238
 
239
+ 5.2 Conversational and Instruction-Following Sources
240
 
241
+ Dataset Primary domain
242
+ HuggingFaceTB/smol-smoltalk Conversational training
243
+ HuggingFaceTB/smoltalk Instruction-oriented dialogue
244
+ allenai/tulu-3-sft-personas-instruction-following Instruction following
245
+ allenai/WildChat-4.8M Real-world conversational data
246
+ teknium/OpenHermes-2.5 Assistant conversations and instructions
247
+ NousResearch/hermes-function-calling-v1 Function calling and tool-oriented instructions
248
+
249
+ 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.
250
+
251
+ 6. Benchmark Evaluation
252
+
253
+ The following results are reported for the instruction-tuned model and its base model before fine-tuning.
254
+
255
+ All listed benchmark results are zero-shot evaluations.
256
+
257
+ 6.1 General Reasoning and Knowledge
258
+
259
+ Benchmark Metric WIUAI Flash Base model Change
260
+ ARC-Easy acc_norm 49.71 49.66 +0.04
261
+ ARC-Challenge acc_norm 30.29 29.44 +0.85
262
+ HellaSwag acc_norm 30.10 30.13 -0.03
263
+ PIQA acc_norm 64.04 63.22 +0.82
264
+ OpenBookQA acc_norm 32.40 32.80 -0.40
265
+ SciQ acc_norm 63.90 63.70 +0.20
266
+ WinoGrande acc 49.41 49.33 +0.08
267
+ BoolQ acc 58.72 58.26 +0.46
268
+ LAMBADA OpenAI acc 22.88 21.00 +1.88
269
+ MMLU acc 24.82 23.42 +1.40
270
+ CommonsenseQA acc 21.70 20.15 +1.56
271
+ Social IQa acc 37.67 38.08 -0.41
272
+
273
+ Changes are percentage-point differences, rounded to two decimal places.
274
+
275
+ 6.2 Mathematical Evaluation
276
+
277
+ Evaluation WIUAI Flash Base model Change
278
+ ArithMark-3 43.90 52.90 -9.00
279
+ Held-out arithmetic probe 40.94 40.80 +0.14
280
 
281
+ The held-out arithmetic result represents a separate project-specific probe covering skills that ArithMark-3 does not test.
282
 
283
+ These two results should not be treated as interchangeable benchmarks.
284
 
285
+ 6.3 Benchmark Interpretation
286
 
287
+ The reported evaluation demonstrates several characteristics of the model:
288
+
289
+ * Improvement on ARC-Challenge.
290
+ * Improvement on PIQA.
291
+ * Improvement on LAMBADA.
292
+ * Improvement on MMLU.
293
+ * Improvement on CommonsenseQA.
294
+ * Small changes on several other benchmarks.
295
+ * A significant regression on ArithMark-3.
296
+ * A small improvement on the separate held-out arithmetic probe.
297
+
298
+ The results illustrate that instruction fine-tuning can affect different capabilities in different ways.
299
+
300
+ In particular, the ArithMark-3 regression identifies arithmetic as an area requiring further development.
301
+
302
+ These results are reported measurements, not evidence of state-of-the-art performance.
303
+
304
+ 7. Strengths and Limitations
305
+
306
+ Strengths
307
+
308
+ * Compact 53.4M parameter architecture.
309
+ * 9.3M reported active parameters per token.
310
+ * Hybrid convolution and attention design.
311
+ * Sparse expert computation.
312
+ * Trained from scratch.
313
+ * Broad educational and general-language training sources.
314
+ * Dedicated coding and programming data sources.
315
+ * Conversational and instruction-following training sources.
316
+ * Function-calling training data.
317
+ * Compatibility with the LFM2-MoE Transformers architecture.
318
+
319
+ Limitations
320
+
321
+ WIUAI Flash is a very small language model and should be evaluated within its computational scale.
322
+
323
+ Known limitations include:
324
+
325
+ * Unreliable arithmetic performance.
326
+ * Difficulty with complex multi-step instructions.
327
+ * Potential factual inaccuracies.
328
+ * Limited ability to solve demanding programming problems.
329
+ * Potential inconsistency in multi-turn conversations.
330
+ * No guarantee of reliable tool-call formatting or execution.
331
+ * Limited generalization compared with substantially larger models.
332
+
333
+ The model is intended for experimentation, lightweight applications, and architectural research rather than unrestricted autonomous deployment.
334
+
335
+ 8. Loading the Model
336
+
337
+ The model follows the LFM2-MoE Transformers implementation.
338
+
339
+ Requirements:
340
+
341
+ * Python environment with PyTorch.
342
+ * Transformers 5 or later.
343
+ * Compatible model and tokenizer files.
344
+
345
+ Transformers example
346
 
347
  import torch
348
  from transformers import AutoTokenizer, AutoModelForCausalLM
 
350
  "WithinUsAI/"
351
  "WIUAI.Flash.MoE.Coder.Instruct.53m.a9m"
352
  )
353
+ tokenizer = AutoTokenizer.from_pretrained(MODEL_ID)
 
 
 
354
  model = AutoModelForCausalLM.from_pretrained(
355
  MODEL_ID,
356
+ torch_dtype="auto"
 
 
357
  )
358
+ messages = [
359
+ {
360
+ "role": "user",
361
+ "content": "Write a Python function to calculate factorial."
362
+ }
363
+ ]
364
+ inputs = tokenizer.apply_chat_template(
365
+ messages,
366
+ add_generation_prompt=True,
367
+ tokenize=True,
368
  return_tensors="pt"
369
+ )
370
  with torch.inference_mode():
371
  outputs = model.generate(
372
+ inputs,
373
  max_new_tokens=256,
374
  do_sample=True,
375
  temperature=0.7,
376
  top_p=0.9
377
  )
378
+ print(
379
+ tokenizer.decode(
380
+ outputs[0][inputs.shape[-1]:],
381
+ skip_special_tokens=True
382
+ )
383
+ )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
384
 
385
+ The example assumes the repository’s tokenizer provides a compatible chat template. For GPU deployment, move the model and inputs to the appropriate device.
386
 
387
+ 9. GGUF and Local Deployment
388
 
389
+ The model is also associated with the GGUF ecosystem.
 
 
 
 
 
 
 
 
390
 
391
+ GGUF support depends on the availability of a compatible conversion and inference implementation for the LFM2-MoE hybrid architecture.
392
 
393
+ A GGUF file alone does not establish compatibility with every llama.cpp version or other inference runtime.
394
 
395
+ Users should verify architecture support before attempting conversion or deployment.
396
 
397
+ 10. Future Research Directions
398
 
399
+ WIUAI Flash represents a compact experimental architecture intended to inform further development within the WithIn Us AI ecosystem.
400
 
401
+ Potential research directions include:
 
 
 
 
 
 
402
 
403
+ 1. Improving mathematical reasoning.
404
+ 2. Improving multi-step instruction following.
405
+ 3. Improving code generation reliability.
406
+ 4. Investigating expert specialization.
407
+ 5. Analyzing expert routing and utilization.
408
+ 6. Improving conversational consistency.
409
+ 7. Evaluating structured tool calling.
410
+ 8. Exploring hybrid convolution-attention configurations.
411
+ 9. Studying parameter efficiency and inference performance.
412
+ 10. Scaling the architecture to larger model configurations.
413
 
414
+ These are research directions rather than claims of implemented capabilities.
415
 
416
+ 11. Developer and Organization
417
 
418
+ WithIn Us AI
419
 
420
+ WIUAI develops experimental language models and AI architectures focused on compact intelligence, hybrid neural computation, sparse expert systems, reasoning, coding, and autonomous AI research.
 
 
 
 
421
 
422
+ The project explores alternative architectural approaches to building useful language models under constrained computational budgets.
423
 
424
+ Organization:
425
 
426
+ https://huggingface.co/WithinUsAI
427
 
428
+ Model:
429
 
430
+ https://huggingface.co/WithinUsAI/WIUAI.Flash.MoE.Coder.Instruct.53m.a9m
431
 
432
+ 12. License
433
 
434
+ This model is released under the Apache License 2.0, as specified by its repository metadata.
435
 
436
+ Users should independently verify the licensing conditions of upstream datasets and any redistributed model components.
437
 
438
+ 13. Citation
439
 
440
  If you use or reference this model, please cite:
441
 
442
+ @misc{wiuai_flash_moe_coder_53m,
443
+ title = {
444
+ WIUAI Flash MoE Coder Instruct:
445
+ A 53.4M Parameter Hybrid Mixture-of-Experts Model
446
+ },
447
+ author = {WithIn Us AI},
448
+ year = {2026},
449
+ publisher = {Hugging Face},
450
+ url = {
451
+ https://huggingface.co/WithinUsAI/WIUAI.Flash.MoE.Coder.Instruct.53m.a9m
452
+ }
453
  }
454
 
455
  ⸻
456
 
457
+ WIUAI.Flash.MoE.Coder.Instruct.53m.a9m
458
+
459
+ 53.4M Total Parameters. 9.3M Active Parameters.
460
 
461
+ WithIn Us AI — Exploring Intelligence Through Architecture.