perfectblend-regen-qwen3-8b-non-thinking
收藏资源简介:
PerfectBlend Regen Qwen3-8B Non-Thinking 32768 Clean 是一个经过清理的对话数据集,源自 PerfectBlend 数据,并使用 Qwen3-8B 模型在非思考(non-thinking)模式下重新生成。本数据集旨在提供高质量、完整的对话样本,通过多阶段补生成和严格过滤,移除了因上下文长度限制、尾部退化或达到最大生成长度但未自然结束的缺陷样本。数据内容包含 1,420,046 条清理后的对话样本,以 Parquet 格式分片存储(共8个文件)。每条样本包含一个唯一的原始行索引(id)、严格交替的 user/assistant 角色对话内容(conversations),以及使用 Qwen3-8B tokenizer 统计的助理消息 token 信息(assistant_token_stats)。对话遵循以 user 开头、assistant 结尾的格式,且不包含推理内容(reasoning_content)。数据规模方面,助理消息部分总 token 数约为 12.96 亿,平均每个样本的助理 token 数约为 912.42,平均每轮对话的助理 token 数约为 687.96。最大单轮助理 token 数和单样本总助理 token 数均为 32,767。此外,还提供了一个包含 863 条被排除样本 ID 及原因(如上下文长度超限、尾部退化、无界生成等)的 JSONL 文件(dropped_ids.jsonl)。本数据集适用于文本生成、对话系统训练或大语言模型微调等任务。使用者需根据自身任务需求,进一步进行安全过滤、质量过滤、去重和许可证合规性检查。
PerfectBlend Regen Qwen3-8B Non-Thinking 32768 Clean is a cleaned dialogue dataset sourced from the PerfectBlend corpus, regenerated using the Qwen3-8B model in non-thinking mode. This dataset is designed to deliver high-quality, complete dialogue samples. Defective samples resulting from context length constraints, tail degradation, or reaching the maximum generation length without natural conclusion are eliminated through multi-stage supplementary generation and rigorous filtering. The dataset comprises 1,420,046 cleaned dialogue samples, stored as sharded files in Parquet format (total 8 files). Each sample contains a unique original row index (id), strictly alternating user/assistant role dialogue content (conversations), and assistant message token statistics (assistant_token_stats) calculated via the Qwen3-8B tokenizer. Dialogues follow the structure starting with a user turn and ending with an assistant turn, and do not include reasoning_content. Regarding data scale, the total number of tokens in the assistant message sections amounts to approximately 1.296 billion. The average number of assistant tokens per sample is around 912.42, while the average number of assistant tokens per dialogue turn is approximately 687.96. Both the maximum single-turn assistant token count and the maximum total assistant token count per sample are 32,767. Additionally, a JSONL file named dropped_ids.jsonl is provided, which contains 863 excluded sample IDs and their respective exclusion reasons (e.g., exceeded context length limit, tail degradation, unbounded generation, etc.). This dataset is applicable to tasks including text generation, dialogue system training, and large language model (LLM) fine-tuning. Users are required to perform additional security filtering, quality filtering, deduplication, and license compliance checks based on their specific task requirements.
数据集概述
PerfectBlend Regen Qwen3-8B Non-Thinking 32768 Clean 是一个经过清理的对话数据集,由 Qwen3-8B 模型在 non-thinking 模式下对 PerfectBlend 原始数据重新生成并筛选得到。
- 语言: 英语 (en)、中文 (zh)
- 任务类别: 文本生成 (text-generation)
- 许可协议: 其他 (other)
- 标签: perfectblend, qwen3, qwen3-8b, non-thinking, sglang, conversational
- 数据规模: 1M < n < 10M
数据构成
- 总样本数: 1,420,046 条
- 排除样本数: 863 条(记录在
dropped_ids.jsonl中) - 原始数据来源: PerfectBlend 数据集,原始 regen release 共 1,420,909 条
排除原因分布
| 排除原因 | 数量 |
|---|---|
| context-length 超限 | 38 |
| 尾部退化 | 800 |
| 32768 max new tokens 打满的无界生成 | 25 |
排除说明:
- context-length 超限: 因
prompt_tokens + max_tokens >= context_length在解码前被主动跳过(8192 retry 1条,16384 retry 14条,32768 retry 23条)。 - 尾部退化: 通过确定性后处理扫描检测到 exact periodic suffix、数字模板化 periodic suffix、尾部附近重复 block、长单字符/空白/结构符号重复、低信息尾部等。
- 无界生成: 未被尾部退化规则命中,但在 32768 token 上限处停止且未自然结束的样本(完整但截断的 assistant response)。
数据格式
数据以 Parquet 分片形式存储,共 8 个分片文件(data/train-00000-of-00008.parquet 至 data/train-00007-of-00008.parquet),同时提供 dropped_ids.jsonl 记录被排除的样本。
Parquet Schema
json { "id": 0, "conversations": [ {"role": "user", "content": "..."}, {"role": "assistant", "content": "..."} ], "assistant_token_stats": { "assistant_turn_tokens": [1012], "assistant_turn_count": 1, "assistant_total_tokens": 1012, "assistant_max_tokens": 1012 } }
- id: 原始输入行索引(0..1420908),作为主键。
- conversations: 重新生成后的对话,严格 user/assistant 交替,以 user 开头、assistant 结尾;不包含
reasoning_content(non-thinking 模式)。 - assistant_token_stats: 使用 Qwen3-8B tokenizer 对 assistant message 内容统计的 token 数(仅统计 assistant 消息,不包含 user 消息,不渲染 chat template)。
dropped_ids.jsonl 格式
每行一个 JSON 对象:
json { "id": 0, "reason": "tail_degeneracy" }
- id: 被排除的原始输入行索引
- reason: 排除原因,包括
context_length_exceeded、tail_degeneracy、unbounded_generation_hit_max_new_tokens_32768
Token 统计
使用 Qwen3-8B tokenizer 统计 assistant message 内容(add_special_tokens=false):
| 指标 | 数值 |
|---|---|
| assistant_total_tokens | 1,295,678,420 |
| assistant_turns | 1,883,354 |
| avg_assistant_tokens_per_sample | 912.42 |
| avg_assistant_tokens_per_turn | 687.96 |
| max_assistant_turn_tokens | 32,767 |
| max_assistant_total_tokens_per_sample | 32,767 |
| max_assistant_turn_count_per_sample | 36 |
生成配置
模型与模式
- 目标模型: Qwen3-8B
- 模式: non-thinking
- Chat template kwargs:
{"enable_thinking": false}
SGLang Serving 参数
| 参数 | 值 |
|---|---|
| dtype | bfloat16 |
| tp | 1 |
| mem_fraction_static | 0.90 |
| reasoning_parser | qwen3 |
| cuda_graph_backend_decode | disabled |
| cuda_graph_backend_prefill | disabled |
原始 Regeneration 参数
| 参数 | 值 |
|---|---|
| batch size / concurrency | 128 |
| temperature | 0.6 |
| top_p | 0.95 |
| max_tokens | 4096 |
| reasoning | disable |
Context-length / Decode-cap 补生成参数
| 参数 | 值 |
|---|---|
| retry max_tokens | 8192 |
| second retry max_tokens | 16384 |
| third retry max_tokens | 32768 |
| temperature | 0.6 |
| top_p | 0.95 |
| reasoning | disable |
| context_length check | 40960 |
使用建议
数据集提供方建议在下游使用前,根据任务需求自行进行安全过滤、质量过滤、去重和 license 合规检查。





