def to_bytes(self, exclude=tuple(), disable=None, **kwargs):
if disable is not None:<EOL><INDENT>deprecation_warning(Warnings.W014)<EOL>exclude = disable<EOL><DEDENT>serializers = OrderedDict()<EOL>serializers["<STR_LIT>"] = lambda: self.vocab.to_bytes()<EOL>serializers["<STR_LIT>"] = lambda: self.tokenizer.to_bytes(exclude=["<STR_LIT>"])<EOL>serializers["<STR_LIT>"] = lambda: srsly.json_dumps(self.meta)<EOL>for name, proc in self.pipeline:<EOL><INDENT>if name in exclude:<EOL><INDENT>continue<EOL><DEDENT>if not hasattr(proc, "<STR_LIT>"):<EOL><INDENT>continue<EOL><DEDENT>serializers[name] = lambda proc=proc: proc.to_bytes(exclude=["<STR_LIT>"])<EOL><DEDENT>exclude = util.get_serialization_exclude(serializers, exclude, kwargs)<EOL>return util.to_bytes(serializers, exclude)<EOL>
Serialize the current state to a binary string.

        exclude (list): Names of components or serialization fields to exclude.
        RETURNS (bytes): The serialized form of the `Language` object.

        DOCS: https://spacy.io/api/language#to_bytes