nemotron-code-oracle-filtered-qwen3.5-122b-131k-opencode-traces
收藏资源简介:
Agent trace dataset 是一个包含智能体交互轨迹的数据集。数据集的核心列(如 prompt_token_ids、completion_token_ids、logprobs)以列表的列表形式存储了服务引擎直接输出的原始词元ID,每个内部列表对应智能体交互中的一个回合。为了准确地将这些词元ID解码为文本,必须使用模型服务时所用的特定分词器(来源为 Qwen/Qwen3.5-122B-A10B-FP8),使用通用同系列分词器可能导致解码错误。数据集适用于对智能体行为进行细粒度分析,例如研究模型在多轮交互中的生成模式、词元级概率分布或作为智能体轨迹分析的基准数据源。分词器的具体来源信息记录在 tokenizer_provenance.json 文件中。
Agent trace dataset is a dataset containing agent interaction trajectories. The core columns (such as prompt_token_ids, completion_token_ids, logprobs) store the raw token IDs directly output by the service engine in the form of lists of lists, where each inner list corresponds to a turn in the agent interaction. To accurately decode these token IDs into text, it is essential to use the specific tokenizer used during model serving (sourced from Qwen/Qwen3.5-122B-A10B-FP8), as using a generic tokenizer from the same series may lead to decoding errors. The dataset is suitable for fine-grained analysis of agent behavior, such as studying the models generation patterns in multi-turn interactions, token-level probability distributions, or serving as a benchmark data source for agent trajectory analysis. Detailed provenance information for the tokenizer is recorded in the tokenizer_provenance.json file.
数据集概述
- 数据集名称:Agent trace dataset
- 页面地址:https://huggingface.co/datasets/penfever/nemotron-code-oracle-filtered-qwen3.5-122b-131k-opencode-traces
- 标签:agent-traces, literal-tokens
核心数据列说明
数据集包含以下关键列,存储的是服务引擎返回的逐字词元(verbatim tokens):
prompt_token_idscompletion_token_idslogprobs
这些列的数据结构为列表的列表(list-of-lists),其中每个内部列表对应智能体(agent)的一个步骤(turn)。
解码注意事项
必须使用与服务模型完全相同的分词器,否则解码出的词元文本会变为乱码。通用同族分词器无法正确解码。
- 服务模型/分词器来源:
Qwen/Qwen3.5-122B-A10B-FP8 - 引擎报告的服务模型名称:
1783165262829415 - 分词器来源参考文件:
tokenizer_provenance.json(提供机器可读的分词器出处信息)
解码示例代码
python from transformers import AutoTokenizer
tok = AutoTokenizer.from_pretrained("Qwen/Qwen3.5-122B-A10B-FP8")
token_ids 是列表的列表(每一步一个列表),逐步骤解码:
text = [tok.decode(turn, skip_special_tokens=False) for turn in completion_token_ids]
注意事项
- 如果模型分词器位于
gs://镜像路径,需要先将相关文件(tokenizer.json、tokenizer_config.json、vocab.json、merges.txt)复制到本地,然后将AutoTokenizer.from_pretrained()指向该本地目录。




