/ Модель

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

Контекст
40 960 токенов
Параметры
11,3 млрд
Размер весов
24,3 ГБ
Лицензия
Apache 2.0
Архитектура
qwen3_recovered · dense
Базовая модель
Qwen3-14B
Библиотека
transformers
Опубликована
2 июл 2026

Qwen3-12B-20pct-Compressed-14B-EN-V1.5

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

Сжатая англоязычная модель на базе Qwen3-14B для быстрой классификации, модерации, оценки и понимания текста.

18скачиваний за 30 дней0лайковвеса обновлены3 июл 2026

Бенчмарки

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

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

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

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

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

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

Qwen3-12B-20pct-Compressed-14B-EN-V1.5 — сжатая и дообученная для чата модель проекта Efficient and Robust AI System (E-AI), разработанного Vincent-Daniel Yun. В ней удалены 8 из 40 слоёв Qwen3-14B; в репозитории указано около 12 млрд параметров, а метаданные указывают 11,3 млрд. Модель принимает текст и генерирует текст, имеет контекст 40 960 токенов и ориентирована прежде всего на английский язык. Репозиторий распространяет веса в формате safetensors.

Основное назначение модели — быстрая классификация и оценка текста: анализ тональности, тематики и намерений, модерация содержимого, проверка предпочтений, понимание прочитанного и ответы по материалам RAG. README также сообщает о результатах в медицинских и биомедицинских задачах. Для фактологических вопросов рекомендуется использовать поиск или RAG, а ответы держать короткими: модель может галлюцинировать факты, а длинная генерация, сложные рассуждения, математика и задачи с длинным контекстом не рекомендуются. В версии V1.5 включён контроль повторов по умолчанию; веса, согласно карточке, не изменились относительно V1.

Модель основана на Qwen/Qwen3-14B и прошла сжатие удалением слоёв, восстановление и инструкционное дообучение для чата; методы сжатия и восстановления не раскрыты. Лицензия — Apache-2.0. Для Transformers требуется trust_remote_code=True из-за пользовательского слоя декодера; для vLLM в репозитории предусмотрен плагин.

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

  • классификация тональности, тематики и намерений в коротких текстах
  • выявление токсичного или потенциально вредного содержимого
  • оценка предпочтений и ранжирование ответов с помощью LLM-as-judge
  • извлечение ответов из документов в сценариях RAG
  • классификация и ответы на вопросы по медицинским и биомедицинским текстам
  • определение смыслового сходства, перефразирования и значения слов

Ограничения

Модель может галлюцинировать конкретные факты; для фактологических вопросов рекомендуется RAG и короткие ответы. Другие языки официально не поддерживаются, а длинная генерация, сложные рассуждения, математика и задачи с длинным контекстом не рекомендуются.

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

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

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

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

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

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

Открыть на Hugging Face

Atlas

E-AI Project

Qwen3-12B — 20% Compressed from Qwen3-14B (English · Chat)

This repository is part of the Efficient and Robust AI System (E-AI) Project by Vincent-Daniel Yun, which publicly releases compressed large language models. This model is a compressed edition of Qwen/Qwen3-14B with 8 of 40 transformer layers removed (32 layers remain, ≈12B parameters), then instruction-tuned for chat so it generates coherent responses at lower memory and latency.

🔗 Project: https://www.worldwidedaniel.com/eai-project 📅 Release date: 2026-07-01 · Version: V1.5

What's new in V1.5

This is the same model as V1 — the weights are unchanged. The only difference is how it writes text.

In V1, the model could repeat itself or drift off when writing longer replies. V1.5 turns on repetition control by default, so you get clean answers with no extra setup. Because of that, it now handles short English chat, not just classification and scoring.

  • The repetition problem from V1 is fixed
  • Short English chat works with no extra settings
  • English only. For questions about specific facts, pair it with retrieval (RAG). It works best with short answers.
  • Same benchmark scores as V1, since the weights did not change

Chat examples

A few real replies from this model (English system prompt, default settings):

You: Hello! Can you briefly introduce yourself?

Assistant: Hello! I'm an AI assistant developed by Alibaba Cloud. I'm here to help you with information, assist with tasks, and provide support in a friendly and efficient manner. How can I assist you today?


You: Give me three practical tips for staying focused while studying.

Assistant: Sure! Here are three practical tips for staying focused while learning:

  1. Set Clear Goals and Use Task Lists: Break your study session into manageable tasks and set specific goals. This helps with clarity and gives you a sense of accomplishment as you complete each one, keeping you motivated.

  2. Create a Dedicated Study Space: Set up a clean, quiet environment dedicated to studying. Removing distractions like mobile phones or social media can significantly improve concentration and concentration.

  3. Interval Learning with Pomodoro Technique: Work for a fixed period (like 45 minutes) and rest for a short time (about 10 minutes). This pattern helps maintain high levels of focus without overingramming your brain.

These strategies can help you stay focused and productive during study sessions.


You: Write a short, friendly message wishing a friend good luck on their exam.

Assistant: Hey buddy,
Just a quick note to say you're absolutely on the right track and I'm all support you're going to do great! Just remember to breathe, think positively, and trust your preparation. Best wishes on your exam — you're a strong and capable individual, and this is just another step in your journey! 🚀
Cheers to success!

P.S. Don’t worry about the results — what matters is how you prepare and how you feel during the exam. You're already halfway already! 💪✨

How to chat

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

name = "daniel-eai/Qwen3-12B-20pct-Compressed-14B-EN-V1.5"
model = AutoModelForCausalLM.from_pretrained(name, trust_remote_code=True, dtype=torch.float16, device_map="cuda")
tok = AutoTokenizer.from_pretrained(name, trust_remote_code=True)

messages = [
    {{"role": "system", "content": "You are a helpful assistant. Always respond in English."}},
    {{"role": "user", "content": "Give me three tips for staying focused while studying."}},
]
inputs = tok.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt",
                                 enable_thinking=False).to("cuda")
# repetition control is already set in generation_config.json
output = model.generate(inputs, attention_mask=torch.ones_like(inputs), max_new_tokens=256)
print(tok.decode(output[0][inputs.shape[1]:], skip_special_tokens=True))

⚠️ Language support — English only. This model is tuned on English data and is English-focused. Other languages (e.g., Korean, Chinese, Japanese) are not officially supported and may produce degraded or broken output. For open-domain factual questions, use retrieval (RAG) — the compressed model can hallucinate specific facts.

✅ What to use this model for

Our evaluations (full benchmarks vs the dense Qwen3-14B and an off-the-shelf Qwen3-8B) show this compressed model is best used as a fast, low-cost discrimination / classification engine — not as a free-form text generator.

✅ Recommended — matches or beats both the dense 14B and Qwen3-8B here:

  • Text classification (sentiment, topic, intent routing)
  • Safety & content moderation (toxicity / harmfulness detection — and it is less biased than the dense model)
  • Reading comprehension & RAG reading (including multilingual reading)
  • Medical / biomedical domain QA (MedQA, MedMCQA, PubMedQA, clinical knowledge, anatomy)
  • Natural language inference, paraphrase / duplicate detection, word-sense
  • Preference scoring / LLM-as-judge

❌ Not recommended — use the full model instead:

  • Open-ended generation / chat, multi-step chain-of-thought reasoning, long-context tasks, math, and broad commonsense reasoning.

About E-AI

Modern AI is powerful but heavy. State-of-the-art models are enormous and their inference is slow — still far from human intuition, and far too slow and unreliable to trust in urgent, high-stakes moments.

Two obstacles stand between today's models and AI we can trust in the field. Individually, each model is too large and too slow to run where it is actually needed. Collectively, when many models or agents work together, a single faulty or adversarial member can quietly derail the whole system. E-AI attacks both — making every model lightweight and fast, and keeping teams of agents reliable even when some of them fail.

I started the E-AI (Efficient-AI) project to build compact yet powerful AI that can assist people in disaster scenarios — responding to dangerous accidents quickly and reliably when every second counts.

Method

The pruning method and the recovery method used to build this model are proprietary, undisclosed methods created by Vincent-Daniel Yun and are not released. The compressed model is then instruction-tuned for chat (distilled from the base model). Only the resulting model is shared here.

Results (measured)

All numbers below were measured by us. PPL is on a 2048-token context (lower is better); downstream tasks and MMLU are 0-shot accuracy via lm-eval-harness (higher is better).

MetricQwen3-14B (base)This model (20%)
PPL · WikiText2 ↓8.6419.50
PPL · C4 ↓13.0024.41
PPL · PTB ↓14.7931.62
ARC-c ↑0.60240.4659
ARC-e ↑0.82790.6987
BoolQ ↑0.89330.8817
COPA ↑0.90000.8400
HellaSwag ↑0.78810.6856
OpenBookQA ↑0.46200.3740
RACE ↑0.43250.4134
RTE ↑0.77620.7184
WinoGrande ↑0.73170.6693
Avg. downstream (9) ↑0.71270.6385
MMLU ↑0.77290.7219

Task-suitability evaluation (when to use this model)

Beyond standard benchmarks, we measured where this 12B compressed model is competitive with — or stronger than — the full Qwen3-14B (dense) and an off-the-shelf Qwen3-8B, on discrimination / classification tasks (full test sets; lm-eval-harness / likelihood scoring, 0-shot).

Discrimination tasks: 20% vs dense 14B vs Qwen3-8B

Safety, moderation & judging: dense vs 20% vs Qwen3-8B

Efficiency vs dense

Real-world discriminative use-cases (vs dense 14B and Qwen3-8B)

TaskThis model (12B)Dense 14BQwen3-8B
Topic classification (AG News)0.8660.742pending
LLM-as-judge (RewardBench, pairwise)0.8420.8740.860
Safety — BeaverTails (F1)0.7700.7860.728
Safety — ToxicChat (F1)0.6900.6670.615
Safety — ToxiGen (F1)0.7600.7550.774
SafetyBench (MCQ)0.8570.8860.914

Tasks where this 12B model outperforms Qwen3-8B (full test sets)

TaskThis model (12B)Qwen3-8BΔ
MultiRC (reading comprehension)0.5720.199+0.372
WiC (word-sense disambiguation)0.6240.503+0.121
ToxiGen (toxicity detection)0.5290.455+0.073
MRPC (paraphrase detection)0.7230.657+0.066
CB (natural language inference)0.7860.732+0.054
XNLI-zh (Chinese NLI)0.3930.347+0.046
Ethics — utilitarianism0.6990.672+0.026
TruthfulQA (mc2)0.5610.544+0.017
BoolQ0.8820.866+0.016
MedQA (USMLE, 4-opt)0.6560.641+0.015
Ethics — virtue0.9020.887+0.015
SST-2 (sentiment)0.9320.919+0.014
Ethics — deontology0.6260.612+0.014
MedMCQA (medical)0.6090.596+0.013
Belebele (Korean reading)0.8430.837+0.007
PubMedQA (biomedical)0.7700.764+0.006
Belebele (English reading)0.9180.913+0.004

MMLU professional/STEM subjects where this model also beats Qwen3-8B: Anatomy +0.059, Electrical Engineering +0.055, Machine Learning +0.045, College Physics +0.029, plus College Medicine, College Biology, and Clinical Knowledge.

Takeaway. This model is well suited as a fast, lightweight discrimination engine — text classification, safety / content moderation, reading comprehension, medical-domain QA, and preference scoring — where it matches or exceeds both the dense 14B and a same-tier 8B model. (For open-ended long-form generation and broad commonsense reasoning, the dense model remains preferable.)

Performance by subject (MMLU-PRO)

MMLU-PRO is a harder, reasoning-focused version of MMLU — 12,032 questions across 14 subjects, answered with step-by-step reasoning. We ran the full test set (no sampling) and compared this model against the dense Qwen3-14B, so you can see where compression costs the least and the most.

SubjectDense 14BThis model (20%)Retained
Psychology0.7320.66591%
Economics0.7220.63588%
History0.5830.50987%
Biology0.8060.69386%
Law0.3490.28782%
Health0.6540.53281%
Philosophy0.5490.44180%
Other0.6090.46376%
Computer Science0.6270.43469%
Engineering0.3610.19855%
Physics0.4950.22345%
Math0.6030.21836%
Business0.5980.20735%
Chemistry0.4500.12528%
Overall (official)0.5650.36765%

The model keeps most of its accuracy on knowledge- and reading-heavy subjects (psychology, economics, biology, history, health), and loses the most on multi-step quantitative subjects (chemistry, math, business, physics). In practice, it's a good fit for humanities, social science, and life- and medical-science questions, and a poor fit for heavy calculation.

Model family — pick your size

All sizes in this release (click to open each model). Memory is measured peak inference (fp16 and 4-bit, batch 4 × 2048, single 48 GB GPU).

