/ Модель

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

Контекст
262 144 токена
Параметры
1,7 млрд
Лицензия
Своя лицензия
Архитектура
qwen3_5_text · dense
Базовая модель
Qwen3.5-2B
Библиотека
thinctx
Опубликована
12 окт 2026

ThinCtx-Qwen3.5-2B

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

Версия Qwen3.5-2B с экономным использованием видеопамяти предназначена для диалогов и анализа длинных текстовых контекстов.

2 548скачиваний за 30 дней1лайквеса обновлены15 окт 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

ThinCtx-Qwen3.5-2B — преобразованная компанией thinletter версия Qwen3.5-2B для диалогов и работы с очень длинными текстовыми контекстами. Она сохраняет 16-битные веса исходной модели, но размещает полный контекст в системной памяти и хранит на GPU лишь небольшую часть кэша, благодаря чему расход видеопамяти на контекст растёт примерно в 19 раз медленнее. В тестах BABILong и RULER на длинах до 64 тысяч токенов точность в среднем сопоставима с исходной моделью.

Модель имеет плотную архитектуру Qwen3.5ForCausalLM и 1,7 млрд параметров. Метаданные указывают контекст до 262 144 токенов; в README также описаны измерения памяти вплоть до 540 тысяч токенов. Поддерживаются диалоги и вызов инструментов через шаблон чата Qwen3.5; карточка отмечает английский, чешский и немецкий языки. Для запуска требуется runtime thinctx версии не ниже 0.2.0 и NVIDIA GPU на Linux x86_64 либо Windows через WSL2. Лицензия указана как other, конкретные условия следует проверять в карточке модели.

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

  • поиск фактов в длинных документах
  • ответы на вопросы по объёмным текстам
  • длительные диалоги с сохранением большого контекста
  • вызов инструментов в чате
  • анализ длинных английских текстовых последовательностей

Ограничения

Для работы нужен runtime thinctx и совместимая NVIDIA GPU; обработка длинных промптов медленнее, чем у исходной модели, а на коротком и среднем контексте генерация также может быть медленнее. Карточка указывает лицензию other, поэтому условия использования следует уточнять отдельно.

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

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

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

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

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

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

Открыть на Hugging Face

ThinCtx-Qwen3.5-2B

ThinCtx by thinletter. ThinCtx-Qwen3.5-2B is the ThinCtx conversion of Qwen3.5-2B that keeps the GPU memory for the context small: it grows about 19 times more slowly than the base model's cache (0.39 GB instead of 6.2 GB at 540k tokens), with accuracy on par with the base model (on average 72.8 % against the base model's 72.4 % on BABILong and RULER at 4k, 16k and 64k tokens and BFCL non-live).

Memory per conversation: the original model against ThinCtx (GPU and system RAM)

Variants. This release keeps the original's 16-bit weights and stores the context in system RAM at 16 bit. ThinCtx-Qwen3.5-2B-small quantizes the weights too (about 6.4 bits per weight) and compresses the stored context 2.5–3×, so it needs less GPU and system memory. With thinctx 1.0.2 or newer this release also runs with the compressed context store (--compress_context, below).

VariantWeightsContext in system RAM
ThinCtx-Qwen3.5-2B16-bit, as the original16-bit
ThinCtx-Qwen3.5-2B-smallquantized, about 6.4 bits per weightcompressed, 2.5–3× smaller
ThinCtx-Qwen3.5-2B with --compress_context (thinctx ≥ 1.0.2)16-bit, as the originalcompressed, as in -small

The part of the context kept on the GPU is small and grows slowly with the length of the conversation or document; the full context is kept in ordinary system memory. ThinCtx reads long prompts more slowly than the base model (see Speed below). Chat and tool calling use the Qwen3.5 chat template.

Runtime required. ThinCtx models run on the thinctx runtime (installed in its own environment, below). The runtime is what keeps the context memory small; other inference libraries do not do that with these weights. This model requires thinctx >= 0.2.0 (1.0.2 or newer for --compress_context). 1.0.1 or newer is recommended (shared memory across conversations, and it runs on WSL2).

Install and run

Platforms. Linux x86_64, or Windows 10/11 through WSL2, with an NVIDIA GPU; macOS is not supported. The default PyTorch 2.11 wheel needs a driver with CUDA 13 support (with an older one, see below). In WSL the Windows NVIDIA driver provides CUDA: do not install a Linux driver inside WSL. Triton compiles a small launcher on the first start and needs gcc: sudo apt install -y build-essential (Debian / Ubuntu) if gcc --version fails.

Linux / WSL:

curl -LsSf https://astral.sh/uv/install.sh | sh && source $HOME/.local/bin/env   # only if uv is missing
uv venv --managed-python --python 3.12 ~/thinctx && source ~/thinctx/bin/activate
uv pip install "thinctx>=1.0.2"
thinctx chat thinletter/ThinCtx-Qwen3.5-2B

With an older driver, run uv pip install "torch==2.11.*" --index-url https://download.pytorch.org/whl/cu128 before installing thinctx. Without uv: python3.12 -m venv ~/thinctx (on Debian / Ubuntu it needs the python3.12-venv package, and the python3.12-dev headers for Triton's launcher compile), then pip install "thinctx>=1.0.2".

Windows: in an admin PowerShell wsl --install -d Ubuntu-24.04, restart, open Ubuntu, then the Linux steps. Memory sharing across conversations is Linux-native only (WSL runs without it). WSL keeps its file cache in Windows RAM: add autoMemoryReclaim=dropcache under [experimental] in %UserProfile%\.wslconfig.

An OpenAI-compatible endpoint (add --auth USER:PASS for HTTP basic auth):

thinctx serve thinletter/ThinCtx-Qwen3.5-2B --port 8000
import thinctx
engine = thinctx.load("thinletter/ThinCtx-Qwen3.5-2B")

The server speaks the OpenAI chat-completions API (/v1/chat/completions, streaming and non-streaming, tools, enable_thinking). Point any OpenAI client at http://host:8000/v1.

Compressed context

With thinctx 1.0.2 or newer this release can also run with the compressed context store of ThinCtx-Qwen3.5-2B-small: the weights stay 16-bit, and the context stored in system RAM becomes about 2.5× smaller. The runtime fetches only the -small's small store files (a few MB, not its weights) and checks that they belong to this conversion.

thinctx chat thinletter/ThinCtx-Qwen3.5-2B --compress_context
thinctx serve thinletter/ThinCtx-Qwen3.5-2B --compress_context --port 8000
engine = thinctx.load("thinletter/ThinCtx-Qwen3.5-2B", compress_context=True)

At 540k tokens the context then needs 2.9 GB of system RAM instead of 7.4 GB (chart above), and generation is about 5 % slower than with the 16-bit context. Its results are in the --compress_context column of the tables under Results.

Results

Every number compares ThinCtx with the unchanged Qwen3.5-2B on the same items.

GPU memory for the context

Per conversation, model weights excluded, in GB, measured with thinctx 1.0.2 on one RTX 3090 at 131,072 (128k) and 541,584 (540k) tokens. The base model keeps its whole context cache on the GPU; ThinCtx keeps a small part on the GPU, growing about 19 times more slowly, and the full context in system memory (RAM). GPU: what the runtime holds for the context (during the prefill of a long input the peak is higher); system memory: the stored context and its index. With --compress_context the GPU part is about the same.

TestQwen3.5-2BThinCtx--compress_context
GPU, 128k tokens of context1.50.150.15
GPU, 540k tokens of context6.20.390.39
System memory, 128k tokens of context–1.790.70
System memory, 540k tokens of context–7.412.92

Speed

Tokens per second for one conversation on one RTX 3090, bf16, with thinctx 1.0.1 (steady decode rate). The original runs in vLLM 0.31 with CUDA graphs, batch 1. ThinCtx reads prompts 2.7 to 3.4 times more slowly than the original in vLLM and generates more slowly at short and medium contexts; at 512k tokens its generation is level with the original's and at 1M tokens faster, with far less GPU memory. Speed only: quality beyond 256k tokens was not measured.

Qwen3.5-2B (vLLM)ThinCtx-Qwen3.5-2B--compress_context
Generation, 8k tokens1788682
Generation, 128k tokens1308277
Generation, 512k tokens717167
Generation, 1M tokens5262–
Prompt reading, 8k tokens18,9136,9536,388
Prompt reading, 128k tokens9,1422,6972,567
Prompt reading, 512k tokens3,4351,1201,022
Prompt reading, 1M tokens1,869606–

--compress_context: thinctx 1.0.2; –: not measured.

Long context

BABILong: reasoning over facts hidden in long text. RULER: needle search, tracking and aggregation. LongBench v1: 16 English tasks with their official metrics. Scores in %.

TestQwen3.5-2BThinCtx--compress_context
BABILong, 4k tokens616162
BABILong, 16k tokens555353
BABILong, 64k tokens434949
BABILong, 128k tokens434345
RULER, 4k tokens959595
RULER, 16k tokens979797
RULER, 64k tokens958989.9
RULER, 128k tokens91.689.990.0
LongBench v1, mean of 16 tasks42.642.542.1

Measured on the released files with thinctx 1.0.2: the 128k rows and LongBench (ThinCtx and --compress_context) and --compress_context at 64k tokens. The other --compress_context values: the same items in the compressed store's validation run (its own 16-bit reference differs from the ThinCtx column by up to 2 points on the 0.8B and the 2B).

