class_docstr: **SNLI** 数据集的 **Loader**，如果您的文章使用了这份数据，请引用
  
      http://nlp.stanford.edu/pubs/snli_paper.pdf
  
  文件每一行是一个 sample，每一行都为一个 ``json`` 对象，其数据格式为::
  
      {"annotator_labels": ["neutral", "entailment", "neutral", "neutral", "neutral"], "captionID": "4705552913.jpg#2",
       "gold_label": "neutral", "pairID": "4705552913.jpg#2r1n",
       "sentence1": "Two women are embracing while holding to go packages.",
       "sentence1_binary_parse": "( ( Two women ) ( ( are ( embracing ( while ( holding ( to ( go packages ) ) ) ) ) ) . ) )",
       "sentence1_parse": "(ROOT (S (NP (CD Two) (NNS women)) (VP (VBP are) (VP (VBG embracing) (SBAR (IN while) (S (NP (VBG holding)) (VP (TO to) (VP (VB go) (NP (NNS packages)))))))) (. .)))",
       "sentence2": "The sisters are hugging goodbye while holding to go packages after just eating lunch.",
       "sentence2_binary_parse": "( ( The sisters ) ( ( are ( ( hugging goodbye ) ( while ( holding ( to ( ( go packages ) ( after ( just ( eating lunch ) ) ) ) ) ) ) ) ) . ) )",
       "sentence2_parse": "(ROOT (S (NP (DT The) (NNS sisters)) (VP (VBP are) (VP (VBG hugging) (NP (UH goodbye)) (PP (IN while) (S (VP (VBG holding) (S (VP (TO to) (VP (VB go) (NP (NNS packages)) (PP (IN after) (S (ADVP (RB just)) (VP (VBG eating) (NP (NN lunch))))))))))))) (. .)))"
       }
  
  读取的 :class:`~fastNLP.core.DataSet` 将具备以下的数据结构：
  
  .. csv-table:: 下面是使用SNLILoader加载的DataSet所具备的field
     :header: "target", "raw_words1", "raw_words2",
  
     "neutral ", "Two women are embracing while holding..", "The sisters are hugging goodbye..."
     "entailment", "Two women are embracing while holding...", "Two woman are holding packages."
     "...", "...", "..."
code: def __init__(self):
      super().__init__(
          fields={
              "sentence1": "raw_words1",
              "sentence2": "raw_words2",
              "gold_label": "target",
          }
      )
  
imports: import os
  from typing import Union, Dict
  from .csv import CSVLoader
  from .json import JsonLoader
  from .loader import Loader
  from fastNLP.io.data_bundle import DataBundle
  from ..utils import check_loader_paths
  from fastNLP.core.dataset import DataSet, Instance
  from fastNLP.core.log import logger
label_desc: Use image node_id 1 to create a new SNLILoader object from inherited base classes: JsonLoader with example: obj = SNLILoader()