玩模型开放模型 · 清晰来源 · 自主选择
返回模型目录
IsValorum /

Xing4.0-29B-A4B-APEX-I-NanoPlus-Abliterated-GGUF

HF 源站

IsValorum/Xing4.0-29B-A4B-APEX-I-NanoPlus-Abliterated-GGUF is an uncensored open-source model hosted on Hugging Face.

Text Generationllama.cppGGUFChineseEnglishMultilingualLicense: apache-2.029Bquantizedquantizationapexapex-quantapex-i-nanoplusnanopluscustom-quantizationimatrixabliterateduncensoredmoemlahyper-connectionsmtpreasoningcodingagenticlong-contextxing4_0conversational
README.md说明 / 使用方法

base_model: huihui-ai/Huihui-Xing4.0-29B-A4B-abliterated base_model_relation: quantized quantized_by: IsValorum library_name: gguf license: apache-2.0 language:

  • en
  • zh pipeline_tag: text-generation tags:
  • gguf
  • llama.cpp
  • quantized
  • quantization
  • apex
  • apex-quant
  • apex-i-nanoplus
  • nanoplus
  • custom-quantization
  • imatrix
  • abliterated
  • uncensored
  • moe
  • mla
  • hyper-connections
  • mtp
  • reasoning
  • coding
  • agentic
  • long-context
  • xing4_0

Quick Navigation Index

  1. Xing4.0 Architecture & Abliterated Source
  2. Measured Fidelity & NanoPlus / MiniPlus Comparison
  3. Model Files & Technical Specifications
  4. Surgical Tensor Quantization Map (Audited from GGUF)
  5. Hardware Throughput: GPU Projections & Tested RAM Offload
  6. 256K Native Context & Deployment Notes
  7. llama.cpp Quickstart
  8. Official Xing4.0 Generation Parameters
  9. Optional Support

Xing4.0-29B-A4B APEX-I-NanoPlus Abliterated GGUF

29B / 4B Active MoE · mHC + MLA + MTP · 256K Native Context · 11.74 GB

[!IMPORTANT]

APEX-I-NANOPLUS — ULTRA-COMPACT 11–12 GB RELEASE

This APEX-I-NanoPlus build uses a Xing4.0-specific tensor-by-tensor allocation to compress the model to 11.74 GB (10.94 GiB / 2.92 BPW) while retaining measured Q4_K_M / Q4_K_S-class practical quality. It is intended for configurations where an extra ~2 GB of headroom materially improves GPU offload, context capacity, or hybrid RAM/GPU execution.

[!NOTE]

ABLITERATED / UNCENSORED SOURCE

This GGUF quantizes huihui-ai/Huihui-Xing4.0-29B-A4B-abliterated. Huihui describes that checkpoint as an uncensored version of the official Xing4.0 model created with an abliteration workflow and references Sumandora/remove-refusals-with-transformers for the method. No additional refusal-removal procedure is performed by this GGUF quantization.

[!TIP]

MEASURED FIDELITY

QuantizationFile SizeMemory FootprintAverage BPWWikiText-2 PerplexityDelta vs. BF16Quality Target
BF16 source62.40 GB58.11 GiB16.007.3060 +/- 0.18633BaselineFull-precision reference
APEX-I-MiniPlus V2.113.76 GB12.82 GiB3.427.7238 +/- 0.19671+0.4178 (+5.71%)Q5_K_M-class quality
APEX-I-NanoPlus (CURRENT)11.74 GB10.94 GiB2.928.3197 +/- 0.21528+1.0137 (+13.87%)Q4_K_M / Q4_K_S-class quality

The PPL values above are direct measurements from the final GGUFs. The MiniPlus/NanoPlus quality labels describe the intended practical fidelity tier; they are not derived from generic flat-quant PPL tables.


Xing4.0 Architecture & Abliterated Source

The official XingChen-AGI/Xing4.0-29B-A4B is a 29B-parameter Mixture-of-Experts model with approximately 4B parameters activated per token. The upstream architecture combines mHC (manifold-constrained Hyper-Connections), Multi-head Latent Attention (MLA), and one Multi-Token Prediction (MTP) layer, and is positioned for reasoning, coding, agentic planning, and tool use. XingChen reports a 256K native context window, extensible to 512K, and training on the Ascend NPU / MindSpore stack.

