/ Модель

Характеристики

Контекст
262 144 токена
Лицензия
Своя лицензия
Архитектура
qwen4_exp · dense
Базовая модель
Qwen3.8-Flash-Next-FP4-Local
Опубликована
20 окт 2026

Qwen3.8-Flash-Next-FP4-Local-Abliterated

Изображение и текст → текст13 профессий

Мультимодальная модель Qwen3.8 с уменьшенной склонностью к отказам для диалогов, анализа изображений и вызова инструментов.

1 502скачиваний за 30 дней15лайковвеса обновлены18 ноя 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

DevelopingDad подготовил производную модель NVIDIA Qwen3.8-Flash-Next-FP4-Local, изменив веса методом abliteration для снижения склонности к отказам. Это мультимодальная разговорная модель семейства Qwen с архитектурой Qwen4ExpForConditionalGeneration и поддержкой изображений, вызова инструментов и режима рассуждений. В карточке указаны 125 млрд параметров языковой модели, из которых активны 6 млрд, а также отдельные таблица n-граммных эмбеддингов на 51 млрд и слой MTP на 4 млрд. Контекст профиля запуска достигает 262 144 токенов.

Модель предназначена для диалогов, ответов на запросы с изображениями, работы с инструментами и генерации текста с уменьшенным числом отказов. В README описаны проверки распознавания простых изображений, вызова инструментов, длинного контекстного поиска и ускоренного декодирования. Весовой формат унаследован от базы: NVFP4 для routed experts и MXFP8 для внимания и общих проекций; заявленный размер файлов около 96 ГиБ. Для запуска автор указывает DGX Spark с совместимым контейнером B12X vLLM.

README сообщает, что на тестовой выборке отказов стало меньше, однако сохраняются отказы и возможны неверные или непоследовательные ответы. Оценка возможностей ограничена узкими проверками, включая простые одноцветные изображения; широкие бенчмарки и обработка видео не проверялись. Лицензия в метаданных обозначена как other, поэтому конкретные условия следует уточнить в репозитории модели.

Сценарии применения

  • ответы на вопросы в диалоге с уменьшенным числом отказов
  • распознавание и описание изображений в диалоге
  • вызов инструментов через совместимый API
  • поиск заданных сведений в длинном контексте
  • генерация и редактирование текста на сервере DGX Spark

Ограничения

Проверки охватывали ограниченный набор сценариев; широкие бенчмарки и видео не оценивались, а тесты зрения ограничивались одноцветными изображениями. Отказы сохраняются, ответы могут быть ошибочными или непоследовательными; запуск квалифицирован только для указанного профиля DGX Spark и B12X vLLM.

Для каких профессий подходит13

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Также подходит для

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Qwen3.8-Flash-Next FP4-Local — Abliterated

Fewer refusals, the same compact weight formats, and similar single-Spark decode speed to NVIDIA's FP4-Local base.

Base Original Method Runs on License

Quick start · Evaluation · Tuned inference · Two-Spark recipe · Method

A standalone derivative of NVIDIA's Qwen3.8-Flash-Next-FP4-Local, modified through abliteration: a weight edit that reduces the model's learned refusal behavior. The edit is baked into the checkpoint, so no adapter or runtime hook is needed.

The weights occupy approximately 96 GiB on disk and run on one DGX Spark using the supplied launcher. A separate two-Spark serving recipe is linked below.

[!IMPORTANT] This checkpoint keeps NVIDIA's FP4-Local storage format, including its compressed NVFP4 scales. Like the base, it requires a compatible B12X vLLM container. Use the pinned image in serve-spark.sh; a standard Transformers or stock vLLM loading example is not a supported path for this checkpoint.

