知识卡片
字符独热序列保留顺序但表示较大
为每个字符位置保留一个字符类别独热向量,可在约定字符集、长度和编码下恢复原序列。它比紧凑字符编码占更多空间,直接比较语义也不方便;能还原文本的表示不止这一种,稀疏实现还可减少显式零存储。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- · 查看原书依据
There is an even simpler, but much larger, representation that can be used in a chatbot. What if our vector dimensions completely described the exact sequence of characters? The vector for each character would contain the answer to binary (yes/no) questions about every letter and punctuation mark in your alphabet:
参考来源
- 位置:《Natural Language Processing in Action, Second Edition》第01章《会读写的机器与自然语言处理》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Natural Language Processing in Action, Second Edition/_epub-src/OEBPS/Text/chapter-1.html)
- 结论依据:摘录中关于字符独热序列保留顺序但表示较大的定义、比较或条件支撑卡片;原书表述不严谨的范围已在覆盖记录逐项限定,不把案例结果外推为普遍结论。
- 原始内容:There is an even simpler, but much larger, representation that can be used in a chatbot. What if our vector dimensions completely described the exact sequence of characters? The vector for each character would contain the answer to binary (yes/no) questions about every letter and punctuation mark in your alphabet: