deepseek-ai
deepseek-ai/DeepSeek-V3.2-Speciale
No description available.
Model Documentation
DeepSeek-V3.2: Efficient Reasoning & Agentic AI
markdownlint-disable first-line-h1 --> markdownlint-disable html --> markdownlint-disable no-duplicate-header -->
Introduction
We introduce DeepSeek-V3.2, a model that harmonizes high computational efficiency with superior reasoning and agent performance. Our approach is built upon three key technical breakthroughs:
1. DeepSeek Sparse Attention (DSA): We introduce DSA, an efficient attention mechanism that substantially reduces computational complexity while preserving model performance, specifically optimized for long-context scenarios. 2. Scalable Reinforcement Learning Framework: By implementing a robust RL protocol and scaling post-training compute, *DeepSeek-V3.2* performs comparably to GPT-5. Notably, our high-compute variant, DeepSeek-V3.2-Speciale, surpasses GPT-5 and exhibits reasoning proficiency on par with Gemini-3.0-Pro.
We have also released the final submissions for IOI 2025, ICPC World Finals, IMO 2025 and CMO 2025, which were selected based on our designed pipeline. These materials are provided for the community to conduct secondary verification. The files can be accessed at
assets/olympiad_cases.Chat Template
DeepSeek-V3.2 introduces significant updates to its chat template compared to prior versions. The primary changes involve a revised format for tool calling and the introduction of a "thinking with tools" capability.
To assist the community in understanding and adapting to this new template, we have provided a dedicated
encoding folder, which contains Python scripts and test cases demonstrating how to encode messages in OpenAI-compatible format into input strings for the model and how to parse the model's text output.A brief example is illustrated below:
python
import transformers
encoding/encoding_dsv32.py
from encoding_dsv32 import encode_messages, parse_message_from_completion_text
tokenizer = transformers.AutoTokenizer.from_pretrained("deepseek-ai/DeepSeek-V3.2")
messages = [
{"role": "user", "content": "hello"},
{"role": "assistant", "content": "Hello! I am DeepSeek.", "reasoning_content": "thinking..."},
{"role": "user", "content": "1+1=?"}
]
encode_config = dict(thinking_mode="thinking", drop_thinking=True, add_default_bos_token=True)
messages -> string
prompt = encode_messages(messages, **encode_config)
Output: "<|begin▁of▁sentence|><|User|>hello<|Assistant|>Hello! I am DeepSeek.<|end▁of▁sentence|><|User|>1+1=?<|Assistant|>"
string -> tokens
tokens = tokenizer.encode(prompt)
Output: [0, 128803, 33310, 128804, 128799, 19923, 3, 342, 1030, 22651, 4374, 1465, 16, 1, 128803, 19, 13, 19, 127252, 128804, 128798]
Important Notes:
1. This release does not include a Jinja-format chat template. Please refer to the Python code mentioned above. 2. The output parsing function included in the code is designed to handle well-formatted strings only. It does not attempt to correct or recover from malformed output that the model might occasionally generate. It is not suitable for production use without robust error handling. 3. A new role named
developer has been introduced in the chat template. This role is dedicated exclusively to search agent scenarios and is designated for no other tasks. The official API does not accept messages assigned to developer.How to Run Locally
The model structure of DeepSeek-V3.2 and DeepSeek-V3.2-Speciale are the same as DeepSeek-V3.2-Exp. Please visit DeepSeek-V3.2-Exp repo for more information about running this model locally.
Usage Recommendations:
1. For local deployment, we recommend setting the sampling parameters to
temperature = 1.0, top_p = 0.95.
2. Please note that the DeepSeek-V3.2-Speciale variant is designed exclusively for deep reasoning tasks and does not support the tool-calling functionality.License
This repository and the model weights are licensed under the MIT License.
Citation
@misc{deepseekai2025deepseekv32,
title={DeepSeek-V3.2: Pushing the Frontier of Open Large Language Models},
author={DeepSeek-AI},
year={2025},
}
Contact
If you have any questions, please raise an issue or contact us at service@deepseek.com.
Files & Weights
| Filename | Size | Action |
|---|---|---|
| model-00001-of-000163.safetensors | 4.87 GB | |
| model-00002-of-000163.safetensors | 4.01 GB | |
| model-00003-of-000163.safetensors | 4.01 GB | |
| model-00004-of-000163.safetensors | 4.01 GB | |
| model-00005-of-000163.safetensors | 4.01 GB | |
| model-00006-of-000163.safetensors | 4.01 GB | |
| model-00007-of-000163.safetensors | 4.02 GB | |
| model-00008-of-000163.safetensors | 4.01 GB | |
| model-00009-of-000163.safetensors | 4.01 GB | |
| model-00010-of-000163.safetensors | 4.01 GB | |
| model-00011-of-000163.safetensors | 4.01 GB | |
| model-00012-of-000163.safetensors | 1.38 GB | |
| model-00013-of-000163.safetensors | 4.01 GB | |
| model-00014-of-000163.safetensors | 4.01 GB | |
| model-00015-of-000163.safetensors | 4.01 GB | |
| model-00016-of-000163.safetensors | 4.01 GB | |
| model-00017-of-000163.safetensors | 4.01 GB | |
| model-00018-of-000163.safetensors | 4.01 GB | |
| model-00019-of-000163.safetensors | 4.01 GB | |
| model-00020-of-000163.safetensors | 4.01 GB | |
| model-00021-of-000163.safetensors | 4.01 GB | |
| model-00022-of-000163.safetensors | 4.01 GB | |
| model-00023-of-000163.safetensors | 4.01 GB | |
| model-00024-of-000163.safetensors | 4.01 GB | |
| model-00025-of-000163.safetensors | 4.01 GB | |
| model-00026-of-000163.safetensors | 4.01 GB | |
| model-00027-of-000163.safetensors | 4.01 GB | |
| model-00028-of-000163.safetensors | 4.01 GB | |
| model-00029-of-000163.safetensors | 4.01 GB | |
| model-00030-of-000163.safetensors | 4.01 GB | |
| model-00031-of-000163.safetensors | 4.01 GB | |
| model-00032-of-000163.safetensors | 4.01 GB | |
| model-00033-of-000163.safetensors | 4.01 GB | |
| model-00034-of-000163.safetensors | 1.74 GB | |
| model-00035-of-000163.safetensors | 4.01 GB | |
| model-00036-of-000163.safetensors | 4.01 GB | |
| model-00037-of-000163.safetensors | 4.01 GB | |
| model-00038-of-000163.safetensors | 4.01 GB | |
| model-00039-of-000163.safetensors | 4.01 GB | |
| model-00040-of-000163.safetensors | 4.01 GB | |
| model-00041-of-000163.safetensors | 4.01 GB | |
| model-00042-of-000163.safetensors | 4.01 GB | |
| model-00043-of-000163.safetensors | 4.01 GB | |
| model-00044-of-000163.safetensors | 4.01 GB | |
| model-00045-of-000163.safetensors | 4.01 GB | |
| model-00046-of-000163.safetensors | 4.01 GB | |
| model-00047-of-000163.safetensors | 4.01 GB | |
| model-00048-of-000163.safetensors | 4.01 GB | |
| model-00049-of-000163.safetensors | 4.01 GB | |
| model-00050-of-000163.safetensors | 4.01 GB | |
| model-00051-of-000163.safetensors | 4.01 GB | |
| model-00052-of-000163.safetensors | 4.01 GB | |
| model-00053-of-000163.safetensors | 4.01 GB | |
| model-00054-of-000163.safetensors | 4.01 GB | |
| model-00055-of-000163.safetensors | 4.01 GB | |
| model-00056-of-000163.safetensors | 1.74 GB | |
| model-00057-of-000163.safetensors | 4.01 GB | |
| model-00058-of-000163.safetensors | 4.01 GB | |
| model-00059-of-000163.safetensors | 4.01 GB | |
| model-00060-of-000163.safetensors | 4.01 GB | |
| model-00061-of-000163.safetensors | 4.01 GB | |
| model-00062-of-000163.safetensors | 4.01 GB | |
| model-00063-of-000163.safetensors | 4.01 GB | |
| model-00064-of-000163.safetensors | 4.01 GB | |
| model-00065-of-000163.safetensors | 4.01 GB | |
| model-00066-of-000163.safetensors | 4.01 GB | |
| model-00067-of-000163.safetensors | 4.01 GB | |
| model-00068-of-000163.safetensors | 4.01 GB | |
| model-00069-of-000163.safetensors | 4.01 GB | |
| model-00070-of-000163.safetensors | 4.01 GB | |
| model-00071-of-000163.safetensors | 4.01 GB | |
| model-00072-of-000163.safetensors | 4.01 GB | |
| model-00073-of-000163.safetensors | 4.01 GB | |
| model-00074-of-000163.safetensors | 4.01 GB | |
| model-00075-of-000163.safetensors | 4.01 GB | |
| model-00076-of-000163.safetensors | 4.01 GB | |
| model-00077-of-000163.safetensors | 4.01 GB | |
| model-00078-of-000163.safetensors | 1.74 GB | |
| model-00079-of-000163.safetensors | 4.01 GB | |
| model-00080-of-000163.safetensors | 4.01 GB | |
| model-00081-of-000163.safetensors | 4.01 GB | |
| model-00082-of-000163.safetensors | 4.01 GB | |
| model-00083-of-000163.safetensors | 4.01 GB | |
| model-00084-of-000163.safetensors | 4.01 GB | |
| model-00085-of-000163.safetensors | 4.01 GB | |
| model-00086-of-000163.safetensors | 4.01 GB | |
| model-00087-of-000163.safetensors | 4.01 GB | |
| model-00088-of-000163.safetensors | 4.01 GB | |
| model-00089-of-000163.safetensors | 4.01 GB | |
| model-00090-of-000163.safetensors | 4.01 GB | |
| model-00091-of-000163.safetensors | 4.01 GB | |
| model-00092-of-000163.safetensors | 4.01 GB | |
| model-00093-of-000163.safetensors | 4.01 GB | |
| model-00094-of-000163.safetensors | 4.01 GB | |
| model-00095-of-000163.safetensors | 4.01 GB | |
| model-00096-of-000163.safetensors | 4.01 GB | |
| model-00097-of-000163.safetensors | 4.01 GB | |
| model-00098-of-000163.safetensors | 4.01 GB | |
| model-00099-of-000163.safetensors | 4.01 GB | |
| model-00100-of-000163.safetensors | 1.74 GB | |
| model-00101-of-000163.safetensors | 4.01 GB | |
| model-00102-of-000163.safetensors | 4.01 GB | |
| model-00103-of-000163.safetensors | 4.01 GB | |
| model-00104-of-000163.safetensors | 4.01 GB | |
| model-00105-of-000163.safetensors | 4.01 GB | |
| model-00106-of-000163.safetensors | 4.01 GB | |
| model-00107-of-000163.safetensors | 4.01 GB | |
| model-00108-of-000163.safetensors | 4.01 GB | |
| model-00109-of-000163.safetensors | 4.01 GB | |
| model-00110-of-000163.safetensors | 4.01 GB | |
| model-00111-of-000163.safetensors | 4.01 GB | |
| model-00112-of-000163.safetensors | 4.01 GB | |
| model-00113-of-000163.safetensors | 4.01 GB | |
| model-00114-of-000163.safetensors | 4.01 GB | |
| model-00115-of-000163.safetensors | 4.01 GB | |
| model-00116-of-000163.safetensors | 4.01 GB | |
| model-00117-of-000163.safetensors | 4.01 GB | |
| model-00118-of-000163.safetensors | 4.01 GB | |
| model-00119-of-000163.safetensors | 4.01 GB | |
| model-00120-of-000163.safetensors | 4.01 GB | |
| model-00121-of-000163.safetensors | 4.01 GB | |
| model-00122-of-000163.safetensors | 1.74 GB | |
| model-00123-of-000163.safetensors | 4.01 GB | |
| model-00124-of-000163.safetensors | 4.01 GB | |
| model-00125-of-000163.safetensors | 4.01 GB | |
| model-00126-of-000163.safetensors | 4.01 GB | |
| model-00127-of-000163.safetensors | 4.01 GB | |
| model-00128-of-000163.safetensors | 4.01 GB | |
| model-00129-of-000163.safetensors | 4.01 GB | |
| model-00130-of-000163.safetensors | 4.01 GB | |
| model-00131-of-000163.safetensors | 4.01 GB | |
| model-00132-of-000163.safetensors | 4.01 GB | |
| model-00133-of-000163.safetensors | 4.01 GB | |
| model-00134-of-000163.safetensors | 4.01 GB | |
| model-00135-of-000163.safetensors | 4.01 GB | |
| model-00136-of-000163.safetensors | 4.01 GB | |
| model-00137-of-000163.safetensors | 4.01 GB | |
| model-00138-of-000163.safetensors | 4.01 GB | |
| model-00139-of-000163.safetensors | 4.01 GB | |
| model-00140-of-000163.safetensors | 4.01 GB | |
| model-00141-of-000163.safetensors | 3.02 GB | |
| model-00142-of-000163.safetensors | 4.01 GB | |
| model-00143-of-000163.safetensors | 4.01 GB | |
| model-00144-of-000163.safetensors | 4.01 GB | |
| model-00145-of-000163.safetensors | 4.01 GB | |
| model-00146-of-000163.safetensors | 4.01 GB | |
| model-00147-of-000163.safetensors | 4.01 GB | |
| model-00148-of-000163.safetensors | 4.01 GB | |
| model-00149-of-000163.safetensors | 4.01 GB | |
| model-00150-of-000163.safetensors | 4.01 GB | |
| model-00151-of-000163.safetensors | 4.01 GB | |
| model-00152-of-000163.safetensors | 4.01 GB | |
| model-00153-of-000163.safetensors | 4.01 GB | |
| model-00154-of-000163.safetensors | 4.01 GB | |
| model-00155-of-000163.safetensors | 4.01 GB | |
| model-00156-of-000163.safetensors | 4.01 GB | |
| model-00157-of-000163.safetensors | 4.01 GB | |
| model-00158-of-000163.safetensors | 4.01 GB | |
| model-00159-of-000163.safetensors | 4.01 GB | |
| model-00160-of-000163.safetensors | 4.92 GB | |
| model-00161-of-000163.safetensors | 4.01 GB | |
| model-00162-of-000163.safetensors | 4.01 GB | |
| model-00163-of-000163.safetensors | 6.19 GB |