Naive-N0.5-Flash - 309B-A15.5B

Reddit r/LocalLLaMA Models

Summary

Naive-N0.5-Flash is an open-weight 309B Mixture-of-Experts AI model with 15.5B active parameters, optimized for coding and AI research, featuring a native 1M-token context window and high inference speeds.

No content available
Original Article
View Cached Full Text

Cached at: 09/27/26, 07:48 PM

NaiveAI/Naive-N0.5-Flash · Hugging Face

Source: https://huggingface.co/NaiveAI/Naive-N0.5-Flash Naive-N0.5-FlashNaive-N0.5-Flash

Building Frontier AI with AI

https://huggingface.co/NaiveAI/Naive-N0.5-Flash#introductionIntroduction

Naive-N0.5-Flash is an open-weight309B MoE model with 15.5B active parameters, built forcoding and AI R&D. It supports anative 1M-token context windowthrough a hybrid of Sliding-Window Attention (SWA) and lightweight DeepSeek Sparse Attention (DSA), with no full-attention layers.

https://huggingface.co/NaiveAI/Naive-N0.5-Flash#key-featuresKey Features

  • **Native 1M context, without full attention.**Naive-N0.5-Flash combines Sliding-Window Attention (SWA) and lightweight DeepSeek Sparse Attention (DSA) with GQA4 at a predominantly 5:1 SWA–DSA layout. The entire network remains local or sparse, with no full-attention layers.
  • **AI-optimized inference up to 2,000 tokens/s.**NaiveRT, our inference system for Naive-N0.5-Flash, was built and optimized through AI-centered R&D. It combines mega-kernel fusion, Programmatic Dependent Launch (PDL), and speculative decoding, delivering 50 tokens/s per user in Standard mode and up to 2,000 tokens/s in Ultrafast mode. See the NaiveRT case study in thetechnical blogfor the implementation and optimization process.
  • **Open weights and API.**Model weights and inference code are released under the MIT license. API access will also be provided, with pricing set at $0.10 / $0.40 / $0.01 per million tokens for input, output, and cache reads, respectively.

https://huggingface.co/NaiveAI/Naive-N0.5-Flash#model-architectureModel Architecture

PropertySpecificationArchitectureMixture-of-Experts (MoE)Total parameters309BActive parameters15.5BContext lengthNative 1M tokensTransformer layers48Attention-layer composition39 SWA layers + 9 DSA layersAttention mechanismHybrid SWA–DSASWA window128 tokensDSA token selectionTop 2,048 tokens for backbone attentionDSA KV groups4 (GQA4)Indexer query heads16

https://huggingface.co/NaiveAI/Naive-N0.5-Flash#hybrid-swadsa-attentionHybrid SWA–DSA Attention

Naive-N0.5-Flash builds on the open-weight MiMo-V2.5 base model, which has a simple architecture with strong foundational capabilities in world knowledge and deep research. Most layers use Sliding-Window Attention (SWA), whose per-token decoding cost does not grow with context length, while a small number of global-attention layers preserve long-range information. At million-token context lengths, however, these global-attention layers account for much of the decoding overhead.

Naive-N0.5-Flash replaces the global-attention layers with DeepSeek Sparse Attention (DSA). A lightweight indexer scores the full history, while the backbone computes attention only over a selected subset of tokens. Although the indexer still scans the full history and the full KV cache is retained, sparse attention substantially reduces attention computation and memory access. Adapting the model to this new attention structure was one objective of continued pretraining.

Hybrid SWA–DSA architecture showing the network stack and the DSA attention module, including the 16-head indexer and top-2,048 token selection.

Figure 1. The hybrid attention stack and DSA module.

The network consists ofeight six-layer modules. A standard module contains five SWA layers followed by one DSA layer, with the first layer of the first module also replaced by DSA. SWA uses a128-token window, while DSA selects thetop 2,048 tokensfor backbone attention. Both attention types incorporate sink bias.

Unlike the original MLA-based DSA implementation, Naive-N0.5-Flash replaces MLA with grouped-query attention (GQA) usingfour KV groups. For the architecture design process and indexer efficiency comparison, see model architecture in thetechnical blog.

https://huggingface.co/NaiveAI/Naive-N0.5-Flash#training-overviewTraining Overview