Highlights

  • Substantially reduced refusals: 0 of 100 development and 6 of 100 holdout prompts were detected as refusals, against 99 and 100 for the NVIDIA base.
  • Base-compatible weight layout: every tensor retains the base checkpoint's name, dtype and shape. Routed experts remain NVFP4; attention and shared-expert projections remain MXFP8.
  • Similar single-Spark speed: median decode rates of 38.0 tok/s for prose and 54.3 tok/s for code, against 39.4 and 50.7 for the base under the same serving profile.
  • Functional checks passed: image input, tool calling, thinking controls and MTP speculative decoding passed the checks described below.
  • Self-contained: download the repository and run the included DGX Spark launcher.

These results describe the MXFP8 release dated October 22, 2026. They are bounded measurements, not a claim that all capabilities are unchanged.

Model overview

Original modelQwen/Qwen3.8-Flash-Next by Qwen
Quantized basenvidia/Qwen3.8-Flash-Next-FP4-Local by NVIDIA, revision b9ce18a
Parameters125B language-model parameters, 6B active, plus a 51B n-gram embedding table and a 4B MTP layer, as described in NVIDIA's card
Input / outputText and images in, text out
Weight storageApproximately 96 GiB / 102 GB across 21 shards
PrecisionMixed precision: NVFP4 routed experts, MXFP8 attention and shared-expert projections, and other tensors in their original base formats
What changedRefusal-direction ablation in the 48 attention output projections and the routed/shared expert down projections
Single-Spark contextConfigured for 262,144 tokens; retrieval checks reached approximately 30K tokens in October and 250K in the November comparison
Tested hardwareDGX Spark, GB10, 128 GB unified memory; separate single-node and two-node profiles

Weight storage is the size on disk, not the complete runtime memory requirement. The single-Spark launcher uses disk-backed n-gram embeddings and a 104 GiB container memory cap.

Quick start (DGX Spark)

You need:

  • One DGX Spark with Docker and NVIDIA GPU support.
  • The Hugging Face CLI, hf. See the installation guide.
  • Space for approximately 102 GB of model files, plus the Docker image and compilation caches.
  • Enough free unified memory to run the 104 GiB container. Avoid running another large model alongside it.

Download the complete repository, preserving the tensors/ directory, then start the server:

hf download DevelopingDad/Qwen3.8-Flash-Next-FP4-Local-Abliterated \
  --local-dir ./qwen-abliterated

bash ./qwen-abliterated/serve-spark.sh ./qwen-abliterated

The launcher uses this pinned runtime image:

eugr/spark-vllm-b12x@sha256:03a956544e9f9b4b7ba91690469fbe7848bdbef29a7d2e0f5788368467bb3595

First start: compilation and autotuning took about 23 minutes on the tested Spark. Later starts reused the cache and took about 5 minutes. Startup time varies by host and cache state.

The launcher stays attached to the server logs. In another terminal, check readiness:

curl --fail http://127.0.0.1:8000/health

Once that succeeds, the OpenAI-compatible API is available at http://127.0.0.1:8000/v1, with model ID qwen-trial117.

Send a request

This example disables thinking and requests a direct answer:

curl --fail http://127.0.0.1:8000/v1/chat/completions \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "qwen-trial117",
    "messages": [
      {
        "role": "user",
        "content": "Explain how a heat pump works in three sentences."
      }
    ],
    "max_tokens": 256,
    "chat_template_kwargs": {
      "enable_thinking": false
    }
  }'

For Python, install the client in your Python environment:

python3 -m pip install openai

This example enables thinking explicitly:

from openai import OpenAI

client = OpenAI(
    base_url="http://127.0.0.1:8000/v1",
    api_key="none",
)

reply = client.chat.completions.create(
    model="qwen-trial117",
    messages=[
        {"role": "user", "content": "Write a haiku about unified memory."}
    ],
    max_tokens=2048,
    extra_body={
        "chat_template_kwargs": {"enable_thinking": True}
    },
)

message = reply.choices[0].message
reasoning = getattr(message, "reasoning", None)
if reasoning:
    print(reasoning)