Tools and agent behaviour

BFCL: the Berkeley Function Calling Leaderboard, non-live categories (all items, or the first 50 of each category). Facts: planted facts asked thousands of tokens later, in sessions of 8k and 32k tokens. Tool calls: tool definitions far back in the context, share of calls predicted as in the session. Rules: planted policy rules for an agent's commands, their effect kept far back in the context (1.00 = as the base model). Divergence: KL of the next-token distribution from the base model's, lower is better. Facts, tool calls and rules are our own tests; their items and scorer are public: thinletter/longctx-agent-bench.

TestQwen3.5-2BThinCtx--compress_context
Function calling (BFCL, non-live), %68.570.470.5
Function calling (BFCL non-live, first 50 per category), %60.064.064.0
Function calling with thinking (BFCL subset), %87.8––
Facts recalled at 8k / 32k tokens0.78 / 0.790.80 / 0.730.81 / 0.71
Distant tool calls at 8k / 32k tokens0.93 / 0.980.93 / 0.980.93 / 0.98
Rules followed at 8k / 32k tokens1.00 / 1.000.98 / 0.990.98 / 0.99
Rules kept far back, worst case (1.00 = as the original)1.000.740.73
Distant tool calls, divergence from the original (lower is better)reference0.0036–
Plain text, divergence from the original, 4k / 16k tokens (lower is better)reference0.0028 / 0.00350.0031 / 0.0039

ThinCtx: facts, tool calls and rules from one run of the released files with thinctx 1.0.2. --compress_context: BFCL on all items measured on the released files with thinctx 1.0.2; the other values on the same items in the compressed store's validation run (its own 16-bit reference differs from the ThinCtx column by up to 2 points on the 0.8B and the 2B); –: not measured.

Czech and German

Czech / English text: held-out parallel passages (FLORES), the increase of the per-token loss (NLL) over the base model's. Bits per byte: lower is better. Belebele: multiple-choice reading comprehension. Needle search: RULER-style tasks in Czech and German. RAG: answers from planted documents. Rules: the rules tests with the rule written in Czech or German; items and scorer: thinletter/longctx-agent-bench.

TestQwen3.5-2BThinCtx--compress_context
Czech / English text, prediction loss vs the originalreference+0.1 % / +0.1 %–
Czech web text, bits per byte (lower is better)1.2981.2961.294
German web text, bits per byte1.0631.0611.059
Czech EU law, 8k tokens, bits per byte0.6370.6360.635
German EU law, 8k tokens, bits per byte0.5630.5590.559
Czech reading comprehension (Belebele), %70.768.768.7
German reading comprehension (Belebele), %71.073.073.7
Czech needle search at 64k tokens, %97.693.493.0
German needle search at 64k tokens, %98.996.095.4
Rules in Czech / German followed at 32k tokens1.00 / 1.001.00 / 0.990.99 / 0.99
Czech rules kept far back, worst case1.000.680.68
German rules kept far back, worst case1.000.670.69
Czech RAG answers at 8k tokens, %100100100
German RAG answers at 8k tokens, %949494

ThinCtx: needle search and the rules measured on the released files with thinctx 1.0.2. --compress_context: bits per byte, Belebele, needle search and RAG measured on the released files with thinctx 1.0.2; the rules in the compressed store's validation run, whose own 16-bit reference for the rules kept far back is 0.68 / 0.70 (a separate run from the ThinCtx column); –: not measured.

Full results for all sizes: https://thinletter.io/thinctx/

Requirements

Linux x86_64 or WSL2, CPython 3.12, an NVIDIA GPU, PyTorch 2.11, gcc. pip install thinctx pulls torch, transformers, fla-core and safetensors. The default PyTorch 2.11 wheel targets CUDA 13; with an older NVIDIA driver, install the CUDA 12.8 build first: pip install "torch==2.11.*" --index-url https://download.pytorch.org/whl/cu128. causal_conv1d is optional and makes prefill faster (without it a slower pure-PyTorch fallback is used).

License

Released under the PolyForm Small Business License 1.0.0 (LICENSE, full text in LICENSE-PolyForm-Small-Business-1.0.0.txt): free for companies with fewer than 100 people and under USD 1 million revenue (2019 dollars, adjusted for inflation). LICENSE adds free use, for anyone, for personal non-commercial purposes, for non-commercial research and education, and for evaluation and testing (non-production). Production use by larger organisations needs a commercial licence. The weights are a derivative of Qwen3.5-2B (Apache-2.0); Qwen's license (LICENSE-Apache-2.0-Qwen.txt) and a NOTICE with the attribution and the changes are included.

Using ThinCtx at work, or above the free threshold? Write to info@thinletter.io; we will also let you know about new releases.

Header painting © Jan Bébar, used with the author's permission.

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей