Datasets:
id int64 | conversations list | assistant_token_stats dict |
|---|---|---|
0 | [
{
"role": "user",
"content": "These instructions apply to section-based themes (Responsive 6.0+, Retina 4.0+, Parallax 3.0+ Turbo 2.0+, Mobilia 5.0+). What theme version am I using?\nOn your Collections pages & Featured Collections sections, you can easily show the secondary image of a product on hover by e... | {
"assistant_turn_tokens": [
299,
1111,
742,
798
],
"assistant_turn_count": 4,
"assistant_total_tokens": 2950,
"assistant_max_tokens": 1111
} |
1 | [
{
"role": "user",
"content": "Which famous landmarks should I visit in London, beyond the usual ones?"
},
{
"role": "assistant",
"content": "If you're looking for famous landmarks in London beyond the usual ones like the Tower of London, Big Ben, and Buckingham Palace, there are still plenty of ... | {
"assistant_turn_tokens": [
1096,
1724,
1197,
851,
596,
722
],
"assistant_turn_count": 6,
"assistant_total_tokens": 6186,
"assistant_max_tokens": 1724
} |
2 | [
{
"role": "user",
"content": "Write a comprehensive blog post of at least 1000 words about the top 10 most eco-friendly cities in the world and their renewable energy initiatives. Use a formal and informative tone, and include statistics, case studies, and expert opinions to support your claims. Make sure t... | {
"assistant_turn_tokens": [
2688,
2183,
2742,
2152
],
"assistant_turn_count": 4,
"assistant_total_tokens": 9765,
"assistant_max_tokens": 2742
} |
3 | [
{
"role": "user",
"content": "De León, previewing the speech he will give today, said he will highlight his Senate Bill 535, which directs a quarter of the proceeds from the Greenhouse Gas Reduction Fund to projects that benefit disadvantaged communities.\nOn Thursday, de León nodded approvingly as a string... | {
"assistant_turn_tokens": [
111,
836
],
"assistant_turn_count": 2,
"assistant_total_tokens": 947,
"assistant_max_tokens": 836
} |
4 | [
{
"role": "user",
"content": "Write an essay that evaluates the positive and negative influence of social media on personal relationships, citing specific examples and research to support your claims. Analyze the ways in which social media usage affects communication patterns, trust levels, and emotional co... | {
"assistant_turn_tokens": [
1122,
1316,
1025,
1325
],
"assistant_turn_count": 4,
"assistant_total_tokens": 4788,
"assistant_max_tokens": 1325
} |
5 | [
{
"role": "user",
"content": "What many companies do when planning their global marketing strategies is to organize the world’s countries into three categories.\nEmerging Markets – Markets regarded as having the most potential for growth (e.g. Huge countries such as China and India) and targeted for long-te... | {
"assistant_turn_tokens": [
606,
1250
],
"assistant_turn_count": 2,
"assistant_total_tokens": 1856,
"assistant_max_tokens": 1250
} |
6 | [
{
"role": "user",
"content": "Write a Python program that can identify and remove duplicate images from a given folder or directory. The program should be able to compare images based on their content and file size, and determine which ones are exact duplicates. The duplicates should then be deleted or move... | {
"assistant_turn_tokens": [
1184,
1395,
1809
],
"assistant_turn_count": 3,
"assistant_total_tokens": 4388,
"assistant_max_tokens": 1809
} |
7 | [
{
"role": "user",
"content": "Please provide a specific cooking method for the salmon, as well as any seasonings or ingredients necessary to complete the dish. Additionally, include instructions for how to properly prepare the salmon before cooking, such as removing the skin or deboning. Please write in ste... | {
"assistant_turn_tokens": [
553,
581,
606
],
"assistant_turn_count": 3,
"assistant_total_tokens": 1740,
"assistant_max_tokens": 606
} |
8 | [{"role":"user","content":"What are the classic cocktails that every bartender should know how to ma(...TRUNCATED) | {"assistant_turn_tokens":[1347,1390,647,1626,1111,1452,1108],"assistant_turn_count":7,"assistant_tot(...TRUNCATED) |
9 | [{"role":"user","content":"Write step-by-step instructions detailing how to make a creamy and tangy (...TRUNCATED) | {"assistant_turn_tokens":[1084,748,1148,1094],"assistant_turn_count":4,"assistant_total_tokens":4074(...TRUNCATED) |
UltraChat 200k Regen Qwen3-8B Non-Thinking
中文
本仓库包含 UltraChat 200k
train_sft 经 Qwen3-8B non-thinking 模式重新生成后的清理版本。数据从 max_tokens=4096
的全量 regen 出发,对触顶样本以 max_tokens=39999 做一步补生成,并移除
context-length 超限、尾部退化,以及 39999 max new tokens 打满但没有自然结束的
无界生成样本。
文件
| 文件 | 说明 | 行数 |
|---|---|---|
data/train-00000-of-00004.parquet ... data/train-00003-of-00004.parquet |
Qwen3-8B non-thinking regen 清理样本 | 207,652 |
dropped_ids.jsonl |
被排除的原始 row id 和原因 | 213 |
格式
Parquet 分片使用以下 schema:
{
"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:原始train_sft行索引(0 .. 207864),为权威主键。conversations:重新生成后的对话,严格user/assistant交替,以user开头、assistant结尾;不包含reasoning_content(non-thinking 模式)。assistant_token_stats:使用 Qwen3-8B tokenizer 对 assistant message 内容统计的 token 数;不包含 user message,也不重新渲染 chat template。
Token 统计
使用 Qwen3-8B tokenizer 统计 assistant message 内容,add_special_tokens=false。
assistant_total_tokens: 656,606,138
assistant_turns: 657,063
avg_assistant_tokens_per_sample: 3162.05
avg_assistant_tokens_per_turn: 999.30
max_assistant_turn_tokens: 29,188
max_assistant_total_tokens_per_sample: 41,696
max_assistant_turn_count_per_sample: 7
dropped_ids.jsonl 每行是一个 JSON 对象:
{
"id": 0,
"reason": "tail_degeneracy"
}
id:被排除的原始输入行索引。reason:排除原因,目前包括context_length_exceeded、tail_degeneracy、unbounded_generation_hit_max_new_tokens_39999。
生成配置
模型与模式:
target model: Qwen3-8B
mode: non-thinking
chat_template_kwargs: {"enable_thinking": false}
SGLang serving 参数:
dtype: bfloat16
tp: 1
mem_fraction_static: 0.90
reasoning_parser: qwen3
attention_backend: flashinfer
model_impl: sglang
cuda_graph_backend_decode: disabled
cuda_graph_backend_prefill: disabled
原始 regen 参数:
bsz / concurrency: 128
temperature: 0.6
top_p: 0.95
max_tokens: 4096
context_length: 32768
reasoning: disable
触顶补生成参数:
retry max_tokens: 39999
temperature: 0.6
top_p: 0.95
concurrency: 6
context_length: 81920
reasoning: disable
说明
原始 UltraChat train_sft 共有 207,865 条。本清理版本收录 207,652 条,另外 213 条未包含在本 release 中:
| 原因 | 行数 |
|---|---|
| context-length 超限 | 84 |
| 尾部退化 | 22 |
| 39999 max new tokens 打满的无界生成 | 107 |
context-length 超限样本是在解码前因 prompt_tokens + max_tokens >= context_length 被主动跳过(发生于 40k 补生成阶段)。
尾部退化样本来自确定性的后处理扫描。检测包括 exact periodic suffix、尾部附近重复的 line / paragraph block、长单字符重复、长空白字符重复、结构符号重复,以及低信息尾部。
39999 max new tokens 打满的无界生成样本没有被尾部退化规则命中,但仍在 39999 token 上限处停止,未自然结束。这类样本可能包含长文本、长代码、枚举或试错过程;它们不被视为尾部重复退化,但作为完整 assistant response 是截断样本,因此从 clean release 中排除。
请根据自己的任务需求继续做安全过滤、质量过滤、去重和 license 合规检查。
English
This repository contains a cleaned regeneration of
UltraChat 200k
train_sft produced by Qwen3-8B in non-thinking mode. It starts from a full
max_tokens=4096 regeneration, reruns cap-hit samples once at
max_tokens=39999, and removes rows affected by context-length limits, tail
degeneration, or unbounded generations that hit the 39999 max-new-tokens cap
without naturally stopping.
Files
| File | Description | Lines |
|---|---|---|
data/train-00000-of-00004.parquet ... data/train-00003-of-00004.parquet |
Cleaned Qwen3-8B non-thinking regen samples | 207,652 |
dropped_ids.jsonl |
Dropped original row ids + reason | 213 |
Format
Parquet shards use the following schema:
{
"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: originaltrain_sftline index (0 .. 207864), authoritative key.conversations: regenerated dialogue, strict user/assistant alternation, starts with user, ends with assistant; noreasoning_content(non-thinking).assistant_token_stats: Qwen3-8B tokenizer counts over assistant message content only (add_special_tokens=false); user messages are not included and the chat template is not re-rendered.
Token Statistics
Assistant-message content only, Qwen3-8B tokenizer, add_special_tokens=false.
assistant_total_tokens: 656,606,138
assistant_turns: 657,063
avg_assistant_tokens_per_sample: 3162.05
avg_assistant_tokens_per_turn: 999.30
max_assistant_turn_tokens: 29,188
max_assistant_total_tokens_per_sample: 41,696
max_assistant_turn_count_per_sample: 7
dropped_ids.jsonl is one JSON object per line:
{
"id": 0,
"reason": "tail_degeneracy"
}
id: dropped original input row index.reason: one ofcontext_length_exceeded,tail_degeneracy,unbounded_generation_hit_max_new_tokens_39999.
Generation Config
target model: Qwen3-8B
mode: non-thinking
chat_template_kwargs: {"enable_thinking": false}
dtype: bfloat16
tp: 1
mem_fraction_static: 0.90
reasoning_parser: qwen3
attention_backend: flashinfer
model_impl: sglang
cuda_graph_backend_decode: disabled
cuda_graph_backend_prefill: disabled
pass-1: max_tokens=4096, concurrency=128, context_length=32768, temp=0.6, top_p=0.95
pass-2 (cap-hit retry): max_tokens=39999, concurrency=6, context_length=81920, temp=0.6, top_p=0.95
Notes
The original UltraChat train_sft has 207,865 rows. This clean release keeps
207,652 rows and excludes 213:
| Reason | Rows |
|---|---|
| context-length exceeded | 84 |
| tail degeneracy | 22 |
| unbounded generation hit max new tokens 39999 | 107 |
Context-length skips happen when prompt_tokens + max_tokens >= context_length
before decoding (during the 40k retry).
Tail-degeneracy rows come from a deterministic post-process scan: exact periodic suffix, repeated line/paragraph blocks near the tail, long single-character or whitespace runs, structural-symbol runs, and low-information tails.
Rows that hit the 39999 max-new-tokens cap without a natural stop are treated as incomplete assistant responses and excluded, even when they are not flagged as tail-repetition degeneration.
Please apply your own safety, quality, dedup, and license filters for downstream use.
- Downloads last month
- 443