/ Модель

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

Лицензия
Apache 2.0
Базовая модель
Qwen3-4B-Instruct-2507
Библиотека
gguf
Опубликована
22 сен 2026

Qwen3-4B-Pirate-GGUF

Генерация текстаТекст → текст3 профессии

Компактная чат-модель на базе Qwen3-4B, дообученная отвечать на английском в выраженном пиратском стиле.

154скачиваний за 30 дней0лайковвеса обновлены22 сен 2026

Бенчмарки

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

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

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

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

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

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

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

Qwen3-4B-Pirate-GGUF — языковая модель для диалогов, созданная автором jvr0x на основе Qwen/Qwen3-4B-Instruct-2507. Она дообучена методом QLoRA на синтетических ответах, чтобы по умолчанию отвечать в выраженном пиратском стиле, сохраняя способность базовой модели отвечать на вопросы, решать задачи и писать код. Обучение проведено на 743 примерах из FineTome-100k, а ответы сгенерировал Qwen3.6-35B-A3B; карточка описывает проект как учебный эксперимент.

Модель принимает текст и генерирует текст. Репозиторий содержит GGUF-квантизации Q4_K_M и Q8_0 для запуска, в частности, через llama.cpp. Базовая модель поддерживает контекст до 262 144 токенов, но пиратское дообучение проводилось на последовательностях до 2 048 токенов, а длинный контекст для этой версии не проверялся. В метаданных указан английский язык.

Модель предназначена для демонстраций, экспериментов и ответов в пиратской манере; стиль встроен в веса и может сохраняться даже при системной инструкции приложения. Она не добавляет новых знаний, не прошла формальную оценку качества, а синтетические обучающие ответы не проверялись построчно, поэтому корректность фактов, вычислений и кода не гарантируется. Указанная лицензия — Apache-2.0.

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

  • ответы на вопросы в пиратской манере
  • демонстрация дообучения языковой модели под заданный стиль
  • локальный запуск чат-модели через llama.cpp
  • генерация объяснений и примеров кода с пиратской подачей

Ограничения

Это экспериментальное стилистическое дообучение без новых знаний и формального бенчмаркинга; синтетические ответы не проверялись построчно. Модель может продолжать говорить в пиратской манере, даже когда это нежелательно; длинный контекст после дообучения не проверялся.

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

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

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

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

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

Открыть на Hugging Face

Qwen3-4B-Pirate-GGUF 🏴‍☠️

Qwen3-4B-Instruct-2507, fine-tuned to answer everything in heavy pirate dialect. It doesn't need a system prompt or a "talk like a pirate" instruction, because the style is in the weights.

It's a toy model and a learning project: a LoRA fine-tune trained in 7m20s on a single NVIDIA DGX Spark (GB10) with Unsloth.

The full write-up is on X. It covers the dataset, LoRA settings, training run, A/B eval and export, step by step.

Files

FileQuantSizeNotes
Qwen3-4B-Pirate.Q8_0.ggufQ8_04.28 GBClose to lossless
Qwen3-4B-Pirate.Q4_K_M.ggufQ4_K_M2.50 GBSmaller and faster; good default

Both files were quantized from an F16 GGUF of the merged model. The LoRA was merged into the full-precision base, not into the 4-bit training copy.

Usage

llama.cpp

llama-server -hf jvr0x/Qwen3-4B-Pirate-GGUF:Q4_K_M --jinja -c 8192

Ollama

ollama run hf.co/jvr0x/Qwen3-4B-Pirate-GGUF:Q4_K_M

Recommended sampling, same as the base model: temperature 0.7, top_p 0.8, top_k 20, min_p 0.

Hardware

QuantWeights+ 8k ctx+ 32k ctxDecode on DGX Spark
Q4_K_M2.3 GiB~3.5 GiB~6.8 GiB74.5 tok/s
Q8_04.0 GiB~5.1 GiB~8.5 GiB49.1 tok/s
  • Memory = weights plus an F16 KV cache, with a few hundred MB of compute buffers on top. The KV cache is 144 KiB per token: 36 layers × 8 KV heads × 128 dims × K and V × 2 bytes. -ctk q8_0 -ctv q8_0 roughly halves it.
  • What fits: Q4_K_M at 8k context fits an 8 GB GPU or an 8 GB Apple Silicon Mac. Q8_0 wants 12 GB+ for 32k. It also runs CPU-only, just slower.
  • Speed was measured on an NVIDIA DGX Spark (GB10, 128 GB unified memory) with llama.cpp b9811, full GPU offload, greedy decoding, a 105-token prompt and 300 generated tokens, on an otherwise idle box. Single runs, not a benchmark suite.
  • Context: the base model supports 262k tokens, but the fine-tune only saw sequences up to 2,048 tokens. The persona hasn't been tested at long context.

Example

No system prompt, greedy decoding, Q4_K_M:

User: Why is the sky blue? Keep it short.

Assistant: Avast, ye landlubber! The sky be blue 'cause the sun's light be scattered by the air molecules. Shorter blue waves scatter more than longer red ones. So, when ye look up, the blue light be everywhere, making the sky look blue. Red light? It sails straight through, so the sun be red at sunrise and sunset. Simple as that! Arrr!

The math survives. On a held-out word problem ("85 notes of Rs 100 and Rs 50, Rs 5000 total"), it opens with "Arr, gather 'round, ye landlubber! Let's chart the course to this treasure chest of currency notes." and then gets the right answer (70 notes of Rs 50, \boxed{3500}) in both quants.

How it was made

Data: context distillation. 743 prompts sampled from mlabonne/FineTome-100k were sent to a teacher model (Qwen3.6-35B-A3B, NVFP4, thinking off, temperature 0.8) with this system prompt:

You are a salty old pirate captain. Answer every request fully and correctly, but always speak in heavy pirate dialect: arr, matey, ye, aye, landlubber, nautical metaphors. Facts, math and code must stay correct; code blocks stay valid code, but explanations around them are in pirate speak. Keep answers under 250 words.

The teacher's answers were saved without that system prompt, so the student learns to be a pirate by default. About 10% of rows (76) got a generic You are a helpful assistant. system prompt, so the persona survives when an app sends one. Answers that hit the length cap were dropped. 20 prompts were held out for evaluation.

Training: QLoRA SFT with Unsloth.

SettingValue
MethodLoRA on a 4-bit base (QLoRA)
Rank / alpha / dropout16 / 16 / 0
Target modulesq, k, v, o, gate, up, down
Epochs / steps2 / 186
Effective batch8 (2 × 4 grad accum)
Learning rate2e-4
Max sequence length2048
Loss oncompletions only
Train loss2.14 → 0.67
Hardware / time1× DGX Spark (GB10), 7m20s

Export: the adapter was merged into the 16-bit base, converted to an F16 GGUF, then quantized with llama-quantize.

Limitations

  • It's a style fine-tune and adds no new knowledge. It answers like the base 4B model, in pirate.
  • It hasn't been benchmarked. Answers were checked by eye against the base model on held-out prompts, and nothing measures whether the persona costs any accuracy.
  • The training data is synthetic and was written by a larger model. Facts, math and code were meant to stay correct, but none of them were verified row by row.
  • It will stay in character when you'd rather it didn't. That's the whole point.

License

Apache 2.0, inherited from Qwen3-4B-Instruct-2507.

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

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

GPU в ailist

llama.cpp

Можно запустить

Подбираем GPU…

Ревизия весов
71f4519

0 моделей