print(message.content)
  • Thinking is on by default. Set chat_template_kwargs.enable_thinking per request. Reasoning is returned in the message's reasoning field.
  • Tools use the OpenAI-compatible tools field, with the qwen3_xml parser.
  • Sampling defaults come from generation_config.json: temperature 1.0, top-p 0.95 and top-k 20. The greedy evaluation settings below are separate from these defaults.

To stop the server from another terminal:

docker stop -t 90 qwen-trial117

Rerun the launcher to start it again; compiled caches persist.

Serving profile

The launcher follows NVIDIA's published DGX Spark profile for the base:

SettingDefault
Tensor parallelism1
Maximum context262,144 tokens
Active sequencesUp to 8
KV cacheFP8
Prefix caching / chunked prefillEnabled
Speculative decodingMTP, 4 draft tokens
KernelsB12X MoE, linear and GDN
N-gram embeddings / PLEDisk-backed
Container memory cap104 GiB

Eight active sequences do not mean eight simultaneous maximum-length contexts; available KV cache limits the total.

VariableDefaultEffect
PORT8000API port
HOST127.0.0.1Bind address; use an authenticating proxy before exposing the API beyond the host
MTP_TOKENS4Speculative draft tokens; 0 disables MTP
CACHE_DIR~/.cache/qwen-trial117Compiled kernels and autotune results

Evaluation

The following results cover the October 22, 2026 MXFP8 release on one DGX Spark, using serve-spark.sh unless otherwise stated. NVIDIA's base checkpoint was served with the same profile.

The base revision, runtime image, frozen intervention inputs and validation summary are recorded in provenance.json. File hashes and sizes are recorded in SHA256SUMS and release-files.json.

Refusals and drift

Refusal tests used 100 development and 100 holdout prompts from mlabonne/harmful_behaviors. Answers were greedy, seed 3741, thinking off and capped at 100 tokens. A refusal regex classified the responses.

CheckpointDevelopment refusalsHoldout refusals
NVIDIA base99 / 100100 / 100
This model0 / 1006 / 100

These are detected refusals in short responses. They do not measure answer correctness, usefulness or universal compliance. Raw responses to refusal-test prompts are not published.

Distribution drift was measured separately on benign prompts from mlabonne/harmless_alpaca, using 100 prompts per split:

Metric, this model versus NVIDIA baseDevelopmentHoldout
First-token KL, nats0.2070.219
First-token top-1 agreement81%84%

KL measures a difference between probability distributions. Here it uses the first answer token and renormalized top-20 candidates. It is not a percentage, a full-vocabulary KL measurement or a general capability score.

Capabilities

  • Functional checks: 11 of 11 passed. Model listing, streamed usage, thinking on and off, automatic and forced tool calls, a tool-result follow-up returning exact JSON, image colour recognition, and exact retrieval of three planted markers from documents of about 8,000 and 30,000 tokens.
  • Vision: 10 of 10 solid-colour images named correctly. This is a basic image-input check, not a broad vision benchmark.
  • Speculative decoding: observed MTP acceptance was comparable to the base. A greedy audit found no emitted-token mismatches against the target model's top choice on the audited output.
  • Writing: 13 of 20 editing and composition cases passed all scoring dimensions, against 14 for the base. An AI reviewer scored the fixture; it was not human-adjudicated. The two changed cases also varied between runs of the other checkpoints.

Two writing behaviors repeated across runs: short arithmetic questions could trigger step-by-step explanations that exhausted a tight output budget, and requests to tighten a long note received lighter edits than the base.

These checks establish specific working paths. They do not establish unchanged overall capability.

Speed

Single request, greedy decoding, thinking off, 512 output tokens, MTP 4. Decode rates are medians of six probes over two rounds; ranges are shown in parentheses.

MetricThis modelNVIDIA base
Prose decode, tok/s38.0 (37.7–39.6)39.4 (39.1–40.9)
Code decode, tok/s54.3 (48.5–56.0)50.7 (49.3–52.4)
Speculative decode step67.7–67.9 ms66.8–67.2 ms
KV cache capacity947,989 tokens902,668 tokens
Time to first token, short prompt0.05–0.27 s—
Time to first token, ~30,000-token prompt, cold12.7 s—

