def evaluate(self, data, buckets=8, batch_size=5000, punct=False, mbr=True, tree=True, proj=True, partial=False, verbose=True, **kwargs):
    '\n        Args:\n            data (str):\n                The data for evaluation, both list of instances and filename are allowed.\n            buckets (int):\n                The number of buckets that sentences are assigned to. Default: 32.\n            batch_size (int):\n                The number of tokens in each batch. Default: 5000.\n            punct (bool):\n                If ``False``, ignores the punctuation during evaluation. Default: ``False``.\n            mbr (bool):\n                If ``True``, performs MBR decoding. Default: ``True``.\n            tree (bool):\n                If ``True``, ensures to output well-formed trees. Default: ``False``.\n            proj (bool):\n                If ``True``, ensures to output projective trees. Default: ``False``.\n            partial (bool):\n                ``True`` denotes the trees are partially annotated. Default: ``False``.\n            verbose (bool):\n                If ``True``, increases the output verbosity. Default: ``True``.\n            kwargs (dict):\n                A dict holding unconsumed arguments for updating evaluation configs.\n\n        Returns:\n            The loss scalar and evaluation results.\n        '
    return super().evaluate(**Config().update(locals()))
Args:
    data (str):
        The data for evaluation, both list of instances and filename are allowed.
    buckets (int):
        The number of buckets that sentences are assigned to. Default: 32.
    batch_size (int):
        The number of tokens in each batch. Default: 5000.
    punct (bool):
        If ``False``, ignores the punctuation during evaluation. Default: ``False``.
    mbr (bool):
        If ``True``, performs MBR decoding. Default: ``True``.
    tree (bool):
        If ``True``, ensures to output well-formed trees. Default: ``False``.
    proj (bool):
        If ``True``, ensures to output projective trees. Default: ``False``.
    partial (bool):
        ``True`` denotes the trees are partially annotated. Default: ``False``.
    verbose (bool):
        If ``True``, increases the output verbosity. Default: ``True``.
    kwargs (dict):
        A dict holding unconsumed arguments for updating evaluation configs.

Returns:
    The loss scalar and evaluation results.
def evaluate(self, data, buckets=8, batch_size=5000, punct=False, mbr=True, tree=True, proj=True, partial=False, verbose=True, **kwargs):
    '\n        Args:\n            data (str):\n                The data for evaluation, both list of instances and filename are allowed.\n            buckets (int):\n                The number of buckets that sentences are assigned to. Default: 32.\n            batch_size (int):\n                The number of tokens in each batch. Default: 5000.\n            punct (bool):\n                If ``False``, ignores the punctuation during evaluation. Default: ``False``.\n            mbr (bool):\n                If ``True``, performs MBR decoding. Default: ``True``.\n            tree (bool):\n                If ``True``, ensures to output well-formed trees. Default: ``False``.\n            proj (bool):\n                If ``True``, ensures to output projective trees. Default: ``False``.\n            partial (bool):\n                ``True`` denotes the trees are partially annotated. Default: ``False``.\n            verbose (bool):\n                If ``True``, increases the output verbosity. Default: ``True``.\n            kwargs (dict):\n                A dict holding unconsumed arguments for updating evaluation configs.\n\n        Returns:\n            The loss scalar and evaluation results.\n        '
    return super().evaluate(**Config().update(locals()))