LMdiff:一个比较语言模型的可视化比较工具
LMdiff: A Visual Diff Tool to Compare Language Models
摘要:
虽然不同的语言模型在NLP中无处不在,但很难比较它们的输出,并确定哪种语言模型比另一种更好地处理上下文。为了解决这个问题,我们引入了LMdiff,这是一个直观地比较两个不同模型的概率分布的工具,例如,通过微调,蒸馏,或简单地训练不同的参数大小。LMdiff允许通过逐个令牌地调查文本实例来生成关于模型行为的假设,并通过从大型语料库中识别最有趣的短语来进一步帮助选择这些有趣的文本实例。我们展示了LMdiff在多个案例研究中用于假设生成的适用性。演示可在http://lmdiff.net上获得。
英文摘要:
While different language models are ubiquitous in NLP, it is hard to contrast their outputs and identify which contexts one can handle better than the other. To address this question, we introduce LMdiff, a tool that visually compares probability distributions of two models that differ, e.g., through finetuning, distillation, or simply training with different parameter sizes. LMdiff allows the generation of hypotheses about model behavior by investigating text instances token by token and further assists in choosing these interesting text instances by identifying the most interesting phrases from large corpora. We showcase the applicability of LMdiff for hypothesis generation across multiple case studies. A demo is available at http://lmdiff.net .
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。