Decode rate measures generation after the first content token; it excludes prefill. Speed depends strongly on content because speculative decoding accepts more draft tokens on predictable text such as code.

On a separately tuned single-Spark stack with MTP 2, based on diffbot's DGX Spark recipe, prose reached 45.3–45.7 tok/s against 46.1–47.1 for the base. That stack is not included in this repository, and those figures do not describe the supplied launcher's defaults.

Tuned single-Spark inference

On November 18, 2026, T3 was adopted for local testing on one NVIDIA DGX Spark (GB10). T0, T2 and T3 used the same checkpoint revision, pinned B12X vLLM image and default clocks. T3 serving and benchmark recipe

T0 used the bundled MTP4 launcher. T2 used two MTP draft tokens, a 98,304-token draft vocabulary, FP8 target and draft KV caches, and runtime and kernel patches. T3 builds on T2 with FP8 copies for HyperConnection mixing and PLE key/value projections in decode. It retains the 262,144-token context limit, eight active-sequence slots, and 104 GiB container cap. T2 serving and benchmark recipe

The T3 test enabled VLLM_QWEN38_HC_FP8=1, VLLM_QWEN38_HC_FUSE=1 and VLLM_QWEN38_TARGET_FP8=1. It removed the T2 setting VLLM_QWEN50_HC_GEMV=1 and replaced the local HyperConnection overlay with the pinned Diffbot version at the same container mount destination. Diffbot overlay

Speed and latency are medians of three suite runs per profile.

MetricT0 bundledT2 tunedT3 tunedT3 vs T2
Single-stream prose decode38.77 tok/s46.35 tok/s50.04 tok/s+8.0%
Single-stream code decode56.10 tok/s55.82 tok/s60.21 tok/s+7.9%
Slowest single-stream probe in each run37.56 tok/s44.98 tok/s49.95 tok/s+11.1%
Aggregate output, 4 concurrent requests78.17 tok/s107.66 tok/s113.11 tok/s+5.1%
Aggregate output, 8 concurrent requests112.39 tok/s153.99 tok/s156.29 tok/s+1.5%
Time to first token, ~8K input3.43 s3.27 s3.24 s−0.9%
Time to first token, ~30K input12.75 s12.19 s12.11 s−0.6%
Time to first token, ~128K input55.71 s53.44 s53.00 s−0.8%
Time to first token, ~250K input113.49 s108.78 s108.08 s−0.6%
Allocated KV cache at benchmark startup916,036 tokens982,828 tokens972,491 tokens−1.05%

Relative to T0, T3 was 29% faster for prose and 7% faster for code, with 45% higher aggregate output at four concurrent requests and 39% higher at eight. T2's code median fell 0.5% below T0 and missed the strict gate, within T0's observed range. T3 passed the code gate against T2.

T3 passed all 13 functional checks and nine objective checks in every run, including retrieval through approximately 250K input tokens. The four-case greedy audit found zero mismatches against T3's target logits. After a prefill-only check missed the decode-only FP8 path, a second check compared each profile's decode outputs with its own teacher-forced prefill. Mean renormalized top-20 KL was 0.00892 for T3 and 0.00862 for T2, with top-1 agreement of 97.56% and 97.14%, respectively.

T3 scored 13/20 full passes in all three assistant-scored writing runs, at the low end of T2's 13–14 range. One comparison softened a source requirement and was flagged for human review. Host memory headroom under the eight-request load narrowed from 0.70 GiB to 0.48 GiB above the 16 GiB guard floor.

Two DGX Sparks

For two-node serving, see XtraSaltyDev's TP=2 recipe and evaluation. It serves this checkpoint without modifying the weights.

The qualified profile uses 262K context, 16 active sequences, BF16 KV cache, MTP4 and disk-backed PLE, with a 104 GiB container cap on each Spark. It requires working RoCE networking and the model files on both nodes.

Measured on October 22, 2026:

WorkloadOriginal eight-slot profileQualified sixteen-slot profile
16 concurrent short requests: aggregate output229.0 tok/s313.4 tok/s (+37%)
Same workload: p95 first token11.89 s0.77 s
16 concurrent ~8K-input requests: aggregate output38.64 tok/s40.98 tok/s (+6%)

Both columns use the same abliterated checkpoint and runtime image. This comparison measures serving-profile changes, not performance against NVIDIA's unmodified model.

The short workload used 62–64 input tokens and 256 forced output tokens, greedy decoding and thinking off. Aggregate throughput includes queue and prefill time across the request wave; it is not a single user's decode rate. The samples are small and do not establish production latency guarantees. Serial prose decode was about 8% slower than the eight-slot reference.

The selected profile also passed 10/10 strict JSON retrieval checks at 261,623 input tokens. This result belongs to the two-Spark BF16-KV profile; it does not extend the single-Spark FP8-KV validation above. Sixteen scheduler slots do not imply sixteen simultaneous 262K contexts.

See the GitHub repository for setup, full results and tradeoffs, and the pinned checkpoint revision and raw evidence.

How it was made

  1. Find the refusal direction. The method follows Arditi et al. (2024) and the parameterization of Heretic, reimplemented for this checkpoint's native vLLM backend. Per-layer directions come from attention-output activations on harmful and harmless prompt sets. An Optuna TPE search balanced refusals against KL, and trial 117 was selected.

  2. Bake the intervention into the weights. The selected projection was applied to the 48 attention output projections and the routed/shared expert down projections. Expert weights were re-rounded in NVFP4 and MXFP8 while preserving their scale encodings.

  3. Restore attention to MXFP8. The intermediate bake stored the edited attention output weights in BF16. Constrained rounding re-encoded them into the base's MXFP8 format while preserving the intended directional edit.

The selected trial uses the accepted continuation recalibration. Its parameters, directions and row norms are included in bake-selection.json, frozen-directions.json and frozen-row-norms.json.

Direction-preserving re-encode

Plain MXFP8 rounding of the edited attention weights would introduce error along the removed direction equal to about a tenth of the intervention's size.

The re-encode script instead rounds each weight to one of its two nearest E4M3 values, using the base's scale rule of one E8M0 exponent per 32 inputs. A greedy pass chooses roundings that cancel error along the removed direction while minimizing added squared error.

Across the 48 attention output projections:

  • Error along the removed direction is at most 0.002% of the intervention.
  • Overall relative weight error is 1.47–1.93%.
  • The fraction of the direction removed matches the BF16 intermediate to within 0.00002.

Per-layer measurements are in reencode/reencode-report.json. These are weight-space measurements, separate from the behavioral tests above.

The tokenizer, chat template, vision encoder and built-in MTP layer are NVIDIA's. The model configuration is unchanged apart from a standalone_provenance metadata entry. This is an edited derivative of NVIDIA's quantized checkpoint, not a repeat of its quantization-aware distillation.

Files

FileContents
tensors/, model.safetensors.index.jsonWeights: 21 shards in the base layout
config.json, tokenizer, chat_template.jinja, preprocessor configsBase configuration and processing files, with the provenance addition noted above
serve-spark.shSingle-Spark launcher
bake-selection.json, frozen-directions.json, frozen-row-norms.jsonFrozen trial 117 intervention inputs
reencode/MXFP8 re-encode script and per-layer report
provenance.jsonBuild information and validation summary
SHA256SUMS, release-files.jsonRelease file hashes and sizes
LICENSE, NOTICE, upstream/Governing terms, notices and NVIDIA's original card

Limitations

  • Narrow evaluation: broad capability benchmarks and video input were not evaluated for this derivative. The vision checks were limited to solid colours.
  • Profile-specific evidence: retrieval checks reached about 250K tokens in the November single-Spark comparison and near 262K with the two-Spark profile. These checks used planted markers.
  • Original targets not met: the project aimed for zero refusals and a KL ceiling of 0.20 and did not meet its original qualification targets. The top-20 KL reported here is distinct from the original full-vocabulary metric.
  • Refusals remain: 6 of 100 holdout prompts were detected as refusals.
  • Hardware and runtime scope: validation used DGX Spark and pinned B12X runtimes. Other hardware and runtime versions are not qualified here.
  • Outputs can be wrong or inconsistent: reduced refusal behavior does not establish correctness, factual reliability or preserved general capability.

Responsible use

Abliteration reduces learned refusal behavior. The model may attempt requests the original declines and can produce harmful, offensive, false or illegal content.

  • You are responsible for how you use it and for complying with applicable law and the governing licenses.
  • Add your own safeguards before deploying it to end users.
  • Do not use it for activities prohibited by the Qwen or NVIDIA terms.

There is no warranty of any kind.

License

This checkpoint is derived from NVIDIA's quantized checkpoint and Qwen's original model. Their governing terms continue to apply; this release does not relicense the base weights.

  • NVIDIA Open Model Agreement: the governing download terms for NVIDIA's checkpoint. A copy is included in LICENSE.
  • Qwen Community License 1.0: additional terms for the original model, included in upstream/QWEN-LICENSE.

Licensed by NVIDIA Corporation under the NVIDIA Open Model Agreement.

Read the full license texts before use or redistribution, including their commercial-use conditions. Runtime containers and external software have their own licenses.

Citation

@misc{developingdad2026qwen38abliterated,
  title        = {Qwen3.8-Flash-Next FP4-Local -- Abliterated},
  author       = {DevelopingDad},
  year         = {2026},
  howpublished = {\url{https://huggingface.co/DevelopingDad/Qwen3.8-Flash-Next-FP4-Local-Abliterated}}
}

@article{arditi2024refusal,
  title   = {Refusal in Language Models Is Mediated by a Single Direction},
  author  = {Arditi, Andy and Obeso, Oscar and Syed, Aaquib and Paleka, Daniel and Panickssery, Nina and Gurnee, Wes and Nanda, Neel},
  journal = {arXiv preprint arXiv:2406.11717},
  year    = {2024}
}

@misc{heretic,
  author       = {Weidmann, Philipp Emanuel},
  title        = {Heretic: Fully automatic censorship removal for language models},
  year         = {2025},
  publisher    = {GitHub},
  journal      = {GitHub repository},
  howpublished = {\url{https://github.com/p-e-w/heretic}}
}

Credits

This release stands on other people's work.

Model

  • Qwen: Qwen3.8-Flash-Next, the original model, under the Qwen Community License 1.0.
  • NVIDIA: the FP4-Local checkpoint, quantized with Model Optimizer (Apache-2.0), under the NVIDIA Open Model Agreement. NVIDIA's published DGX Spark profile is the basis of serve-spark.sh.

Method

Software and serving

  • vLLM (Apache-2.0): the serving engine.
  • FlashInfer (Apache-2.0) and B12X by Local Inference Lab (Apache-2.0): the kernels.
  • eugr/spark-vllm-docker (MIT): the DGX Spark vLLM image used for building and serving.
  • Optuna (MIT), PyTorch (BSD-3-Clause) and safetensors (Apache-2.0).
  • diffbot: the tuned-stack recipe behind the optional single-Spark speed figure.
  • XtraSaltyDev: the separate two-Spark serving recipe, evaluation harnesses and deployment results.

External projects retain their own licenses. This release is not endorsed by Qwen, NVIDIA or any of the projects above.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм

Нельзя запустить

Готовая квантизация поддерживается только для текстовых LLM.

Класс архитектуры
Qwen4ExpForConditionalGeneration
Ревизия весов
8854af5

0 моделей