知识卡片
分词器位于模型输入边界
分词器把文本切成可处理单位,再映射为token编号;单位可能是完整词、子词或标点。它不是语言模型网络本身,却决定输入输出如何对齐。一个词不固定对应一个token,跨语言和模型计数应使用各自分词规则。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
- · 理解推理模型
原书出处 · 1 处
- · 查看原书依据
A tokenizer is a model or tool that is not directly part of the LLM itself but is nonetheless a critical component of the LLM text processing and generation pipeline. We will see how tokenization works in practice in the next chapter.
参考来源
- 位置:《Build a Reasoning Model (From Scratch)》第01章《理解推理模型》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Build a Reasoning Model (From Scratch)/_epub-src/OEBPS/Text/chapter-1.html)
- 结论依据:摘录中关于分词器位于模型输入边界的定义、比较或条件支撑卡片;原书表述不严谨的范围已在覆盖记录逐项限定,不把案例结果外推为普遍结论。
- 原始内容:A tokenizer is a model or tool that is not directly part of the LLM itself but is nonetheless a critical component of the LLM text processing and generation pipeline. We will see how tokenization works in practice in the next chapter.