/ Модель

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

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

DSV2-Lite-LatentIndex-Sparse-1250

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

Дообученная разреженная версия DeepSeek-V2-Lite для генерации текста и диалоговых ответов.

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

Бенчмарки

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

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

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

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

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

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

DSV2-Lite-LatentIndex-Sparse-1250 — дообученная производная DeepSeek-V2-Lite, разработанная автором репозитория fxmeng. Это причинная языковая модель на 2,5 млрд параметров для генерации текста и диалогов. Архитектура реализует разреженное внимание: 27 слоёв объединены в девять групп, а выбор ключей ограничен бюджетом 2048 токенов. Веса опубликованы в формате BF16 Safetensors; для загрузки указана библиотека Transformers.

Модель предназначена для генерации ответов и продолжения текста в диалоговых сценариях. В README описаны проверки загрузки весов и генерации, однако они не подтверждают качество на прикладных задачах или надёжную работу на всей заявленной длине контекста. Хотя в метаданных указано 163 840 токенов, автор отдельно отмечает, что унаследованные настройки длины токенизатора и ограничения RoPE не проверялись как гарантии контекста. Эталонная реализация выполняет плотные вычисления и не обеспечивает оптимизированное CUDA-обслуживание разреженного внимания; лицензия обозначена как other, без уточнения условий в предоставленных данных.

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

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

Ограничения

Проверки не подтверждают качество на прикладных бенчмарках, точность на контексте 64K или эквивалентность генерации исходным ядрам обучения; длина контекста из метаданных не является проверенной гарантией. Эталонная реализация выполняет плотные вычисления без оптимизированного CUDA-обслуживания, а точные условия лицензии в предоставленных данных не раскрыты.

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

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

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

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

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

Открыть на Hugging Face

DSV2-Lite-LatentIndex-Sparse-1250

A modified derivative of DeepSeek-V2-Lite, exported as BF16 safetensors from sparse training step 1250. The 27 layers form nine groups of three. Each group leader computes independent member routes from shared latent keys and group projections. The causal key selection budget is 2048 tokens.

This new run completed on October 16, 2026. It starts from the corresponding warmup step 400 and follows the archived DSA recipe, including indexer_clip_alone=False, global batch size 256, sequence length 65536, constant learning rate 4e-5, seed 64, and 320,000 consumed training samples. It is distinct from earlier runs using indexer_clip_alone=True. Details are in provenance.json; matching the recipe does not establish bitwise reproduction of an earlier experiment.

Loading

Install requirements.txt (Transformers 4.57.3). A single GPU needs space for approximately 31.5 GB of BF16 weights plus inference working memory.

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

model_path = "fxmeng/DSV2-Lite-LatentIndex-Sparse-1250"
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))

The byte-identical modeling_dots_dsa.py is shared with the DSA, IndexCache, and LatentIndex warmup models. Configurations and weights select the method. attention_mode="sparse" is the default; checkpoint_stage records provenance. Use left padding for batched generation. No Megatron environment or custom CUDA extension is required.

Validation and scope

  • All tensor names and shapes match; strict loading reports no missing, unexpected, or mismatched parameters.
  • Every exported tensor is finite; the safetensors index and file sizes agree.
  • Real-model greedy generation, cached versus uncached short-prompt logits, and a 2057-token sparse forward (exceeding top-k 2048) passed.
  • The shared implementation passed 20 unit tests and 4 subtests.

validation.json contains the measured results. The BF16 maximum absolute cache logit difference was 0.375, below the existing test tolerance of 0.5. This is not a claim of exact logit or generation equality for arbitrary prompts. GPU inference tests used CPU offload of decoder weights to fit shared GPU memory, without changing model forward logic.

The portable reference runtime scores selectors and applies masked SDPA in query chunks. It still performs dense work and does not provide optimized sparse CUDA serving. Testing does not establish 64K accuracy/performance or downstream benchmark quality, nor bitwise equality to Megatron training kernels. The inherited tokenizer length metadata and RoPE limits are not tested context length guarantees. The warmup KL training objective is not implemented here.

License

Base weights and tokenizer originate from DeepSeek-V2-Lite, copyright DeepSeek. The included DeepSeek License Agreement v1.0 governs the model weights. This derivative adds sparse indexers and a shared HF implementation.

Part of the LatentIndex collection.

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

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

GPU в ailist

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

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

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

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

0 моделей