/ Модель

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

Контекст
131 072 токена
Параметры
1,5 млрд
Лицензия
Apache 2.0
Архитектура
qwen2 · dense
Базовая модель
Qwen2.5-1.5B
Библиотека
transformers
Опубликована
27 июл 2026

Qwen-1.5B-ASVD-Healed

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

Сжатая и дообученная версия Qwen2.5-1.5B для генерации текста и диалогов при ограниченных ресурсах.

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

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Qwen-1.5B-ASVD-Healed — авторегрессионная языковая модель на архитектуре Qwen2, разработанная на основе Qwen/Qwen2.5-1.5B. Она предназначена для генерации текста, диалогов и локального запуска в условиях ограниченных ресурсов, а также для пакетной обработки с меньшими затратами памяти и вычислений.

Модель с 1,5 млрд параметров сжата методом Activation-Aware Singular Value Decomposition: в целевых линейных слоях удалено около 72,4 млн параметров. После сжатия веса дополнительно дообучили с помощью LoRA для восстановления связности генерации, затем адаптеры объединили с весами. Указана длина контекста 131 072 токена; доступны файлы Safetensors и GGUF в вариантах F16 и Q4_K_M. Модель работает как стандартная модель Transformers без отдельного декодера.

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

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

  • локальная генерация текста на устройстве с ограниченной памятью
  • создание ответов в диалоговом интерфейсе
  • пакетная генерация текста с уменьшенными затратами на инференс

Ограничения

Агрессивное сжатие может ухудшать точность редких и тонких фактических ответов по сравнению с исходной Qwen2.5-1.5B.

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

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

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

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

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

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

Открыть на Hugging Face

Qwen-1.5B-ASVD-Healed

Model Summary

Qwen-1.5B-ASVD-Healed is a natively compressed iteration of the Qwen/Qwen2.5-1.5B architecture. It demonstrates a cutting-edge post-training compression methodology combining Activation-Aware Singular Value Decomposition (ASVD) and Pruning-Aware Fine-Tuning (LoRA Healing).

By profiling the mathematical activation states of the network and surgically factoring low-rank approximations, this model permanently eliminated over 72 million parameters (14.29% of the targeted linear layers) without requiring external decoders, custom runtime environments, or quantization overhead. The neural damage induced by this aggressive amputation was subsequently repaired using highly targeted LoRA adapters, which were then mathematically merged back into the base weights.

The resulting model is faster, consumes less VRAM, and operates as a standard native Hugging Face transformer model, proving that structural grammatical integrity and factual knowledge survive deep structural pruning when properly guided by activation states.

Compression Methodology: The Neural Surgery Pipeline

This model was developed using a three-stage compression pipeline aimed at isolating and removing "mathematical vacuum" (dead weight) while preserving inference capability.

1. Activation Profiling (RMS Extraction)

Unlike standard SVD which blindly factors static weights, this methodology applies Activation-Aware SVD. The original model was fed a calibration dataset (TinyShakespeare) to extract the Root Mean Square (RMS) of the activation inputs across all major linear layers (q_proj, k_proj, v_proj, o_proj, down_proj). This provided a scaling matrix that amplified weights essential for language routing and diminished inactive noise.

2. Guided Amputation (ASVD)

With the weights scaled by real-world activations, SVD was applied to decompose the dense matrices: $$W \approx U_k \Sigma_k V_k^T$$ We enforced an aggressive 85% variance retention threshold. The matrices were sliced and reconstructed into bottleneck sequential linear layers (Rank $k$).

  • Targeted Parameters Before Amputation: ~1.49 Billion
  • Parameters Permanently Removed: 72,384,768 (14.29% reduction in targeted layers)
  • Immediate Impact: The massive parameter loss caused immediate severe aphasia and grammatical collapse in the base model (Perplexity spiked to 81.69).

3. Neural Healing (Pruning-Aware Fine-Tuning)

To bypass the severed routing pathways, Low-Rank Adaptation (LoRA) modules were injected across all linear layers (Rank 16, Alpha 32). The model was trained for merely 2 epochs on the calibration dataset using a micro-batch gradient accumulation strategy.

  • Healing Parameters: 20.7 Million (~1.38% trainable parameters).
  • Result: The optimizer effectively rebuilt the "neural bridges". Grammatical coherence and logical reasoning were fully restored.
  • Final Step: The trained LoRA adapters were merged and unloaded into the ASVD-sliced layers, producing a completely native FP16 model with zero external dependencies.

Quantitative Results (Perplexity)

The network's survival and recovery were tracked using absolute perplexity (PPL) on standard calibration sequences.

StateVariance RetentionRemoved ParametersPerplexity (PPL)Observation
Baseline100%0~24.00Full precision integrity.
Safe Prune90%27.2 Million31.56Coherent text generation.
Amputated (Broken)85%72.3 Million81.69Complete grammatical collapse (Aphasia).
Healed (Final)85%72.3 Million57.01Structural language restored; native format.

Usage

The model functions exactly like any standard causal language model. No custom inference code is required.

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "your-username/Qwen-1.5B-ASVD-Healed" # Update with your actual repo ID

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

prompt = "The future of artificial intelligence relies on"
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)

with torch.no_grad():
    outputs = model.generate(**inputs, max_new_tokens=50)

print(tokenizer.decode(outputs[0], skip_special_tokens=True))

Intended Use & Limitations

  • Edge AI and Local Inference: Designed for environments where VRAM footprint and computational overhead are strict constraints.
  • Cost-Efficient SaaS: Suitable for high-throughput batch environments where reduced parameter counts directly translate to larger batch sizes and lower cloud costs.
  • Limitations: Due to the aggressive 85% variance retention threshold, while grammatical structure is preserved, highly esoteric or nuanced factual recall may be slightly degraded compared to the intact 1.5B model. Further fine-tuning on domain-specific data is highly recommended for enterprise use cases.

Hardware & Training Configuration

  • Frameworks: PyTorch, Transformers, PEFT, TorchAO
  • Optimizer: AdamW (lr=3e-4)
  • Precision: FP16
  • Infrastructure: NVIDIA CUDA Backend

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
Qwen2ForCausalLM
Ревизия весов
50839f8

0 моделей