cs224u 自然语言推理:任务和数据集-3

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

猜你喜欢

转载自blog.csdn.net/duan_zhihua/article/details/107771466