ELMo嵌入的二维的文本在线表示
Representing ELMo embeddings as two-dimensional text online
摘要:
我们描述了一个新的WebVectors工具包,用于在Web上提供词嵌入模型。新的ELMoViz模块增加了对情境化嵌入架构的支持,特别是ELMo模型。所提供的可视化遵循“二维的【形】文本”的隐喻,通过显示词汇替代物:在上下文中与输入句子的单词在语义上最相似的单词。系统允许用户更改从中推断令牌嵌入的ELMo层。它还传达了关于查询词及其词汇替代物(即它们的频率层和词性)的语料库信息。该模块很好地集成到WebVectors工具包的其余部分中,提供了静态嵌入模型中单词表示的词汇超链接。两个网络服务已经实现了新的功能,并为俄语,挪威语和英语提供了预先训练的ELMo模型。
英文摘要:
We describe a new addition to the WebVectors toolkit which is used to serve word embedding models over the Web. The new ELMoViz module adds support for contextualized embedding architectures, in particular for ELMo models. The provided visualizations follow the metaphor of `two-dimensional text' by showing lexical substitutes: words which are most semantically similar in context to the words of the input sentence. The system allows the user to change the ELMo layers from which token embeddings are inferred. It also conveys corpus information about the query words and their lexical substitutes (namely their frequency tiers and parts of speech). The module is well integrated into the rest of the WebVectors toolkit, providing lexical hyperlinks to word representations in static embedding models. Two web services have already implemented the new functionality with pre-trained ELMo models for Russian, Norwegian and English.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。