





"""simple docstring"""





from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


SCREAMING_SNAKE_CASE__   =  {
    "configuration_xlm_roberta_xl": [
        "XLM_ROBERTA_XL_PRETRAINED_CONFIG_ARCHIVE_MAP",
        "XLMRobertaXLConfig",
        "XLMRobertaXLOnnxConfig",
    ],
}

try:
       if not is_torch_available():
              raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
       pass
else:
       SCREAMING_SNAKE_CASE__   =  [
           "XLM_ROBERTA_XL_PRETRAINED_MODEL_ARCHIVE_LIST",
           "XLMRobertaXLForCausalLM",
           "XLMRobertaXLForMaskedLM",
           "XLMRobertaXLForMultipleChoice",
           "XLMRobertaXLForQuestionAnswering",
           "XLMRobertaXLForSequenceClassification",
           "XLMRobertaXLForTokenClassification",
           "XLMRobertaXLModel",
           "XLMRobertaXLPreTrainedModel",
       ]

if TYPE_CHECKING:
       from .configuration_xlm_roberta_xl import (
           XLM_ROBERTA_XL_PRETRAINED_CONFIG_ARCHIVE_MAP,
           XLMRobertaXLConfig,
           XLMRobertaXLOnnxConfig,
       )

       try:
              if not is_torch_available():
                     raise OptionalDependencyNotAvailable()
       except OptionalDependencyNotAvailable:
              pass
       else:
              from .modeling_xlm_roberta_xl import (
                  XLM_ROBERTA_XL_PRETRAINED_MODEL_ARCHIVE_LIST,
                  XLMRobertaXLForCausalLM,
                  XLMRobertaXLForMaskedLM,
                  XLMRobertaXLForMultipleChoice,
                  XLMRobertaXLForQuestionAnswering,
                  XLMRobertaXLForSequenceClassification,
                  XLMRobertaXLForTokenClassification,
                  XLMRobertaXLModel,
                  XLMRobertaXLPreTrainedModel,
              )

else:
       import sys

       SCREAMING_SNAKE_CASE__   =  _LazyModule(__name__, globals()["__file__"], _import_structure)













"""simple docstring"""





def      UpperCAmelCase__				(    SCREAMING_SNAKE_CASE	:		int				,		SCREAMING_SNAKE_CASE	:		int     ):







      '''simple docstring'''




      if a < 0 or b < 0:
            raise ValueError("""the value of both inputs must be positive"""     )
      lowerCAmelCase    		=			str(bin(SCREAMING_SNAKE_CASE     )     )[2:]  # remove the leading "0b"
      lowerCAmelCase    		=			str(bin(SCREAMING_SNAKE_CASE     )     )[2:]
      lowerCAmelCase    		=			max(len(SCREAMING_SNAKE_CASE     )				,		len(SCREAMING_SNAKE_CASE     )     )
      return "0b" + "".join(
          str(int("""1""" in (char_a, char_b)     )     )
          for char_a, char_b in zip(a_binary.zfill(SCREAMING_SNAKE_CASE     )				,		b_binary.zfill(SCREAMING_SNAKE_CASE     )     )     )


if __name__ == "__main__":
       import doctest

       doctest.testmod()






