
from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_tf_available, is_torch_available


__lowerCAmelCase			:     List[str]           =   {
    'configuration_ctrl': ['CTRL_PRETRAINED_CONFIG_ARCHIVE_MAP', 'CTRLConfig'],
    'tokenization_ctrl': ['CTRLTokenizer'],
}

try:
    if not is_torch_available():
        raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
    pass
else:
    __lowerCAmelCase			:     int           =   [
        'CTRL_PRETRAINED_MODEL_ARCHIVE_LIST',
        'CTRLForSequenceClassification',
        'CTRLLMHeadModel',
        'CTRLModel',
        'CTRLPreTrainedModel',
    ]

try:
    if not is_tf_available():
        raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
    pass
else:
    __lowerCAmelCase			:     str           =   [
        'TF_CTRL_PRETRAINED_MODEL_ARCHIVE_LIST',
        'TFCTRLForSequenceClassification',
        'TFCTRLLMHeadModel',
        'TFCTRLModel',
        'TFCTRLPreTrainedModel',
    ]


if TYPE_CHECKING:
    from .configuration_ctrl import CTRL_PRETRAINED_CONFIG_ARCHIVE_MAP, CTRLConfig
    from .tokenization_ctrl import CTRLTokenizer

    try:
        if not is_torch_available():
            raise OptionalDependencyNotAvailable()
    except OptionalDependencyNotAvailable:
        pass
    else:
        from .modeling_ctrl import (
            CTRL_PRETRAINED_MODEL_ARCHIVE_LIST,
            CTRLForSequenceClassification,
            CTRLLMHeadModel,
            CTRLModel,
            CTRLPreTrainedModel,
        )

    try:
        if not is_tf_available():
            raise OptionalDependencyNotAvailable()
    except OptionalDependencyNotAvailable:
        pass
    else:
        from .modeling_tf_ctrl import (
            TF_CTRL_PRETRAINED_MODEL_ARCHIVE_LIST,
            TFCTRLForSequenceClassification,
            TFCTRLLMHeadModel,
            TFCTRLModel,
            TFCTRLPreTrainedModel,
        )

else:
    import sys

    __lowerCAmelCase			:     List[Any]           =   _LazyModule(__name__, globals()['__file__'], _import_structure, module_spec=__spec__)






"""simple docstring"""






import os
from math import logaa


def 			_lowercase				(  __snake_case = "base_exp.txt"	)						->   int:
			__lowerCAmelCase      :  float												=       0
			__lowerCAmelCase      :  Any												=       0
			for i, line in enumerate(open(os.path.join(os.path.dirname(__snake_case	)					,__snake_case	)	)	):
						__lowerCAmelCase						,	__lowerCAmelCase      :  List[str]												=       list(map(__snake_case					,line.split(","	)	)	)
						if x * logaa(__snake_case	) > largest:
									__lowerCAmelCase      :  Tuple												=       x * logaa(__snake_case	)
									__lowerCAmelCase      :  Optional[Any]												=       i + 1
			return result


if __name__ == "__main__":
	print(solution())