CoolFace
Modelpublic

Ooriginador/Qwen3.8-Flash-Next-ArkCompact-Q4_K_M

sourceHugging Faceapache-2.0updated 25d agoView on Hugging Face
0likes45downloads
Model Card

Qwen3.8-Flash-Next (ARKCOMPACT Ternary Edition)

<p align="center"> <img src="https://raw.githubusercontent.com/jhonslife/assets/main/arkcompact_banner.png" alt="ARKCOMPACT Banner" width="700"/> </p>

Model Overview

This repository contains the ARKCOMPACT 1.58-bit Ternary Release and GGUF v3 Quantized Release of Qwen3.8-Flash-Next (Qwen4ExpForConditionalGeneration), compressed with ARKCOMPACT — the sovereign neural compilation and quantization pipeline developed for the ArkheionNet / Sovereign AI OS ecosystem.

Key Architectural Highlights

  • Base Architecture: Qwen4ExpForConditionalGeneration (Hybrid Gated DeltaNet + Sparse Attention + Massive Mixture-of-Experts).
  • Sparse MoE Capacity: 512 total experts with dynamic routing (10 routed experts + 1 shared expert active per token).
  • Total Parameters: 125 Billion parameters (~6 Billion active parameters per token).
  • Compression Density: Packed into 1.58-bit base-3 format (5 trits per byte), reducing memory footprint by over 20.19× compared to FP32.
  • Spectral Fidelity: Mean Model Pearson Correlation: 0.9033 across all 1,658 tensors.

📊 Specifications & Tensor Composition

SpecificationNative ARK ContainerGGUF v3 ExportUncompressed (FP32)
File Format.ark (Ternary Native).gguf (Q4KM)Raw SafeTensors
File Size39.67 GiB139.00 GiB500.00 GiB
Compression Ratio12.60× vs FP323.60× vs FP321.00×
Total Tensors1,6581,6581,658
Ternary Tensors (1.58-bit)1,244
Float32 Precision Tensors414 (Norms/Biases)1,658
Context Length32,768 tokens32,768 tokens32,768 tokens
Layers / Heads / Dim36 / 16 / 204836 / 16 / 204836 / 16 / 2048

⚡ Quickstart

1. Direct Inference via ArkheionNet Sovereign Engine (Rust Native)

Run direct GPU/CPU hybrid inference with 0 subprocess overhead:

bash
cargo run --release -p ark-inference -- \
  --model qwen3.8-flash-next.ark \
  --prompt "Explique os princípios fundamentais da computação quântica:" \
  --max-tokens 100 \
  --verbose

2. Using llama.cpp / GGUF v3 Runtime

bash
./llama-cli -m qwen3.8-flash-next-q4_k_m.gguf \
  -p "Explain the AdS/CFT holographic correspondence in 2 paragraphs." \
  -n 512 --ctx-size 32768 -ngl 10

3. Using Ollama

Create a Modelfile:

dockerfile
FROM ./qwen3.8-flash-next-q4_k_m.gguf
TEMPLATE """{{ if .System }}<|im_start|>system
{{ .System }}<|im_end|>
{{ end }}{{ if .Prompt }}<|im_start|>user
{{ .Prompt }}<|im_end|>
{{ end }}<|im_start|>assistant
{{ .Response }}<|im_end|>"""
PARAMETER stop "<|im_start|>"
PARAMETER stop "<|im_end|>"
PARAMETER temperature 0.7
PARAMETER top_p 0.95
PARAMETER num_ctx 32768

Register and execute:

bash
ollama create qwen38-flash-next -f Modelfile
ollama run qwen38-flash-next "Construa um pipeline de streaming assíncrono em Rust."

🛡️ License & Sovereign Architecture

The weights provided are based on the Qwen architecture licensed under Apache 2.0. The ARKCOMPACT high-density ternary packing engine, hyperbolic Poincaré projections, and Triton/HIP accelerated kernels are part of the ArkheionNet Sovereign AI OS.