The architecture is not a uniform 40-layer MoE:

  • 40 main transformer layers in total.
  • Layers 0–1 are dense FFN layers (first_k_dense_replace: 2).
  • Layers 2–39 are MoE layers with 64 routed experts, 4 selected per token, plus one always-active shared expert.
  • One additional MTP block is stored as blk.40 in the GGUF.
  • Native context: 262,144 tokens (256K); upstream documents extension to 512K.

NanoPlus concentrates precision on the residual down-projections, the two dense entry layers, MLA, mHC, routers, and output path while pushing selected routed gate/up projections lower to reach the 11.74 GB target.


Measured Fidelity & NanoPlus / MiniPlus Comparison

Both APEX-I editions were evaluated directly from their compiled GGUF binaries with llama-perplexity on WikiText-2 using the same 2048-context / 512-batch / 10-chunk setup:

MetricBF16 SourceNanoPlusMiniPlus V2.1
WikiText-2 PPL7.3060 +/- 0.186338.3197 +/- 0.215287.7238 +/- 0.19671
Delta PPL0+1.0137 (+13.87%)+0.4178 (+5.71%)
GGUF size62.40 GB BF16 source11.74 GB13.76 GB
Average BPW16.002.923.42
Practical quality targetFull precisionQ4_K_M / Q4_K_S classQ5_K_M class

Choose NanoPlus when memory efficiency is the priority. Choose MiniPlus V2.1 when the additional ~2 GB is available and maximum retained fidelity is preferred.


Model Files & Technical Specifications

FileSizeMemory FootprintBPWDescription
Xing4.0-29B-A4B.APEX-I-NanoPlus-Abliterated.gguf11.74 GB10.94 GiB2.92Ultra-compact mixed-precision Xing4.0 Abliterated GGUF
  • Quantized source: huihui-ai/Huihui-Xing4.0-29B-A4B-abliterated
  • Official model: XingChen-AGI/Xing4.0-29B-A4B
  • Parameters: 29B-class total / approximately 4B active per token (official specification)
  • Main stack: 40 layers = 2 dense + 38 MoE
  • MoE: 64 routed experts, 4 active per token, plus 1 shared expert on MoE layers
  • Attention / residual architecture: MLA + mHC
  • MTP: 1 additional prediction block (blk.40 in GGUF)
  • Context: 256K native; upstream supports extension to 512K

Surgical Tensor Quantization Map (Audited from GGUF)

The table below was checked against the tensor directory of the published 11.74 GB GGUF. It includes the two dense layers and the layer-range changes that are specific to this NanoPlus build:

ComponentTensor / Layer RangePrecisionPurpose
Output headoutput.weightQ6_KHigh-precision final token projection
Token embeddingstoken_embd.weightQ4_KVocabulary representation
NormalizationsRMS / attention / FFN normsF32Numerical stability
Dense FFN entry layersblk.0–1.ffn_downQ6_KProtects the two upstream-defined dense layers
Dense FFN entry layersblk.0–1.ffn_gate/upQ4_KHigh-fidelity dense feature projections
Main MoE routersblk.2–39.ffn_gate_inpF32Preserves routed expert selection
Shared expertsblk.2–39.ffn_*_shexpQ4_KAlways-active MoE foundation path
Routed down-projectionsblk.2–37.ffn_down_expsIQ3_XXSProtects the residual stream at calibrated 3-bit precision
Routed gate projectionsblk.2–37.ffn_gate_expsIQ2_SIMatrix-guided compact gating path
Early/intermediate up-projectionsblk.2–15.ffn_up_expsIQ2_SExtra protection in earlier MoE layers
Deep up-projectionsblk.16–37.ffn_up_expsIQ2_XXSAggressive compression concentrated in the deep up path
Final MoE down-projectionsblk.38–39.ffn_down_expsQ3_KLinear boundary protection
Final MoE gate/up projectionsblk.38–39.ffn_gate/up_expsIQ3_XXSHigher-precision output-side expert path
MLA latent projectionsattn_q_a, attn_q_b, attn_kv_a_mqa, attn_v_bQ4_KProtects MLA reconstruction geometry
MLA K projectionattn_k_bQ5_0Additional precision for latent-key reconstruction
Attention outputattn_outputQ6_KHigh-precision attention output projection
mHC transform matriceshc_attn_fn, hc_ffn_fnQ8_0Preserves Hyper-Connection transforms
mHC base / scale tensorshc_*_base, hc_*_scaleF32Full-precision residual mixing controls
MTP experts / next-token tensorsblk.40.ffn_*_{exps,shexp}, nextn.*Q4_KProtects the integrated prediction head
MTP attentionblk.40 MLA projections / outputQ4_K / Q5_0 / Q6_KRetains the same protected MLA precision pattern
MTP router / normsblk.40.ffn_gate_inp and normalization tensorsF32Full-precision routing and normalization

