Visualizing attention zones in machine reading comprehension models

STAR Protocols(2022)

引用 0|浏览28
暂无评分
摘要
The attention mechanism plays an important role in the machine reading comprehension (MRC) model. Here, we describe a pipeline for building an MRC model with a pretrained language model and visualizing the effect of each attention zone in different layers, which can indicate the explainability of the model. With the presented protocol and accompanying code, researchers can easily visualize the relevance of each attention zone in the MRC model. This approach can be generalized to other pretrained language models.
更多
查看译文
关键词
Bioinformatics,Cognitive Neuroscience,Computer sciences,Systems biology
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要