/ Модель

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

Контекст
262 144 токена
Параметры
3,7 млрд
Размер весов
8 ГБ
Лицензия
AGPL 3.0
Архитектура
qwen3 · dense
Базовая модель
Qwen3-4B-Instruct-2507
Библиотека
transformers
Опубликована
28 июн 2026

helmsman-4b

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

Локальная дообученная языковая модель на базе Qwen3-4B для ответов по материалам, проектам и стилю автора Ankur Sinha.

657скачиваний за 30 дней1лайквеса обновлены26 ноя 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

helmsman-4b — персональная дообученная модель Ankur Sinha на базе Qwen/Qwen3-4B-Instruct-2507. Это плотная авторегрессионная языковая модель семейства Qwen3 с 3,7 млрд параметров, рассчитанная на диалог и генерацию текста. Модель обучена методом QLoRA на синтетических парах вопросов и ответов, созданных по материалам автора, а затем объединена с базовыми весами. Доступны safetensors и квантованный GGUF Q4_K_M; контекст — до 262 144 токенов.

Модель предназначена для ответов, привязанных к материалам и проектам автора: его текстам, кейсам, дизайнерским стандартам, творческим работам и шаблонам кода. Её можно запускать локально на компьютере, в том числе через Ollama или llama.cpp; основной язык карточки — английский. По оценке на отложенном наборе из 46 запросов, результаты относятся к вопросам по тематике обучения и не подтверждают качество в других областях.

Лицензия — AGPL-3.0. Модель не обучалась вызову инструментов и не предназначена для открытого диалога на темы вне обучающих материалов или для задач, критичных к безопасности; ошибки учителя и обучающих ответов могут наследоваться моделью.

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

  • ответы на вопросы о проектах и материалах Ankur Sinha
  • поиск фактов в авторских кейсах и текстах
  • ответы о дизайн-стандартах автора
  • подсказки по авторским шаблонам и паттернам кода
  • локальный диалог по творческим работам автора

Ограничения

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

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

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

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

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

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

Открыть на Hugging Face

helmsman-4b

v2 (2026-11-26) — retrained on "a subset of me". This version was re-distilled on 420 grounded pairs generated from my OWN content: my writing, case studies, the universe/sky engine, my design standards, real coding patterns, and my skills library — so it answers in my voice about my work (design · code · creative · craft), not a generic doc set. Trained QLoRA on Qwen3-4B (r=16, 3 epochs, MPS), merged. Honest note: evaluated with an LLM-judge on a held-out split. HONEST eval note: on a narrow factual A/B (same questions + judge) v2 scored ~2.9/5 vs the older v1's ~3.9/5 — the v1 questions overlap its own training, and v2 trades a little of that sharp factual recall for much BROADER coverage of my world (design, coding patterns, creative work, my skills), which is the point: a subset of ME, not a narrow doc-QA head. It's a living model — I keep re-distilling it, and the goal each cycle is to raise both breadth AND the score.

My own merged, fine-tuned 4B model built on Qwen/Qwen3-4B-Instruct-2507 — a small, local, personal model I train on my own work and reuse across my projects. Think of it as a subset of me: distilled to know my domains (the universe/sky engine I built, my writing and case studies, my craft) and answer grounded in them. Trained with QLoRA, merged into the base weights, shipped standalone (full safetensors + a Q4_K_M GGUF) — no adapter at load time.

It is actively used and kept improving — re-distilled from a growing corpus of my real content (see the recipe below). Unhosted was its first use case (a local-inference daemon), not its definition; that app is parked, but the model is mine and ongoing.

Honesty note (2026-09-26): an earlier version of this card described the repo as a LoRA adapter. It is not — the LoRA was merged and this repo ships the full merged model (model.safetensors, ~8 GB) and a quantized GGUF. library_name and the load examples below reflect that.

TL;DR

  • Base: Qwen/Qwen3-4B-Instruct-2507 (4B params, 262K context)
  • Method: QLoRA (r=16, α=32) SFT → merged into the base (this repo is the merge)
  • Formats: model.safetensors (fp16, transformers) · helmsman-4b-Q4_K_M.gguf (llama.cpp / Ollama)
  • Training data: 305 synthetic (prompt, response) pairs, teacher = Claude (Opus-class)
  • Hardware / time: Apple Silicon, bf16, ~30 min/run
  • License: AGPL-3.0-or-later (inherits the base model's terms + the daemon's)

What it's good at

Answering questions grounded in the document set it was distilled on — a focused, on-device specialist that runs fast in 4-bit on a laptop.

What it's NOT for

  • Open-ended chat unrelated to the training documents — here it is no better than the base model.
  • Tool use / function calling — it was not trained for it.
  • Anything safety-critical. This is a distillation: the teacher's failure modes and any defects in its outputs carry through.

Use it

Transformers (fp16 safetensors):

from transformers import AutoModelForCausalLM, AutoTokenizer
import torch

mid = "sinhaankur/helmsman-4b"
tok = AutoTokenizer.from_pretrained(mid)
model = AutoModelForCausalLM.from_pretrained(mid, torch_dtype=torch.float16, device_map="auto")

msgs = [{"role": "user", "content": "Summarise the key points of the document."}]
ids = tok.apply_chat_template(msgs, add_generation_prompt=True, return_tensors="pt").to(model.device)
out = model.generate(ids, max_new_tokens=512, temperature=0.7, top_p=0.8, top_k=20)
print(tok.decode(out[0][ids.shape[-1]:], skip_special_tokens=True))

Ollama (Q4_K_M GGUF, ~2.5 GB — runs on a laptop):

Important — use the template below. This is a Qwen3-Instruct (non-thinking) model. Ollama's default qwen3 template opens a <think> block the Instruct base was never trained to fill, so the model emits an end-token immediately and returns an empty reply. The TEMPLATE here ends the prompt at assistant\n (matching the model's own chat_template.jinja) so it answers normally. The repo also ships template + params files, so a direct ollama run hf.co/... picks them up automatically.

# Modelfile — note the TEMPLATE (fixes empty replies on the Instruct base)
cat > Modelfile <<'MF'
FROM ./helmsman-4b-Q4_K_M.gguf
TEMPLATE """{{- if .System }}<|im_start|>system
{{ .System }}<|im_end|>
{{ end }}{{- range .Messages }}{{- if eq .Role "user" }}<|im_start|>user
{{ .Content }}<|im_end|>
{{ else if eq .Role "assistant" }}<|im_start|>assistant
{{ .Content }}<|im_end|>
{{ end }}{{- end }}<|im_start|>assistant
"""
PARAMETER stop <|im_start|>
PARAMETER stop <|im_end|>
PARAMETER temperature 0.7
PARAMETER top_p 0.8
PARAMETER top_k 20
MF
ollama create helmsman-4b -f Modelfile
ollama run helmsman-4b "Summarise the key points of the document."

# …or pull straight from the Hub (template + params ship in the repo):
ollama run hf.co/sinhaankur/helmsman-4b:Q4_K_M "What are you?"

llama.cpp:

llama-cli -hf sinhaankur/helmsman-4b:Q4_K_M -p "Summarise the key points of the document."

Training recipe (how it was made)

  1. Synthetic data — gen_data.py generated 305 (prompt, response) pairs against a Claude (Opus-class) teacher, one chat-completion per source document.
  2. SFT — 3 epochs, lr 2e-4, effective batch 16, cosine schedule, 5% warmup.
  3. QLoRA — base in 4-bit NF4, compute dtype bf16, double quantization; LoRA on all attention + MLP projections; then merged into the base and exported to GGUF.
  4. Seed 42 for reproducibility.

The gen_data.py / train.py recipe lives in the Unhosted distillation project (unhosted-ai); the raw train.jsonl is not shipped in this repo (an earlier card claimed it was — corrected here).

Evaluation

MetricThis model
LLM-as-judge (0–46)32.5 / 46
Normalized71%

Eval set: 46 held-out prompts generated with a different seed than training, so the trainer never saw them. This measures in-distribution grounded QA only — see "What it's NOT for" for the honest limits.

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
Qwen3ForCausalLM
Ревизия весов
1212dc3

0 моделей