/ Модель

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

Контекст
1 048 576 токенов
Параметры
3,8 млрд
Лицензия
Apache 2.0
Архитектура
spark2_5 · dense
Базовая модель
Spark-X2.6-4B
Библиотека
transformers
Опубликована
5 ноя 2026

Spark-x2.6-4B-CuteHuman

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

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

829скачиваний за 30 дней2лайкавеса обновлены6 ноя 2026

Бенчмарки

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

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

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

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

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

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

Spark-X2.6-4B-CuteHuman — дообученная модель-чат-персона на базе XHToken/Spark-X2.6-4B от автора wesjos. Она генерирует текст в диалогах, отвечая в непринуждённой, дружелюбной манере с эмодзи и каомодзи; стиль задаётся весами и может смягчаться системной инструкцией. Модель рассчитана на общение и повседневные запросы, а также сохраняет возможности базовой модели, включая написание кода и рассуждения. Поддерживает китайский и английский языки.

Это плотная причинная языковая модель архитектуры Spark2_5ForCausalLM с 3,8 млрд параметров по метаданным (в README указано 4,11 млрд), текстовым вводом и выводом и контекстом до 1 048 576 токенов. Репозиторий содержит веса bf16 в формате Safetensors; лицензия — Apache-2.0. Для загрузки токенизатора из этой карточки требуется transformers версии 5.0.0 или новее.

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

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

  • дружелюбное общение с эмодзи и каомодзи
  • ответы на повседневные вопросы в разговорном стиле
  • написание небольших программ по запросу
  • поддержка китайских и англоязычных диалогов

Ограничения

Дообучение меняет стиль общения, но не повышает знания, математические способности или качество длинных рассуждений относительно базовой модели. Использование инструментов унаследовано от базы и не проверено отдельно; для токенизатора этой карточки требуется transformers версии 5.0.0 или новее.

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

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

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

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

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

Открыть на Hugging Face

💾 Want the same persona at 2.4 GB? → Spark-X2.6-4B-CuteHuman-GGUF

The identical fine-tune, quantized: Q4_K_M at 2.42 GiB, Q8_0 at 4.07 GiB. This repo is the full bf16 checkpoint (7.66 GiB, one model.safetensors).

🖼 Demo

Both shots are the same session in a chat client with the CoT trace collapsed — the WORK row is the reasoning panel, the ANSWER row is the reply. Turn it on to see the thinking trace.

中文 · yoho → 在干什么 → 写个代码,绘制一个星星 → 你的优点是什么

Greeting, small talk, then a matplotlib star. Emoji and ~ come out unprompted.

English · hello → what are u doin → 8.2×9.12/2.3 = → build mlp in python numpy

Small talk, then exact-decimal arithmetic (74.784, and it says so out loud), then a full NumPy MLP.


📐 Specs

BaseXHToken/Spark-X2.6-4B (Apache-2.0)
ArchitectureSpark2_5ForCausalLM · 36 layers — 9 full-attention + 27 sliding-attention (window 512) · hidden 2560
Attention16 heads / 4 KV heads · head_dim 256 · partial RoPE 0.25 on full-attention layers
Parameters4,112,079,360 (bf16, measured from the safetensors header) · 335.5 M embedding / 3.78 B non-embedding
On disk1 shard, 7.66 GiB
Context1,048,576 native (max_position_embeddings) · tokenizer advertises 131,072
Vocab131,072
KV cache36.0 KiB/token at full attention (9 full layers) — 4.50 GiB at 128 K, 36 GiB at 1 M

🚀 Quickstart

[!IMPORTANT] This repo's tokenizer_config.json declares tokenizer_class: "TokenizersBackend", which needs transformers>=5.0.0. On transformers==4.57.1 (the version upstream pins) AutoTokenizer raises ValueError: Tokenizer class TokenizersBackend does not exist or is not currently imported. The upstream checkpoint's own tokenizer config loads fine on 4.57.1 — this repo's does not.

pip install "transformers>=5.0.0" jinja2   # jinja2 is needed for apply_chat_template
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

MODEL = "wesjos/Spark-x2.6-4B-CuteHuman"

tokenizer = AutoTokenizer.from_pretrained(MODEL, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
    MODEL, trust_remote_code=True, dtype=torch.bfloat16, device_map="auto"
)

messages = [{"role": "user", "content": "yoho"}]
inputs = tokenizer.apply_chat_template(
    messages, add_generation_prompt=True, tokenize=True,
    return_dict=True, return_tensors="pt",
    enable_thinking=False,          # chit-chat: no thinking trace
).to(model.device)

out = model.generate(**inputs, max_new_tokens=256, do_sample=True,
                     temperature=1.0, top_p=0.95, top_k=-1)
print(tokenizer.decode(out[0][inputs["input_ids"].shape[-1]:], skip_special_tokens=True))

llama.cpp — native spark2_5 support landed in b10828; v0.9.0 has it too.

llama-cli -m Spark-x2.6-4B-CuteHuman.Q4_K_M.gguf -p "yoho" -n 256

💡 Notes

  • The persona lives in the weights. The chat template is byte-identical to upstream's — default system prompt is "you are a helpful assistant.", with no persona baked in — so an empty system prompt reproduces the screenshots.
  • Emoji and kaomoji are the default register. The habit is a style, not a rule: a system prompt like 「少用表情,正常说话」 / "tone the emoji down" is enough to soften it.
  • Thinking is on by default. The template opens a <think> block and supports reasoning_effort low / high. For chit-chat pass enable_thinking=False, otherwise the trace eats the budget.
  • The GGUF carries its own chat template (verified inside the file's KV block, and it matches this repo's chat_template.jinja byte for byte) — no --chat-template-file needed.

⚠️ Limitations

  • 4 B knowledge ceiling. Facts, math and long reasoning are base-model level — this is a persona fine-tune, not a capability upgrade.
  • The screenshots were taken under a chat client that is not shipped here. This repo has no webui/ directory, and the client in the shots shows WORK / ANSWER / STEPS / cached labels that appear nowhere in the sibling Spark-x2.6-4B-HTML WebUI.
  • Tool use is inherited and unaudited. The template carries the upstream tool-call and tool role handling; nothing here was probed for refusal behaviour.
  • No training metadata ships with this repo — no data size, no steps, no rank. Ask the owner if you need it.

📄 License

Apache-2.0, inherited from the Spark-X2.6 model series.

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

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

GPU в ailist

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

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

Модели нужен код из репозитория; запуск откроется после проверки совместимости.

Класс архитектуры
Spark2_5ForCausalLM
Ревизия весов
84eb251

0 моделей