cs224u 自然语言推理:任务和数据集-3 nli_01_task_and_data.ipynb
__author__ = "Christopher Potts"
__version__ = "CS224u, Stanford, Fall 2020"
NLIExample 类
所有读取器都有一个读取方法,该方法会产生NLIExample示例实例,这些实例具有以下属性
- annotator_labels: list of str
- captionID: str
- gold_label: str
- pairID: str
- sentence1: str
- sentence1_binary_parse: nltk.tree.Tree
- sentence1_parse: nltk.tree.Tre
来源:oschina
链接:https://my.oschina.net/u/4406332/blog/4467703