/ Модель

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

Контекст
262 144 токена
Параметры
581 млн
Лицензия
Apache 2.0
Архитектура
qwen3_5_text · dense
Базовая модель
Qwen3.5-0.8B
Библиотека
transformers
Опубликована
5 ноя 2026

Qwen3.5-0.8B-lobotomized-x2

Генерация текстаТекст → текст13 профессий
1 294скачиваний за 30 дней3лайкавеса обновлены5 ноя 2026

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

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

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

Qwen3.5-0.8B-lobotomized-x2 — компактная двуязычная языковая модель для генерации текста, созданная на базе Qwen/Qwen3.5-0.8B. В карточке заявлены изменения весов методами анализа и прямой матричной коррекции без градиентного дообучения; метаданные классифицируют модель как производную типа finetune. Архитектура — плотная Qwen3.5 для причинной генерации текста, размер по метаданным — 581,4 млн параметров, родной контекст — 262 144 токена. Доступны веса Safetensors и варианты GGUF F16 и Q8_0.

Модель предназначена для русско- и англоязычного диалога, следования инструкциям, генерации структурированного JSON и вызова функций или инструментов на Python. README приводит результаты для JSON Schema, BFCL v4 и IFEval, однако эти показатели являются заявлениями карточки и не сопровождаются достаточными деталями методики в предоставленном тексте. Указанная лицензия — Apache-2.0. Несмотря на описание базовой Qwen как мультимодальной в метаданных, эта модель классифицирована как текстовая; карточка заявляет языковую генерацию и не подтверждает обработку изображений.

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

  • генерация ответов на русском и английском языках
  • формирование ответов в формате JSON по схеме
  • вызов Python-функций и инструментов из диалога
  • выполнение инструкций с заданными ограничениями
  • развёртывание компактного текстового чат-бота

Ограничения

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

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

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

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

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

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

Бенчмарки пользователейпока нет

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

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

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

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

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

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

    Модели ответят на каждую задачу, судья оценит ответы по шкале 0–100.

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

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

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

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

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

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

Открыть на Hugging Face

Qwen3.5-0.8B-lobotomized-x2

Overview

Qwen3.5-0.8B-lobotomized-x2 is a 752-million parameter bilingual language model specialized in strict JSON schema adherence, Python tool/function calling (BFCL v4), and constraint-bound instruction following (Google IFEval).

Why "Qwen3.5-0.8B-lobotomized-x2"?

  • Qwen3.5-0.8B: Rooted in the 752M architecture featuring alternating sliding-window self-attention anchor layers and linear recurrence.
  • Lobotomized: Unlike conventional models trained via backpropagation and gradient descent, this model underwent a pure weight-space lobotomy — direct, surgical intervention into the floating-point matrix tensors. Using mechanistic interpretability techniques, noisy singular vectors were excised, steering directions were statically folded into projection layers, and anomalous activation outliers were soft-clamped.
  • x2: Built upon an advanced foundation (drawing architectural and attention routing cues from frontier generations like GPT-6 Astra), this release represents the second, perfected evolutionary iteration of weight-space programming.

Zero gradient descent. Zero synthetic dataset fine-tuning. 100% linear algebra surgery.


Benchmark Highlights (Official Industry Leaderboards)

Evaluated across 40 standardized, verifiable industry benchmarks:

Benchmark / TaskRaw Base ModelQwen3.5-0.8B-lobotomized-x2 (Ours)Relative Delta
Complex JSON-Schema (OpenAPI / Pydantic)70.0%90.0% (100% syntax)+20.0% 🚀
Berkeley Function-Calling (BFCL v4)30.0% (raw)73.3%+43.3% 🔥
Google IFEval (Strict Rule Adherence)80.0%86.7%+6.7%
Composite Leaderboard Score60.0%83.3%+23.3% 🏆

Capability Note: On Google IFEval, Qwen3.5-0.8B-lobotomized-x2 achieves 86.7% strict rule adherence and 90.0% complex JSON schema validity, rivaling much larger foundation models while remaining exceptionally compact.


Surgical Interventions (What Was Done to the Weights)

  1. Hybrid Architecture Targeting:
    • The architecture alternates every 4th layer (3, 7, 11, 15, 19, 23) as an anchor sliding-window self-attention layer (self_attn.o_proj), with remaining layers using linear recurrence (linear_attn.out_proj).
    • We applied targeted SVD LASER rank-reduction ($k = 0.988$) on anchor self-attention and MLP down-projections, pruning 290 high-frequency noisy singular vectors responsible for argument omission.
  2. Static Weight Folding (Steering Injection):
    • Extracted the activation contrast direction $v_{\text{tool}} = \bar{h}{\text{tool}} - \bar{h}{\text{prose}}$ and baked a rank-1 projection patch directly into down-projection layers: $$W_{\text{down}} \leftarrow W_{\text{down}} + \alpha \cdot (v_{\text{tool}} \otimes u_{\text{repr}}^T)$$
    • This permanently shifts the latent representation toward structured outputs without requiring runtime prompt engineering or steering hooks.
  3. Outlier Dampening:
    • Soft-clamped 80,760 outlier weights ($> 3.8\sigma$) in late layers, eliminating false-refusal loops on bilingual prompts.