Following the architectural changes, Naive-N0.5-Flash completed 3.25T tokens of multi-stage training with a native 1M-token context window: 50B tokens of Indexer Warmup, 3T tokens of Sparse Attention Training, and 200B tokens of Learning Rate Decay. This process adapted the model to its new sparse attention architecture while substantially improving its AI R&D and coding capabilities. See thetechnical blogfor training details.

https://huggingface.co/NaiveAI/Naive-N0.5-Flash#evaluation-resultsEvaluation Results

Coding benchmarks comparing Naive-N0.5-Flash with other models across seven software engineering and agentic tasks.

Figure 2. Coding and agentic task results. Naive-N0.5-Flash is highlighted in yellow.

AI R&D benchmarks covering PostTrainBench, MLE-bench-30, PaperBench, SOL-ExecBench, NanoChat AutoResearch, and NanoGPT SpeedRun.

Figure 3. AI research and systems optimization results. Metric directions are indicated in the figure.

Evaluation setup and metric notes**Evaluation setup.**Unless otherwise noted, our evaluations of Naive-N0.5-Flash use Claude Code 2.1.207 with a 1M-token context window, temperature 1.0, and top-p 0.95. The harness exposes only basic file I/O and Bash tools.

Sources for reported benchmark scores are as follows:

https://huggingface.co/NaiveAI/Naive-N0.5-Flash#deploymentDeployment

Naive-N0.5-Flash supports FP8 mixed-precision inference. For general use, we recommend setting the sampling parameters totemperature=1\.0andtop\_p=0\.95.

https://huggingface.co/NaiveAI/Naive-N0.5-Flash#quick-start-with-transformersQuick Start with Transformers

Naive-N0.5-Flash requires FP8-capable NVIDIA GPUs. The model weights occupy approximately 315 GB; allow additional GPU memory for inference.

pip install "transformers[torch,kernels]>=5.17.0"
from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "NaiveAI/Naive-N0.5-Flash-FP8"
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
    model_id,
    trust_remote_code=True,
    dtype="auto",
    device_map="auto",
)

inputs = tokenizer.apply_chat_template(
    [{"role": "user", "content": "Hello!"}],
    add_generation_prompt=True,
    return_dict=True,
    return_tensors="pt",
).to(model.device)

output = model.generate(**inputs, max_new_tokens=2048)
response = tokenizer.decode(
    output[0, inputs["input_ids"].shape[1]:],
    skip_special_tokens=True,
)
print(response)

https://huggingface.co/NaiveAI/Naive-N0.5-Flash#licenseLicense

Naive-N0.5-Flash is released under the MIT License.

https://huggingface.co/NaiveAI/Naive-N0.5-Flash#citationCitation

If you find Naive-N0.5-Flash useful in your research or work, please cite:

@misc{naiveai2026naiven05flash,
  title  = {Naive-N0.5-Flash: Building Frontier AI with AI},
  author = {{NaiveAI Team}},
  year   = {2026},
  url    = {https://naive.ai/en/research/}
}

https://huggingface.co/NaiveAI/Naive-N0.5-Flash#acknowledgmentsAcknowledgments

Naive-N0.5-Flash builds on the work of the open-source community and gives back to it. We thank the Xiaomi MiMo team for making their MiMo-V2.5 base model publicly available, the DeepSeek team for their work on DeepSeek Sparse Attention (DSA), and the SGLang team and community for their open-source inference infrastructure.

https://huggingface.co/NaiveAI/Naive-N0.5-Flash#contactContact

For questions, feedback, or collaboration, please contact us at[email protected]or follow us on X at @naiveailab. You can also find our open-source projects and model releases onGitHubandHugging Face.

Similar Articles

Mach-Mind-4-Flash Technical Report

arXiv cs.CL

This technical report introduces Mach-Mind-4-Flash, a 35B-parameter Mixture-of-Experts agentic model with 3B activated parameters that matches or surpasses 100B-class models through post-training optimization alone. It presents a novel training infrastructure with dynamic multi-teacher scheduling, multi-teacher on-policy distillation, and hybrid median-length policy optimization for token efficiency.

README_EN.md · openpangu/openPangu-2.0-Flash at main

Reddit r/LocalLLaMA

openPangu-2.0-Flash is a 92B-parameter MoE model with 6B activated parameters, trained on Ascend, featuring 512k context length and fast thinking capabilities. It achieves strong performance on reasoning and coding benchmarks, using architectural innovations like MLA attention and multi-token prediction.