/ Модель

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

Контекст
163 840 токенов
Параметры
2,5 млрд
Размер весов
31,5 ГБ
Лицензия
Своя лицензия
Архитектура
dots_dsa · dense
Базовая модель
DeepSeek-V2-Lite
Библиотека
transformers
Опубликована
8 окт 2026

DSV2-Lite-IndexCache-Warmup-400

Генерация текстаТекст → текст

Контрольная точка DeepSeek-V2-Lite для исследования indexcache и генерации текста с разреженным выбором внимания.

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

Бенчмарки

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

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

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

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

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

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

DSV2-Lite-IndexCache-Warmup-400 — производная от DeepSeek-V2-Lite модель генерации текста и диалогов, опубликованная как контрольная точка этапа warmup на шаге 400. В ней сохранены обученный индексатор выбора ключей и замороженная базовая модель; по умолчанию используется разреженный режим внимания с бюджетом выбора 2048 токенов. Реализация поддерживает также плотный режим для сравнения с базовой моделью. Репозиторий содержит веса BF16 в формате safetensors и использует Transformers.

Модель предназначена для исследовательской оценки метода indexcache и проверки логики вывода, включая генерацию на английском, китайском и коде, а также работу с кэшем декодирования. Заявленная длина последовательности обучения — 65 536 токенов, однако релизная проверка ограничена 4097 токенами и не подтверждает точность или производительность на всей длине. Проверки корректности инференса не являются бенчмарком качества. BF16 может давать заметные численные расхождения; разреженная реализация выполняет плотные вычисления и не обеспечивает оптимизированный CUDA-сервинг. Лицензия указана как other, конкретные условия в предоставленных данных не раскрыты.

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

  • Проверка генерации текста с методом indexcache
  • Сравнение разреженного и плотного режимов внимания
  • Эксперименты с выбором ключей в длинном контексте
  • Проверка декодирования с кэшем на английском, китайском и коде

Ограничения

Проверка релиза охватывает 4097 токенов и не подтверждает качество или производительность на заявленной длине обучения 65 536 токенов. BF16 может менять численные результаты и маршрутизацию, а реализация разреженного режима всё ещё выполняет плотные вычисления; условия лицензии «other» здесь не детализированы.

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

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

Открыть на Hugging Face

DSV2-Lite-IndexCache-Warmup-400

A modified derivative of DeepSeek-V2-Lite, converted from a distributed training checkpoint to BF16 safetensors. Method: indexcache; stage: warmup; checkpoint step: 400. The layer pattern is FSS repeated nine times. Each full layer computes routes reused by its two shared layers. The causal key selection budget is 2048 tokens.

This warmup checkpoint retains the learned indexer and frozen backbone. The default attention_mode="sparse" evaluates the learned selector. Set config.attention_mode="dense" before loading to evaluate the dense teacher backbone.

Loading

Install the versions in requirements.txt. Tested with Transformers 4.57.3. Replace the path below with this repository ID or the downloaded directory.

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

model_path = "fxmeng/DSV2-Lite-IndexCache-Warmup-400"
tokenizer = AutoTokenizer.from_pretrained(model_path, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
    model_path, trust_remote_code=True, dtype=torch.bfloat16, device_map="cuda:0"
).eval()
inputs = tokenizer("The capital of France is", return_tensors="pt").to("cuda:0")
with torch.inference_mode():
    output = model.generate(**inputs, max_new_tokens=32, do_sample=False,
                            pad_token_id=tokenizer.eos_token_id)
print(tokenizer.decode(output[0], skip_special_tokens=True))

All four exports share byte-identical modeling_dots_dsa.py; their configurations and weights determine the method and checkpoint. The runtime also supports all six method/stage configurations. checkpoint_stage records provenance and does not switch the inference attention mode. No Megatron environment or custom CUDA extension is required. Use left padding for batched generation.

Validation and limitations

validation.json records strict loading, exact tensor names and shapes, full parameter finiteness, English/Chinese/code generation, beam search, cached versus uncached decoding, finite LM loss, and 4097-token sparse prefill/decode/cache-crop checks. The shared implementation passed 20 unit tests and 4 subtests. BF16 and FP32 results are both retained, including numerical differences. These are conversion and inference checks, not benchmark quality measurements.

The initial BF16 logit-difference thresholds (maximum < 0.75, mean < 0.05) were exceeded. Across batch, cache, and cache-crop comparisons, the largest BF16 difference was 0.5; the largest FP32 difference was 9.15527e-05. All FP32 comparisons met tighter limits (maximum < 0.001, mean < 0.0001). The sampled next-token choices agreed in both precisions, and six-token greedy generation agreed with and without cache in each precision. This supports correct inference logic with BF16 numerical sensitivity. It does not guarantee identical generations across precisions or for arbitrary prompts.

For comparison, the original DeepSeek-V2-Lite loaded with Transformers' native implementation also exceeded the initial BF16 limits: maximum/mean differences were 0.4375/0.06381 for batching and 0.625/0.11797 for 4097-token cached decoding. Its sampled next-token choices also agreed. This reference diagnostic is included in validation.json.

The reference runtime scores selectors and applies masked SDPA in query chunks. It still performs dense work and does not provide optimized sparse CUDA serving. The training sequence length was 65536; this release test covers 4097 tokens and does not establish full 64K accuracy or performance. The inherited tokenizer length metadata is 16384 and the model's RoPE configuration allows larger positions; neither value establishes a tested context length. BF16 batching and decoding can change numerical results and discrete MoE/attention routes; see the measured differences in validation.json. The warmup KL training objective is not implemented in this inference runtime.

License and modifications

The base weights and tokenizer originate from DeepSeek-V2-Lite, copyright DeepSeek. The model weights are governed by the included DeepSeek License Agreement v1.0. This derivative adds learned sparse indexers and a shared Hugging Face model implementation. Conversion changes tensor layout and storage without retraining. Checkpoint details are in provenance.json.

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

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

GPU в ailist

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

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

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

Класс архитектуры
DotsDSAForCausalLM
Ревизия весов
5042c80

0 моделей