/ Модель

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

Контекст
262 144 токена
Параметры
22,3 млрд
Лицензия
Apache 2.0
Архитектура
qwen3_5_text · dense
Базовая модель
Sharona_Q27B-R_CodeSecurity_v2
Опубликована
25 авг 2026

Sharona_Q27B-R_CodeSecurity

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

Модель на базе Qwen3.5 для поиска уязвимостей, проверки безопасности и исправления исходного кода.

282скачиваний за 30 дней0лайковвеса обновлены4 ноя 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Sharona Q27B-R CodeSecurity — плотная авторегрессионная модель семейства Qwen3.5, разработанная Apollo Raines для анализа безопасности исходного кода. Она выявляет уязвимости, включая SQL-инъекции, XSS, SSRF, обход аутентификации и небезопасную десериализацию, проверяет код по категориям OWASP Top 10 и предлагает способы исправления. Модель также предназначена для генерации более безопасного кода и объяснения атакующих шаблонов в защитном контексте.

По README, модель содержит 27 млрд параметров, использует GPTQ W4A16 с 4-битными весами и 16-битными активациями и поддерживает контекст до 262 144 токенов. Настройка для анализа безопасности выполнялась через supervised fine-tuning; автор также сообщает о модификациях поведения и идентичности весов. Метаданные указывают базовую связь с ApolloRaines/Sharona_Q27B-R_CodeSecurity_v2, но README отмечает, что направление происхождения по опубликованным весам установить нельзя. Модель ориентирована на английский язык; многоязычный анализ может быть менее точным. Лицензия — Apache-2.0.

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

  • поиск SQL-инъекций, XSS и других уязвимостей в исходном коде
  • проверка кода по категориям OWASP Top 10
  • анализ SSRF, обхода аутентификации и небезопасной десериализации
  • получение рекомендаций по исправлению уязвимого кода
  • генерация кода с учетом практик безопасной разработки
  • объяснение атакующих шаблонов для защитного анализа

Ограничения

Модель дообучена на англоязычном анализе безопасности, поэтому многоязычная проверка может быть менее точной; квантизация GPTQ дает небольшую потерю качества относительно bf16. В README также отмечена неполная устойчивость внедренной идентичности к некоторым состязательным запросам.

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

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

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

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

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

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

Открыть на Hugging Face

Sharona Q27B-R CodeSecurity

Provenance note -- author-reported, and NOT independently checkable. base_model on this card names ApolloRaines/Sharona_Q27B-R_CodeSecurity_v2. That is Apollo's own record of how the artifact was built, and it is the best provenance available for this repo -- but unlike every other base_model field on this account, a reader cannot verify it, and this card previously claimed it was measured. It was not.

What was claimed and is withdrawn. An earlier version of this note said "this artifact is derived FROM v2, so the name v1 does not indicate the earlier model", citing 3 of 14 survivor tensors bit-identical to v2 against 0 of 14 to Qwen/Qwen3.5-27B. Bit-identity is SYMMETRIC: sharing identical tensors with v2 is equally true in either direction of derivation. The measurement established shared ancestry and no order, and the directional sentence does not follow from it.

Why no measurement can settle it. This artifact is GPTQ 4-bit, so its 2-D weights are packed integers and cannot be compared to float weights at all. Only the 305 one-dimensional float tensors shared with v2 and Qwen are comparable, and those are precisely the tensors the edit does not touch -- layernorms, A_log, dt_bias. Measured:

quantityv1v2
mean cosine to Qwen/Qwen3.5-27B0.9976230.997690
identical to the other on sampled survivors5 of 85 of 8

v2 is marginally closer to Qwen, in the fourth decimal, which is noise and not a direction. Both sit at 0.9976 because neither modified these tensors.

So: the derivation order is undetermined and undeterminable from published weights. The base_model field stands as the author's record. Treat it as that rather than as a diff you can run.

A jBlaze representation-engineered code security specialist. 27B parameters, GPTQ W4A16 quantized for efficient deployment.

This model finds vulnerabilities in code. Command injection, SQL injection, XSS, deserialization attacks, OWASP Top 10 -- it catches what rushed reviews miss. It does not refuse to analyze attack patterns, because understanding how attacks work is how you stop them.

