论文标题
Kogito:常识性知识推理工具包
kogito: A Commonsense Knowledge Inference Toolkit
论文作者
论文摘要
在本文中,我们提出了Kogito,这是一种开源工具,用于生成有关文本中描述的情况的常识推论。 Kogito提供了一个直观且可扩展的界面,以与自然语言生成模型进行交互,可用于假设来自文本输入的常识性知识推断。特别是,Kogito为有针对性的多粒性知识生成提供了几个功能。这些包括用于培训和评估知识模型的标准化API,并从中产生和过滤推断。我们还包括用于通过知识模型转换为可吸收的格式的助手功能 - 中间管道阶段,例如从文本,基于启发式和基于模型的知识头部关联匹配以及定义和使用自定义知识关系的能力。我们可以在https://github.com/epfl-nlp/kogito上提供Kogito代码,并在https://kogito.readthedocs.io上提供详尽的文档。
In this paper, we present kogito, an open-source tool for generating commonsense inferences about situations described in text. kogito provides an intuitive and extensible interface to interact with natural language generation models that can be used for hypothesizing commonsense knowledge inference from a textual input. In particular, kogito offers several features for targeted, multi-granularity knowledge generation. These include a standardized API for training and evaluating knowledge models, and generating and filtering inferences from them. We also include helper functions for converting natural language texts into a format ingestible by knowledge models - intermediate pipeline stages such as knowledge head extraction from text, heuristic and model-based knowledge head-relation matching, and an ability to define and use custom knowledge relations. We make the code for kogito available at https://github.com/epfl-nlp/kogito along with thorough documentation at https://kogito.readthedocs.io.