



"""simple docstring"""





def   a__      ( lowerCAmelCase__ ):

      if isinstance(lowerCAmelCase__      ,     lowerCAmelCase__ ):
            raise TypeError("'float' object cannot be interpreted as an integer" )
      if isinstance(lowerCAmelCase__      ,     lowerCAmelCase__ ):
            raise TypeError("'str' object cannot be interpreted as an integer" )

      if num == 0:
            return "0b0"

      UpperCAmelCase_     					=				False

      if num < 0:
            UpperCAmelCase_     					=				True
            UpperCAmelCase_     					=				-num

      UpperCAmelCase_     					=				[]
      while num > 0:
            binary.insert(0      ,     num % 2 )
            num >>= 1

      if negative:
            return "-0b" + "".join(str(lowerCAmelCase__ ) for e in binary )

      return "0b" + "".join(str(lowerCAmelCase__ ) for e in binary )


if __name__ == "__main__":
  import doctest

  doctest.testmod()






'''simple docstring'''
from .data_collator import (
    DataCollatorForLanguageModeling,
    DataCollatorForPermutationLanguageModeling,
    DataCollatorForSeqaSeq,
    DataCollatorForSOP,
    DataCollatorForTokenClassification,
    DataCollatorForWholeWordMask,
    DataCollatorWithPadding,
    DefaultDataCollator,
    default_data_collator,
)
from .metrics import glue_compute_metrics, xnli_compute_metrics
from .processors import (
    DataProcessor,
    InputExample,
    InputFeatures,
    SingleSentenceClassificationProcessor,
    SquadExample,
    SquadFeatures,
    SquadVaProcessor,
    SquadVaProcessor,
    glue_convert_examples_to_features,
    glue_output_modes,
    glue_processors,
    glue_tasks_num_labels,
    squad_convert_examples_to_features,
    xnli_output_modes,
    xnli_processors,
    xnli_tasks_num_labels,
)