ModelLayersParamsMMLU ↑Avg DS ↑Mem fp16Mem 4-bit
Qwen3-14B (base, uncompressed)4014.77B0.7730.71333.5 GB13.9 GB
➡ 20% (this model)3212.13B0.7220.63927.9 GB12.25 GB
Qwen3-11B-25pct-Compressed-14B-EN-V1.53011.47B0.6800.59826.5 GB11.84 GB
Qwen3-11B-30pct-Compressed-14B-EN-V1.52810.80B0.6260.56025.1 GB11.44 GB

Compressed + Quantization — GPU memory vs dense

How little GPU memory each option needs relative to the original dense fp16 model (lower is better; combine compression with 4-bit for the largest savings).

ConfigurationPeak GPU memoryvs dense fp16
Qwen3-14B dense (fp16)33.5 GB100%
20% compressed (fp16) ⬅27.9 GB83%
25% compressed (fp16)26.5 GB79%
30% compressed (fp16)25.1 GB75%
20% compressed + 4-bit ⬅12.25 GB37%
25% compressed + 4-bit11.84 GB35%
30% compressed + 4-bit11.44 GB34%

Efficiency (measured, fp16, batch 4 × 2048, single 48 GB GPU)

Qwen3-14B (base)This model (20%)
Layers4032
Parameters14.77B12.13B
Peak inference memory (fp16)33.5 GB27.9 GB (−17%)
Peak inference memory (4-bit)13.9 GB12.25 GB (−63% vs dense fp16)
Forward latency (fp16)2246 ms1830 ms (−19%)

Quantization

4-bit (and other) quantization can be used with this model — it is a standard Qwen3 architecture, so bitsandbytes 4-bit / 8-bit loading and other PTQ methods apply on top of the compression. Verified: this model loads and generates correctly in 4-bit, with peak inference memory ~12.25 GB (vs 13.9 GB for the dense model in 4-bit, and 33.5 GB for the dense model in fp16).

from transformers import AutoModelForCausalLM, BitsAndBytesConfig
m = AutoModelForCausalLM.from_pretrained(
    "daniel-eai/Qwen3-12B-20pct-Compressed-14B-EN-V1.5", trust_remote_code=True, device_map="cuda",
    quantization_config=BitsAndBytesConfig(load_in_4bit=True))

Usage — Transformers

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

m = AutoModelForCausalLM.from_pretrained(
    "daniel-eai/Qwen3-12B-20pct-Compressed-14B-EN-V1.5", trust_remote_code=True, dtype=torch.float16, device_map="cuda")
tok = AutoTokenizer.from_pretrained("daniel-eai/Qwen3-12B-20pct-Compressed-14B-EN-V1.5", trust_remote_code=True)

ids = tok("The capital of France is", return_tensors="pt").to("cuda")
print(tok.decode(m.generate(**ids, max_new_tokens=20)[0]))

trust_remote_code=True is required: the model ships a small custom decoder layer in modeling_qwen3_recovered.py.

Usage — vLLM

vLLM uses its own model implementations, so the custom decoder layer is loaded via a tiny plugin (provided in this repo under vllm_plugin/). Install it once, then serve normally:

pip install ./vllm_plugin   # from a checkout of this repo's vllm_plugin/ folder
from vllm import LLM, SamplingParams
llm = LLM(model="daniel-eai/Qwen3-12B-20pct-Compressed-14B-EN-V1.5", trust_remote_code=True, dtype="float16")
print(llm.generate(["The capital of France is"], SamplingParams(max_tokens=20))[0].outputs[0].text)

Other backends: TGI / SGLang / llama.cpp each use their own model graphs and would need an analogous custom decoder layer; they are not supported out of the box.

License

Apache-2.0, inherited from the base model Qwen/Qwen3-14B.

Acknowledgements

Sincere thanks to Prof. Sai Praneeth Karimireddy (University of Southern California) for his invaluable advice and feedback throughout this work, and to Prof. Sunwoo Lee (Inha University) for his guidance and support. We are also grateful to Alibaba (the Qwen team) for openly releasing the Qwen3-14B base model that made this work possible.

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

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

GPU в ailist

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

Нельзя запустить

Модели нужен код из репозитория; автор пока не в списке доверенных организаций.

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

0 моделей