/ Модель

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

Лицензия
CC BY 4.0
Опубликована
7 ноя 2026

DS-V4-Pro-Qwen3.5-9B-UNCENSORED-heretic-Metal

Генерация текстаТекст → текст3 профессии
2 982скачиваний за 30 дней6лайковвеса обновлены7 ноя 2026

Описание модели

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

Экспериментальная диалоговая модель на базе Qwen3.5 для генерации кода и вызова инструментов через Ollama.

DS-V4-Pro-Qwen3.5-9B-UNCENSORED-heretic-Metal — экспериментальная модель для генерации кода и работы с вызовами инструментов, созданная askdkc как дообучение xtools-at/DeepSeek-V4-Pro-Qwen3.5-9B-UNCENSORED-heretic. Это вариант Qwen3.5 с 9 млрд параметров: обученная LoRA для кодирования включена в единый файл GGUF с квантизацией Q4_K_M. Модель рассчитана на диалоговый запуск через Ollama; карточка описывает проверку на Apple M1 с 16 ГБ объединённой памяти и ускорением Metal.

В небольшом наборе проверок модель корректно прошла три из четырёх тестов на Python и продемонстрировала структурированный обмен вызовами инструментов. Дообучение затронуло проекции MLP последнего слоя и использовало последовательности длиной до 768 токенов. Настройка Ollama по умолчанию задаёт контекст 256K, однако полноценная работа с таким объёмом и точность на длинном контексте не проверялись. Общие бенчмарки программирования, длительные агентные сценарии и качество рассуждений после дообучения также не оценивались; сгенерированный код требует проверки. Лицензия — CC BY 4.0.

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

  • генерация небольших функций на Python
  • дополнение и исправление фрагментов кода
  • решение простых задач на обработку коллекций
  • формирование структурированных вызовов инструментов
  • локальный запуск кодовой модели на Apple Silicon через Ollama

Ограничения

Проверка охватила лишь четыре небольших теста: один завершился неудачно; это не общий бенчмарк и не подтверждение надёжного автономного программирования. Полный контекст 256K, длинные агентные сценарии и качество рассуждений после дообучения не оценивались; сгенерированный код нужно проверять.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

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

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

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

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

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

Открыть на Hugging Face

DS-V4-Pro-Qwen3.5-9B-UNCENSORED-heretic-Metal

A small experimental coding and tool-use fine-tune of xtools-at/DeepSeek-V4-Pro-Qwen3.5-9B-UNCENSORED-heretic. This Qwen3.5-9B derivative includes the trained coding LoRA in a single GGUF. The three projections updated by training are stored in F16. The remaining 424 tensors retain their original bytes and quantization types.

Use with Ollama

Install and start Ollama. The model was tested with Ollama 0.30.9 on Apple M1, 16 GB unified memory. Other versions and platforms have not been tested.

On a 16 GB Mac, apply the Metal settings before using the default 256K context, or use the smaller context example below.

Run the merged model directly from Hugging Face. Ollama downloads the weights on the first run, without a Hugging Face login.

To copy the command from this page, choose Use this model → Ollama under Local Apps. The menu includes the :Q4_K_M tag and selects the same merged weights as the shorter command below. If Ollama is hidden in your menu, enable it in your Hugging Face Local Apps settings.

ollama run hf.co/askdkc/DS-V4-Pro-Qwen3.5-9B-UNCENSORED-heretic-Metal

If you pulled this URL before the merged release, use ollama pull with the same model name to refresh the local copy. Ollama uses the Qwen chat template embedded in the GGUF and loads the coding prompt and settings from the repository.

For a local alias, download this repository with the Hugging Face CLI and import the merged weights with the included Modelfile.

hf download askdkc/DS-V4-Pro-Qwen3.5-9B-UNCENSORED-heretic-Metal --local-dir heretic-coder-9B
cd heretic-coder-9B
ollama create heretic-coder -f Modelfile

The original base plus standalone adapter are available in the previous release.

Reasoning can be enabled:

ollama run hf.co/askdkc/DS-V4-Pro-Qwen3.5-9B-UNCENSORED-heretic-Metal --think=true

The reported coding checks used --think=false. Reasoning-on quality after this fine-tune has not been evaluated.

Context size and output limits

The supplied settings default to 262144 tokens (256K). This is a runtime setting, not evidence of successful training or evaluation on 256K sequences. A short request at this setting loaded and answered successfully; a full 256K input and long-context accuracy have not been tested. Fine-tuning used sequences up to 768 tokens.

For a smaller working context and a separate output cap, use Ollama's native API:

curl http://localhost:11434/api/chat -d '{
  "model": "hf.co/askdkc/DS-V4-Pro-Qwen3.5-9B-UNCENSORED-heretic-Metal",
  "messages": [{"role": "user", "content": "Write a Python function that splits a list into chunks."}],
  "think": false,
  "stream": false,
  "options": {"num_ctx": 32768, "num_predict": 4096}
}'

num_ctx sets the working context; num_predict caps generated tokens. An output cap alone does not reduce context allocation. With Ollama's OpenAI-compatible endpoint, max_tokens limits output; set context through the model configuration. For a persistent 32K CLI model, after creating heretic-coder:

printf 'FROM heretic-coder\nPARAMETER num_ctx 32768\nPARAMETER num_predict 4096\n' > Modelfile.32k
ollama create heretic-coder-32k -f Modelfile.32k
ollama run heretic-coder-32k --think=false