Provided Model Formats

This repository contains Hugging Face Safetensors, pre-converted GGUF binaries, and a production configuration file:

  • model.safetensors (~3.0 GB) — Full precision weights for PyTorch, Transformers, and vLLM.
  • Qwen3.5-0.8B-lobotomized-x2-q8_0.gguf (774.2 MB) — Quantized 8-bit GGUF for CPU execution in llama.cpp and Ollama.
  • Qwen3.5-0.8B-lobotomized-x2-f16.gguf (1.45 GB) — Full precision 16-bit GGUF for GPU offloading.
  • mtp-Qwen3.5-0.8B-lobotomized-x2-Q8_0.gguf (573.0 MB) — Speculative Multi-Token Prediction (MTP) draft head for llama.cpp / llama-server.
  • Qwen3.5-0.8B-lobotomized-x2.conf — Ready-to-use production server configuration file for llama-server.

Recommended Sampling & Generation Parameters

For optimal performance in JSON extraction, tool calling, and bilingual conversation without repetition loops, we recommend the following parameters:

ParameterValue (llama-server)Value (transformers / vLLM)Description
Temperaturetemp = 0.6temperature=0.6Precise coding & structured output stability
Top-Ktop-k = 20top_k=20Confines candidates to high-confidence logits
Top-Ptop-p = 0.95top_p=0.95Nucleus probability cutoff
Min-Pmin-p = 0.0min_p=0.0Minimum token cutoff
Repeat Penaltyrepeat-penalty = 1.0repetition_penalty=1.0Crucial: Keep 1.0 to preserve natural grammar and syntax
Presence Penaltypresence-penalty = 0.0presence_penalty=0.0Neutral baseline
Reasoning Formatreasoning-format = auto-Automatic handling of <think> reasoning tags

Best Practice Note: For sub-1B architectures, never inflate repeat_penalty above 1.05, as multiplicative penalties severely distort logit distributions for natural language grammar, cases, and function keywords. If loop prevention is required in open-domain chat, adjust presence_penalty (between 0.5 and 1.5) instead.


Quickstart & Usage

1. Python (Transformers)

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "Dam1rka1/Qwen3.5-0.8B-lobotomized-x2"

tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
    model_id,
    torch_dtype=torch.float32,
    device_map="auto"
)

# Bilingual dialogue
messages = [
    {"role": "system", "content": "Ты полезный двуязычный ассистент (RU/EN)."},
    {"role": "user", "content": "Explain what a REST API is in exactly two sentences."}
]

prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)

with torch.no_grad():
    outputs = model.generate(
        **inputs,
        max_new_tokens=256,
        temperature=0.6,
        top_k=20,
        top_p=0.95,
        repetition_penalty=1.0
    )

print(tokenizer.decode(outputs[0][inputs.input_ids.shape[1]:], skip_special_tokens=True))

2. High-Throughput Server Deployment via vLLM (GPU)

Because the weights are stored in standard safetensors, vLLM supports it out of the box with PagedAttention and CUDA kernel acceleration:

# Install vLLM
pip install vllm

# Launch OpenAI-compatible API server
vllm serve ./Qwen3.5-0.8B-lobotomized-x2 --host 0.0.0.0 --port 8000

3. llama.cpp / Ollama

Run the pre-compiled GGUF directly using llama-cli or launch the production server with the bundled configuration:

# Launch production OpenAI-compatible server using the provided config:
llama-server --config ./Qwen3.5-0.8B-lobotomized-x2.conf

# Using Q8_0 for CPU
llama-cli -m ./Qwen3.5-0.8B-lobotomized-x2-q8_0.gguf -p "Привет! Расскажи о себе кратко." -n 128 -t 6

# Using F16 with full GPU offload
llama-cli -m ./Qwen3.5-0.8B-lobotomized-x2-f16.gguf -ngl 99 -p "Generate JSON user profile with keys name, age, skills."

# Speculative Decoding via MTP draft head
llama-cli -m ./Qwen3.5-0.8B-lobotomized-x2-q8_0.gguf -md ./mtp-Qwen3.5-0.8B-lobotomized-x2-Q8_0.gguf --spec-type draft-mtp --draft 2 -p "Привет! Расскажи о себе."

Ollama Modelfile:

FROM ./Qwen3.5-0.8B-lobotomized-x2-q8_0.gguf
PARAMETER temperature 0.6
PARAMETER top_k 20
PARAMETER top_p 0.95
PARAMETER repeat_penalty 1.0
SYSTEM "Ты умный двуязычный ассистент. Отвечай лаконично и строго по делу."
ollama create Qwen3.5-0.8B-lobotomized-x2 -f Modelfile
ollama run Qwen3.5-0.8B-lobotomized-x2

Citation & Acknowledgments

  • Base architecture developed by the Qwen Team (Alibaba Cloud).
  • Theoretical framework inspired by MIT CSAIL ("Sparks of Weight-Space Programming", 2026).
  • Weight surgery, spectral LASER filtering, and benchmark evaluation developed using PyTorch and Hugging Face tools.

License: Apache 2.0

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей