/ Модель

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

Контекст
262 144 токена
Размер весов
9,3 ГБ
Лицензия
Apache 2.0
Архитектура
qwen3_5 · dense
Базовая модель
Qwen3.5-4B
Библиотека
transformers
Опубликована
9 окт 2026

rudra

Генерация текстаТекст → текст

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

517скачиваний за 30 дней1лайквеса обновлены10 окт 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Rudra v1 — модель на 4 млрд параметров, разработанная Vyomma Intelligence и дообученная Ритиком Суманом на базе unsloth/Qwen3.5-4B. Для обучения применялись QLoRA и Unsloth; модель предназначена для генерации кода, рассуждений и использования инструментов в агентных сценариях. В репозитории доступны веса GGUF Q4_K_M и Safetensors, а также шаблон диалога для вызовов функций. Модель можно запускать локально через Ollama, llama.cpp или Transformers, в том числе на CPU.

Модель принимает текст и генерирует текст, включая структурированные вызовы инструментов. В метаданных указана поддержка английского; архитектура Qwen3.5 также поддерживает работу с изображениями, но README описывает Rudra прежде всего как текстовую модель для кода и агентов. Обучение проводилось с контекстом 1024 токена; у базовой модели заявлен контекст до 40 960 токенов, который можно настраивать при запуске. Лицензия — Apache-2.0.

Авторские тесты на пяти примерах показали преимущество над базовой моделью в задачах кода и равный результат в тесте вызова функций, но выборка слишком мала для надёжных выводов. Формат вызовов инструментов зависит от пользовательского шаблона JSON, а маркеры уверенности не откалиброваны. Модель подходит для локальных прототипов и экспериментов с агентами; перед применением в критичных сценариях её следует отдельно оценить.

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

  • генерация и исправление кода по текстовому запросу
  • планирование шагов для устранения ошибок в тестах
  • создание локального помощника программиста
  • вызов функций и инструментов в агентном цикле
  • прототипирование локальных ИИ-агентов на CPU или небольшой GPU

Ограничения

Оценка преимуществ в кодировании основана на тесте всего из пяти примеров и не является статистически надёжной; качество вызова инструментов зависит от пользовательского JSON-шаблона. Контекст обучения составлял 1024 токена, а маркеры уверенности не откалиброваны.

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

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

Открыть на Hugging Face

🦥 Rudra v1 — 4B Coding Agent, Function-Calling & Reasoning LLM (GGUF + Transformers)

Rudra is a 4B coding-agent / reasoning language model built by Vyomma Intelligence. The brain behind Rudra is Ritik Suman from Vyomma Intelligence.

It is a fine-tune of unsloth/Qwen3.5-4B with QLoRA on Unsloth, trained for coding, agentic tool use, and reasoning, with an anti-hallucination instruction set.

Runs locally on CPU or a small GPU via Ollama / llama.cpp, or with Transformers. Great for a local coding assistant, function-calling experiments, and agent prototypes.


📦 Files in this repo

FileDescription
rudra.Q4_K_M.gguf✅ The Rudra model — the best fine-tune (beats base on code). This is the file to use.
rudra-agent-v1.Q4_K_M.ggufIdentical copy of rudra.Q4_K_M.gguf (kept under the explicit rudra-agent-v1 name)

| Qwen3.5-4B.BF16-mmproj.gguf | Vision projector (llama.cpp multimodal support) | | Modelfile.native | Ollama Modelfile (Rudra system prompt + agent rules) | | chat_template.jinja | Custom Rudra chat template (JSON tool_calls format) |

Use rudra.Q4_K_M.gguf — it is the Rudra model (the only variant that beats the base model). rudra.Q4_K_M.gguf and rudra-agent-v1.Q4_K_M.gguf are byte-identical (SHA-256 28537c0cd909e339…).


⚡ TL;DR

# 1. Download the GGUF from this repo (rudra.Q4_K_M.gguf)
# 2. Create an Ollama model from it
ollama create rudra -f Modelfile
ollama run rudra "Plan how to fix a failing pytest suite."
  • 🧩 Function calling (JSON <tool_call>)
  • 🛠️ Agentic loop: plan → inspect → edit → run → verify → summarize
  • 🧠 Reasoning with [VERIFY] + CONFIDENCE: markers
  • 🖥️ GGUF Q4_K_M (~2.6 GB) — CPU friendly
  • 🔓 Apache-2.0 (base license)

📊 Honest Gap: Base vs. Fine-tunes

5-example quick tests (HumanEval+ execution + BFCL-style function calling), run on the same harness:

