class_docstr: 经过处理的数据信息，包括一系列数据集（比如：分开的训练集、验证集和测试集）以及各个 field 对应的 vocabulary。该对象一般由
  **fastNLP** 中各种 :class:`~fastNLP.io.loader.Loader` 的 :meth:`load` 函数生成，可以通过以下的方法获取里面的内容::
  
      data_bundle = YelpLoader().load({'train':'/path/to/train', 'dev': '/path/to/dev'})
      train_vocabs = data_bundle.vocabs['train']
      train_data = data_bundle.datasets['train']
      dev_data = data_bundle.datasets['train']
  
  :param vocabs: 从名称（字符串）到 :class:`~fastNLP.core.Vocabulary` 类型的字典
  :param datasets: 从名称（字符串）到 :class:`~fastNLP.core.dataset.DataSet` 类型的字典。建议不要将相同的 ``DataSet`` 对象重复传入，
      否则可能会在使用 :class:`~fastNLP.io.pipe.Pipe` 处理数据的时候遇到问题，若多个数据集确需一致，请手动 ``deepcopy`` 后传入。
docstr: ``DataSet`` 中想要对绑定的 collator 进行调整可以调用此函数。 ``collator`` 为 :class:`~fastNLP.core.collators.Collator`
  时该函数才有效。调用该函数可以设置忽略输出某些 field 的内容，被设置的 field 将在 batch 的输出中被忽略::
  
      databundle.set_ignore('field1', 'field2')
  
  :param field_names: field_name: 需要调整的 field 的名称。如果 :meth:`Dataset.__getitem__` 方法返回的是字典类型，则可以直接使用对应的
      field 的 key 来表示，如果是嵌套字典，可以使用元组表示多层次的 key，例如 ``{'a': {'b': 1}}`` 中可以使用 ``('a', 'b')``;
      如果 :meth:`Dataset.__getitem__` 返回的是 Sequence 类型，则可以使用 ``'_0'``, ``'_1'`` 表示序列中第 **0** 或 **1** 个元素。
  :return: self
docstr_tok: ["``","DataSet","``","\u4e2d\u60f3\u8981\u5bf9\u7ed1\u5b9a\u7684","collator","\u8fdb\u884c\u8c03\u6574\u53ef\u4ee5\u8c03\u7528\u6b64\u51fd\u6570\u3002","``","collator","``","\u4e3a",":","class",":","`","~fastNLP.core.collators.Collator","`","\u65f6\u8be5\u51fd\u6570\u624d\u6709\u6548\u3002\u8c03\u7528\u8be5\u51fd\u6570\u53ef\u4ee5\u8bbe\u7f6e\u5ffd\u7565\u8f93\u51fa\u67d0\u4e9b","field","\u7684\u5185\u5bb9\uff0c\u88ab\u8bbe\u7f6e\u7684","field","\u5c06\u5728","batch","\u7684\u8f93\u51fa\u4e2d\u88ab\u5ffd\u7565",":",":","databundle.set_ignore","(","'field1","'",",","'field2","'",")",":","param","field_names",":","field_name",":","\u9700\u8981\u8c03\u6574\u7684","field","\u7684\u540d\u79f0\u3002\u5982\u679c",":","meth",":","`","Dataset.__getitem__","`","\u65b9\u6cd5\u8fd4\u56de\u7684\u662f\u5b57\u5178\u7c7b\u578b\uff0c\u5219\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528\u5bf9\u5e94\u7684","field","\u7684","key","\u6765\u8868\u793a\uff0c\u5982\u679c\u662f\u5d4c\u5957\u5b57\u5178\uff0c\u53ef\u4ee5\u4f7f\u7528\u5143\u7ec4\u8868\u793a\u591a\u5c42\u6b21\u7684","key\uff0c\u4f8b\u5982","``","{","'","a","'",":","{","'","b","'",":","1","}","}","``","\u4e2d\u53ef\u4ee5\u4f7f\u7528","``","(","'","a","'",",","'","b","'",")","``",";","\u5982\u679c",":","meth",":","`","Dataset.__getitem__","`","\u8fd4\u56de\u7684\u662f","Sequence","\u7c7b\u578b\uff0c\u5219\u53ef\u4ee5\u4f7f\u7528","``","'_0","'","``",",","``","'_1","'","``","\u8868\u793a\u5e8f\u5217\u4e2d\u7b2c","*","*","0","*","*","\u6216","*","*","1","*","*","\u4e2a\u5143\u7d20\u3002",":","return",":","self"]
code: def set_ignore(self, *field_names) -> "DataBundle":
      """
      ``DataSet`` 中想要对绑定的 collator 进行调整可以调用此函数。 ``collator`` 为 :class:`~fastNLP.core.collators.Collator`
      时该函数才有效。调用该函数可以设置忽略输出某些 field 的内容，被设置的 field 将在 batch 的输出中被忽略::
  
          databundle.set_ignore('field1', 'field2')
  
      :param field_names: field_name: 需要调整的 field 的名称。如果 :meth:`Dataset.__getitem__` 方法返回的是字典类型，则可以直接使用对应的
          field 的 key 来表示，如果是嵌套字典，可以使用元组表示多层次的 key，例如 ``{'a': {'b': 1}}`` 中可以使用 ``('a', 'b')``;
          如果 :meth:`Dataset.__getitem__` 返回的是 Sequence 类型，则可以使用 ``'_0'``, ``'_1'`` 表示序列中第 **0** 或 **1** 个元素。
      :return: self
      """
      for _, ds in self.iter_datasets():
          ds.collator.set_ignore(*field_names)
      return self
  
imports: from typing import Union, List, Callable, Dict
  from ..core.dataset import DataSet
  from fastNLP.core.vocabulary import Vocabulary
  from fastNLP.core import logger
label_desc: Use image node_id 26 for calling the DataBundle obj's underlying member method code with example usage: obj.set_ignore() and returns: self