← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 6700 · 生成模型:GPT-6

预分词文本仍需明确句段边界

理解等级:中级

已有空格分词可直接拆词,却不保证每一行是真实句子,也不自动解决缩写和标点句界。若要限制窗口不跨句,应另做句段切分;词项处理、标题和空行选择也要保存为训练配置。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • · 查看原书依据

      Conveniently, the WikiText2 dataset has already tokenized the text into words for you. Words are delimited with a single space (" ") character, so your pipeline doesn’t have to decide whether Dr. is the end of a sentence or not. If the text was not tokenized, your NLP pipeline would need to remove periods from tokens at the end of each sentence. Even the heading

    参考来源

    - 位置:《Natural Language Processing in Action, Second Edition》第06章《用词嵌入推理》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Natural Language Processing in Action, Second Edition/_epub-src/OEBPS/Text/chapter-6.html) - 结论依据:摘录中关于预分词文本仍需明确句段边界的定义、比较或条件支撑卡片;原书表述不严谨的范围已在覆盖记录逐项限定,不把案例结果外推为普遍结论。 - 原始内容:Conveniently, the WikiText2 dataset has already tokenized the text into words for you. Words are delimited with a single space (" ") character, so your pipeline doesn’t have to decide whether Dr. is the end of a sentence or not. If the text was not tokenized, your NLP pipeline would need to remove periods from tokens at the end of each sentence. Even the heading