← 返回刚才阅读的位置

知识卡片

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

双语分数比较要固定分词与测试集

理解等级:中级

BLEU按候选与参考的n-gram匹配等计算,不等于人工语义正确率。37.68与其他模型数字只有在同数据、切分、分词、大小写和参数协议下才可比较,不能因架构宽度接近原论文便推断必然达到该质量。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • · 查看原书依据

      To wrap up the section, you will calculate the bilingual evaluation understudy (BLEU) score for the model. The torchtext package supplies a function, bleu_score, to complete the calculation. You use the following function, again from Mr. Trevett’s notebook, to do inference on a dataset and return the score:

    参考来源

    - 位置:《Natural Language Processing in Action, Second Edition》第09章《可堆叠的Transformer》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Natural Language Processing in Action, Second Edition/_epub-src/OEBPS/Text/chapter-9.html) - 结论依据:摘录中关于双语分数比较要固定分词与测试集的定义、比较或条件支撑卡片;原书表述不严谨的范围已在覆盖记录逐项限定,不把案例结果外推为普遍结论。 - 原始内容:To wrap up the section, you will calculate the bilingual evaluation understudy (BLEU) score for the model. The torchtext package supplies a function, bleu_score, to complete the calculation. You use the following function, again from Mr. Trevett’s notebook, to do inference on a dataset and return the score: