Views
No views yet
GigaChat3-10B-A1.8B — диалоговую модель семейства GigaChat. Модель основана на архитектуре Mixture-of-Experts (MoE) с 10B общих и 1.8B активных параметров.
Архитектура включает Multi-head Latent Attention (MLA) и Multi-Token Prediction (MTP), за счет чего модель оптимизирована для высокой пропускной способности (throughput) при инференсе.
Модель обучена поверх нашей базовой версии (GigaChat3-10B-A1.8B-base) с помощью высококачественных SFT-данных.
Для высокопроизводительного инференса доступна версия модели в fp8 — GigaChat3-10B-A1.8B-fp8.GigaChat3-10B-A1.8B использует кастомную MoE-архитектуру:GigaChat3-10B-A1.8B — скорость инференса. Модель (особенно в режиме MTP) демонстрирует пропускную способность, сопоставимую с пропускной способностью значительно меньших dense‑моделей.
Мы измеряли с помощью vLLM v0.11.0, на типе bfloat16 c batch_size=1.
Ссылка на код.| Модель | request_throughput | output_throughput | total_token_throughput | mean_ttft_ms |
|---|---|---|---|---|
Qwen3-1.7B | 1.689 | 357.308 | 726.093 | 11.824 |
mtp-GigaChat3-10B-A1.8B-base | 1.533 | 333.620 | 678.894 | 26.345 |
GigaChat3-10B-A1.8B-base | 1.077 | 234.363 | 476.912 | 31.053 |
Qwen3-4B | 0.978 | 206.849 | 420.341 | 14.947 |
Qwen3-8B | 0.664 | 140.432 | 285.375 | 16.663 |
YandexGPT-5-Lite-8B-pretrain | 0.641 | 147.305 | 300.269 | 16.711 |
| Метрика | GigaChat 3 Lightning | Qwen3-1.7B-Instruct | Qwen3-4B-Instruct-2507 | SmolLM3 |
|---|---|---|---|---|
| MMLU_RU_FIVE_SHOT | 0.6833 | 0.4876 | 0.5972 | 0.4998 |
| RUBQ_ZERO_SHOT | 0.6516 | 0.2557 | 0.3170 | 0.6363 |
| MMLU_PRO_EN_FIVE_SHOT | 0.6061 | 0.410 | 0.6849 | 0.5013 |
| MMLU_EN_FIVE_SHOT | 0.7403 | 0.60 | 0.7080 | 0.5992 |
| BBH_THREE_SHOT | 0.4525 | 0.3317 | 0.7165 | 0.4161 |
| SuperGPQA | 0.2731 | 0.2092 | 0.3745 | 0.2459 |
| MATH_500_FOUR_SHOT | 0.7000 | 0.7520 | 0.8880 | 0.8020 |
| GPQA_COT_ZERO_SHOT | 0.3502 | 0.2651 | 0.5370 | 0.3704 |
| LiveCodeBench_ZERO_SHOT | 0.2031 | 0.0794 | 0.3046 | 0.1656 |
| HUMAN_EVAL_PLUS_ZERO_SHOT | 0.6951 | 0.6280 | 0.8780 | 0.7012 |
1# lm-eval[api]==0.4.9.1
2# sglang[all]==0.5.5
3# или
4# vllm==0.11.2
5
6export HF_ALLOW_CODE_EVAL=1
7
8# sglang server up
9
10# 10B
11python -m sglang.launch_server --model-path <path_to_model> --host 127.0.0.1 --port 30000 --dtype auto --mem-fraction-static 0.88 --trust-remote-code --allow-auto-truncate --speculative-algorithm EAGLE --speculative-num-steps 1 --speculative-eagle-topk 1 --speculative-num-draft-tokens 2
12
13# mmlu pro check
14python -m lm_eval --model sglang-generate --output_path <path_to_model> --batch_size 16 --model_args base_url=http://127.0.0.1:30000/generate,num_concurrent=16,tokenized_requests=True,max_length=131072,tokenizer=<path_to_model> --trust_remote_code --confirm_run_unsafe_code --num_fewshot 5 --tasks mmlu_protransformers1import torch
2from transformers import AutoTokenizer, AutoModelForCausalLM, GenerationConfig
3
4model_name = "ai-sage/GigaChat3-10B-A1.8B-bf16"
5tokenizer = AutoTokenizer.from_pretrained(model_name)
6model = AutoModelForCausalLM.from_pretrained(model_name, torch_dtype=torch.bfloat16, device_map="auto")
7model.generation_config = GenerationConfig.from_pretrained(model_name)
8
9messages = [
10 {"role": "user", "content": "Докажи теорему о неподвижной точке"}
11]
12input_tensor = tokenizer.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt")
13outputs = model.generate(input_tensor.to(model.device), max_new_tokens=1000)
14
15result = tokenizer.decode(outputs[0][input_tensor.shape[1]:], skip_special_tokens=False)
16print(result)vLLM1vllm serve ai-sage/GigaChat3-10B-A1.8B-bf16 \
2 --dtype "auto" \
3 --speculative-config '{"method": "mtp", "num_speculative_tokens": 1, "disable_padded_drafter_batch": false}'1curl http://localhost:8000/v1/chat/completions \
2 -H "Content-Type: application/json" \
3 -d '{
4 "model": "ai-sage/GigaChat3-10B-A1.8B-bf16",
5 "messages": [
6 {
7 "role": "user",
8 "content": "Докажи теорему о неподвижной точке"
9 }
10 ],
11 "max_tokens": 400,
12 "temperature": 0
13 }'SGLang1python -m sglang.launch_server \
2 --model-path ai-sage/GigaChat3-10B-A1.8B-bf16 \
3 --host 0.0.0.0 \
4 --port 30000 \
5 --dtype auto \
6 --mem-fraction-static 0.88 \
7 --speculative-algorithm EAGLE \
8 --speculative-num-steps 1 \
9 --speculative-eagle-topk 1 \
10 --speculative-num-draft-tokens 21curl http://localhost:30000/v1/chat/completions \
2 -H "Content-Type: application/json" \
3 -d '{
4 "model": "ai-sage/GigaChat3-10B-A1.8B-bf16",
5 "messages": [
6 {
7 "role": "user",
8 "content": "Докажи теорему о неподвижной точке"
9 }
10 ],
11 "max_tokens": 1000,
12 "temperature": 0
13 }'