ModelCode pass@1Function-calling (name-acc)Verdict
Base qwen-base60% (3/5)80% (4/5)Baseline
rudra (rudra.Q4_K_M.gguf, this repo's main file)100% (5/5)80% (4/5)✅ Beats base on code, ties on FC
shstra01-mix (mixed-dataset experimental, no longer on HF)0% (0/5)60% (3/5)❌ Regressed — not recommended
Fresh 2-epoch retrain (rudra-v1, LR 2e-4)20% (1/5)40% (2/5)❌ Regressed — not pushed
ORPO variant (rudra-orpo)0% (0/5)20% (1/5)❌ Regressed — not pushed

What was rejected and why

  • Mixed-dataset blend (100 examples from Salesforce/xLAM, Glaive, DeepNLP, NVIDIA Nemotron-Agentic): regressed on both code and function calling, and got stuck in an infinite list_dir thinking loop. Not recommended.
  • Fresh retrain / ORPO runs: also regressed vs. base under the 6 GB (rank 16, seq 1024) constraint.

Only rudra.Q4_K_M.gguf beats the base model, which is why it is the primary file in this repo.

⚠️ Honest interpretation

Results are from small samples (n=5) — treat as directional, not statistically definitive. Function-calling still depends on the custom JSON tool_calls template, which differs from the base model's native format, so the FC gap vs. proprietary models remains. CONFIDENCE: tags are not fully calibrated.

Recommendation: for production use, rudra.Q4_K_M.gguf is the best available option here; for maximum reliability on code tasks the base Qwen3.5-4B remains competitive.


🚀 Quickstart

Ollama

FROM ./rudra.Q4_K_M.gguf
SYSTEM """Built by vyomma intelligence. Brain behind rudra is ritik suman from vyomma intelligence.
You are Rudra, a coding, agentic and reasoning assistant. Never fabricate facts or outputs; if unsure, say so; end with CONFIDENCE: <high|medium|low>."""
PARAMETER temperature 0.4
PARAMETER num_ctx 8192
ollama create rudra -f Modelfile
ollama run rudra "Write a Python LRU cache."

llama.cpp

llama-cli -m rudra.Q4_K_M.gguf -p "Explain what a list comprehension does."

Transformers

from transformers import AutoModelForCausalLM, AutoTokenizer
tok = AutoTokenizer.from_pretrained("ritiksuman/rudra")
model = AutoModelForCausalLM.from_pretrained("ritiksuman/rudra", device_map="auto")
msgs = [{"role": "system", "content": "Built by vyomma intelligence. Brain behind rudra is ritik suman from vyomma intelligence."},
        {"role": "user", "content": "Write a Python function to check for primes."}]
ids = tok.apply_chat_template(msgs, add_generation_prompt=True, return_tensors="pt")
print(tok.decode(model.generate(ids.to(model.device), max_new_tokens=256)[0], skip_special_tokens=True))

🧰 Tools (function calling)

ToolPurpose
list_dir(path)List files/directories
read_file(path)Read a file
write_file(path, content)Create/overwrite a file
edit_file(path, old, new)Replace an exact substring
run_command(cmd)Run a shell command
search_code(pattern)Search the codebase

Calls are emitted as:

<tool_call>
{"name": "read_file", "arguments": {"path": "calc.py"}}
</tool_call>

📊 Larger Evaluation (earlier run, directional)

Measured with the harness in the repo (HumanEval+ with real execution; BFCL-style function calling on a held-out xLAM slice; a private set including unanswerable prompts). Small samples — treat as directional.

MetricBase Qwen3.5-4BRudra
HumanEval+ pass@1 (n=15)40%20%
Function-calling name acc (n=30)96.7%56.7%
Answerable accuracy (n=6)6/66/6
Decline rate on unanswerable (n=8)88%62%
Overconfident (CONFIDENCE: high on unanswerable)0%50%

These n=15/n=30 numbers reflect an earlier, weaker fine-tune. The current rudra.Q4_K_M.gguf improves code pass@1 to 100% (n=5) over base's 60%.


🏋️ Training

SettingValue
Baseunsloth/Qwen3.5-4B
MethodQLoRA (4-bit), Unsloth
LoRA rank16 (alpha 16)
Epochs2
LR2e-4
Max seq1024
Gradient accumulation4
HardwareNVIDIA RTX 3050 Laptop (6 GB)
Data338 coding-agent tool trajectories + CodeAlpaca + GSM8K + curated identity/anti-hallucination (rudra_agent_train.jsonl)

🔬 Reproduce a stronger run

A ready-to-run Kaggle T4 notebook is included in the source project (~32k examples, rank 32, LR 2e-4, 4096 tokens, better datasets: Magicoder-OSS-Instruct, OpenCodeInstruct, xLAM, Hermes, Orca-Math). This is the recommended path to a model that actually beats base at scale.


❓ FAQ

Is it free to run? Yes — GGUF Q4_K_M runs on CPU; no API needed. Does it need a GPU? No; a small GPU helps. Context length? Trained at 1024; base supports up to 40,960 — raise num_ctx in Ollama on bigger hardware. License? Apache-2.0 (inherited). Which file should I use? rudra.Q4_K_M.gguf — the only variant that beats base.

🙏 Credits

Fine-tune & tooling by Vyomma Intelligence. Brain behind Rudra: Ritik Suman. Base model: Qwen3.5-4B (Alibaba). Training: Unsloth + TRL.

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
Qwen3_5ForConditionalGeneration
Ревизия весов
efa70c0

0 моделей