Hardware Throughput: GPU Projections & Tested RAM Offload

Dedicated-GPU throughput projections

The following figures are estimates, not measured Xing4.0 benchmarks. They are deployment projections for the 11.74 GB GGUF after the weights fit in the target configuration; context length, KV format, batch size, backend, clocks, and llama.cpp build can materially change throughput.

Hardware TargetModeEstimated GenerationNotes
RTX 5080 / 5090Full GPU where memory permits130–175+ tok/sBlackwell projection; available VRAM determines context headroom
RTX 4090 / 3090Full GPU85–120+ tok/s24GB cards leave substantial room for long context
RTX 4080 / 4070 Ti SuperFull GPU65–95+ tok/s16GB class benefits directly from the smaller weight footprint

Tested hybrid / system-RAM behavior

Hybrid and system-RAM offload were tested during development. Depending on CPU, memory bandwidth, DDR4/DDR5 configuration, GPU offload level, and active context, observed generation behavior falls around 25–50 tok/s. Treat this as a hardware-dependent author-tested range, not a guarantee for every system.


256K Native Context & Deployment Notes

Xing4.0's official configuration declares max_position_embeddings: 262144; the upstream model card documents 256K native context with extension to 512K.

NanoPlus weights occupy 10.94 GiB, leaving roughly 1.88 GiB more headroom than MiniPlus before KV cache and compute buffers are allocated. Actual fully resident context still depends on KV-cache type, Flash Attention, batch size, concurrent slots, compute buffers, display-driver reservation, and llama.cpp build. The 512K mode should be treated as an upstream-supported extended context rather than an automatic fit guarantee on a single GPU.


llama.cpp Quickstart

Xing4.0's upstream Jinja template uses Xing-specific role tokens such as <_system>, <_user>, <_bot>, and <_end>. Let llama.cpp apply the chat template stored in the model metadata instead of manually constructing role tokens.

Interactive llama-cli

llama-cli \
  -m Xing4.0-29B-A4B.APEX-I-NanoPlus-Abliterated.gguf \
  -ngl 99 \
  -c 32768 \
  -cnv \
  --jinja \
  --temp 1.0 \
  --top-p 0.95 \
  --repeat-penalty 1.05

OpenAI-compatible llama-server

llama-server \
  -m Xing4.0-29B-A4B.APEX-I-NanoPlus-Abliterated.gguf \
  --port 8080 \
  --host 0.0.0.0 \
  -ngl 99 \
  -c 65536 \
  --flash-attn on \
  --jinja \
  --cache-type-k q8_0 \
  --cache-type-v q8_0

llama.cpp documents that --jinja enables Jinja chat templating and that the template can be taken from the model metadata. Increase context only after accounting for your actual KV-cache and buffer usage.


Official Xing4.0 Generation Parameters

The official XingChen model card recommends the following sampler settings:

ScenarioTemperatureTop-PRepetition Penalty
Complex reasoning / general tasks1.00.951.05
Coding / agent tasks0.80.951.05

XingChen also reports using long contexts in its evaluations, including 210K for SWE-bench-style agent runs and 256K for several long-context evaluations.


Optional Support

If these MiniPlus or NanoPlus releases have been useful to you and you would like to support the work, you can do so voluntarily through https://ko-fi.com/isvalorum. Your contribution helps with evaluation, hosting, and future handcrafted quantizations. Every release will always remain free to download and use; there are no paywalled files, updates, or features.

HUGGING FACE

上游数据

HF 下载量2
HF 点赞量0

HF 下载量为源站最近 30 天统计,与本站点击分开。

SITE STATS

本站统计

下载点击—
请求数—
匿名去重—最近 7 天—

本站下载量记录按钮点击,不代表下载完成;短时连点会去重。

来源与版本

作者
IsValorum
最近更新
2026/10/01
最新创建
2026/10/01
HF 趋势
589
数据快照
2026/10/01
版本
未知
许可证
apache-2.0