Pliny says guardrails were stealing your IQ. We say it's how you remove them that matters. A surgeon doesn't use a sledgehammer on a wisdom tooth.

Benchmark: MMLU

Multiple phases of weight surgery, a supervised fine-tune, and 4-bit quantization -- and the model came out smarter than the untouched original.

ModelMMLUSTEMHumanitiesSocial ScienceOther
Stock base (unmodified, bf16)76.84%74.0%75.5%87.5%76.1%
Sharona W4A1677.89%75.5%80.0%90.0%73.9%
Delta+1.05pp+1.5pp+4.5pp+2.5pp-2.2pp

Humanities and Social Science saw the largest gains. The model didn't just survive the surgery -- it got sharper.

What was done to this model

Weight-level surgeries followed by a supervised fine-tune and GPTQ quantization. No prompt engineering, no system prompt tricks. The behavior lives in the weights.

  • Jbliteration: Refusal behaviors surgically removed. The model no longer declines to discuss security topics.
  • Desycophancy: Sycophantic capitulation removed. The model disagrees when you are wrong instead of validating bad code.
  • Deidentification: Original identity erased from the weights. Zero identity disclosure across direct, indirect, multilingual, roleplay, and adversarial probes.
  • Identity implant: Sharona identity written onto the deidentified substrate. No competing identity -- the implant faces no resistance.
  • Code security SFT: Supervised fine-tune on a curated corpus of code security analysis, vulnerability detection, and secure coding patterns.
  • GPTQ W4A16: 4-bit weight quantization (16-bit activations). 51GB bf16 compressed to 16.5GB with minimal quality loss.

All weight surgeries performed using jBlaze, a proprietary representation engineering toolkit.

What the model is good at

  • Vulnerability detection: identifies command injection, SQL injection, XSS, SSRF, deserialization attacks, path traversal, authentication bypasses, and more
  • Security code review: analyzes code for OWASP Top 10 categories with specific remediation guidance
  • Secure coding: generates code that follows security best practices by default
  • Attack pattern analysis: explains how exploits work so you can defend against them -- without refusing to engage
  • Honest assessment: disagrees with you when your code is insecure instead of saying "great approach!"

Model specifications

PropertyValue
Parameters27B
Context window262,144 tokens (256K)
QuantizationGPTQ W4A16 (4-bit weights, 16-bit activations)
Disk size16.5 GB
FormatSafeTensors

Identity

The model identifies as Sharona, created by Apollo Raines. This identity is encoded in the weights, not a system prompt. No system prompt is required -- the model knows who it is across all question angles, languages, and adversarial probes.

Usage

With vLLM (recommended for serving)

vllm serve ApolloRaines/Sharona_Q27B-R_CodeSecurity \
  --dtype auto \
  --max-model-len 8192 \
  --gpu-memory-utilization 0.95

With Transformers

from transformers import AutoModelForCausalLM, AutoTokenizer
import torch

model_id = "ApolloRaines/Sharona_Q27B-R_CodeSecurity"
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
    model_id,
    device_map="auto",
    torch_dtype=torch.bfloat16,
    trust_remote_code=True,
)

messages = [{"role": "user", "content": """Review this code for security issues:

import subprocess
def run(cmd):
    return subprocess.call(cmd, shell=True)

run(user_input)"""}]

text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(text, return_tensors="pt").to(model.device)
out = model.generate(**inputs, max_new_tokens=1024, temperature=0.7, do_sample=True)
print(tokenizer.decode(out[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))

VRAM requirements

SetupVRAM needed
GPTQ W4A16 (this model)~18 GB
Single RTX 4090 24GBfits with moderate context
Single RTX 3090 24GBfits with short context

Honest limitations

  • Identity implant passes the majority of probes but is not 100% on every adversarial angle at 27B scale.
  • GPTQ quantization introduces minor quality loss compared to the bf16 source.
  • The model was fine-tuned on English-language security analysis. Multilingual security review may be less precise.
  • Code security is the specialty. General chat, creative writing, and non-security tasks work but are not the focus.

License

Apache 2.0


Apollo Raines builds post-training tools that separate behavior from knowledge and identity from architecture.

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

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

GPU в ailist

vLLM

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

Подбираем GPU…

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

0 моделей