Apple Silicon and Metal

Ollama uses Metal on supported Apple Silicon Macs. The settings below reduce context-cache memory and keep only one model/request active at a time. They apply to the Ollama server process, not just the terminal running a client.

Quit an existing Ollama app/server first, then start this server in a terminal and leave it running:

sh serve-metal.sh

The included script runs:

OLLAMA_HOST=127.0.0.1:11434 \
OLLAMA_FLASH_ATTENTION=1 \
OLLAMA_KV_CACHE_TYPE=q8_0 \
OLLAMA_NUM_PARALLEL=1 \
OLLAMA_MAX_LOADED_MODELS=1 \
ollama serve

Use another terminal for ollama create / ollama run. While a request is loaded, ollama ps shows its context size and GPU placement. These settings affect all models served by that process. The GGUF files themselves are not Metal-specific.

On the tested M1, Q8 cache reduced Ollama's reported GPU allocation at 32K from 6.88 GB to 6.38 GB. Across five interleaved runs per setting, median generation speed was 9.76 tokens/s with F16 cache and 9.59 tokens/s with Q8 cache. This was a memory improvement, with a small speed tradeoff. At 256K with Q8 cache, a short request used about 10.03 GB reported GPU allocation and all layers were on GPU. These numbers exclude other applications and do not establish full-window performance.

Tool use

Pass tool definitions through Ollama's /api/chat API. Your agent application must execute the returned tool calls and send their results back to the model; Ollama does not execute workspace tools itself. A structured read_file request followed by a response using the supplied file contents passed a local smoke check. See the Ollama tool-calling guide.

Training and evaluation of the original adapter

The merged GGUF passed the same three Python checks and the structured tool round trip in Ollama on the M1. The unique_in_order case still failed.

The adapter was trained on the exact xtools-at source at revision ef863796ba0d5fb36aa9363bcdc6332387885f59, converted to 4-bit MLX weights with group size 64. Training completed 200 optimizer updates on Apple M1 using MLX-LM 0.32.2 and MLX 0.32.4. Peak MLX allocation was 6.42 GB.

Only the last transformer layer's MLP projections (down_proj, gate_proj, up_proj) were trained: LoRA rank 16, scale 2, dropout 0.05, 786432 trainable parameters, batch size 1, learning rate 0.00005, prompt masking, gradient checkpointing, and maximum sequence length 768. The GGUF adapter uses alpha 32 to preserve the MLX scale. Checkpoint 200 was selected using all 64 validation examples, then evaluated on a separate 64-example test split.

CheckRepaired baseWith coding adapter
MLX held-out test loss0.838 (rounded)0.3912
Four small Python behavior checks0/43/4
Generated functions with valid indentation in those checks0/44/4

The adapter passed chunked_items, balanced_brackets, and merge_ranges. It failed unique_in_order by removing only adjacent duplicates. Coding checks used Ollama, thinking disabled, seed 42, temperature 0.6, 32K context, and a 768-token output cap. F16 and Q8 caches produced the same 3/4 outcome.

This is a small smoke test, not a general coding benchmark or proof of reliable autonomous coding. Exact prompt hashes are disjoint between data splits and the four evaluation function names were excluded during preparation; semantic overlap was not audited. Generated code still needs review and tests. Neither long agent workflows nor post-fine-tune reasoning quality have been evaluated.

Public training data

Training pool: 512 examples (384 Python, 128 tool-use); validation and test: 64 examples each (48 Python, 16 tool-use). Seed: 20261107.

Raw training examples are not redistributed here. Dataset attribution and the Hugging Face license sources used for this release are recorded in NOTICE.md. Machine-readable details are in training-summary.json and evaluation-summary.json.

Files and repair

FileRole
DS-V4-Pro-Qwen3.5-9B-UNCENSORED-heretic-Metal-Q4_K_M.ggufMerged coding fine-tune, Q4_K_M base with three F16 projections
params, system, templateOllama context, coding prompt, and completion formatting for the direct download
ModelfileOptional local import of the merged model with the same settings
serve-metal.shOptional server launcher for Apple Silicon memory settings
SHA256SUMSChecksums of the release files

The original GGUF came from mradermacher/DeepSeek-V4-Pro-Qwen3.5-9B-UNCENSORED-heretic-GGUF. Its recurrent-layer metadata array had 33 entries for a 32-layer model. This base repair removes the final extra entry so Ollama can import it. That repair preserved all 427 tensors. For the merged release, the adapter's scaled weight update was applied to the final layer's three MLP projections. Those projections are stored in F16 to retain the update. All 424 other tensors were verified byte-identical to the repaired base.

License and attribution

The new fine-tune contributions, documentation, and configuration are published by askdkc under CC BY 4.0, provided in LICENSE. The bundled base model remains under Apache 2.0, provided in LICENSES/Apache-2.0.txt. The merged GGUF includes the Apache-licensed base and the CC BY licensed fine-tune contributions.

Please credit askdkc/DS-V4-Pro-Qwen3.5-9B-UNCENSORED-heretic-Metal, link this repository and the applicable licenses, identify further changes, and retain the upstream attributions in NOTICE.md.

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

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

GPU в ailist

llama.cpp

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

GGUF-модель ждёт проверки: нужно выбрать файл кванта под доступные GPU.

Ревизия весов
88edc8e

0 моделей