← 返回刚才阅读的位置

知识卡片

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

相似矩阵应排除自比并核对尺度

理解等级:中级

对非零向量归一后相乘,可得到成对余弦相似矩阵,通常对角线为1且矩阵对称。余弦一般范围是−1到1,不是0到1;寻找重复还应排除自身与对称副本,0.85阈值需以领域样例校准。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • · 查看原书依据

      The MiniLM model is a multipurpose BERT transformer that has been optimized and “distilled.” It provides high accuracy and speed and should not take long to download from Hugging Face. Now, you have 689 passages of text (mostly individual sentences). The MiniLM language model has embedded them into a 384-dimensional vector space. As you learned in chapter 6, embedding vector semantic similarity is computed with

    参考来源

    - 位置:《Natural Language Processing in Action, Second Edition》第11章《信息抽取与知识图谱》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Natural Language Processing in Action, Second Edition/_epub-src/OEBPS/Text/chapter-11.html) - 结论依据:摘录中关于相似矩阵应排除自比并核对尺度的定义、比较或条件支撑卡片;原书表述不严谨的范围已在覆盖记录逐项限定,不把案例结果外推为普遍结论。 - 原始内容:The MiniLM model is a multipurpose BERT transformer that has been optimized and “distilled.” It provides high accuracy and speed and should not take long to download from Hugging Face. Now, you have 689 passages of text (mostly individual sentences). The MiniLM language model has embedded them into a 384-dimensional vector space. As you learned in chapter 6, embedding vector semantic similarity is computed with