from collections import OrderedDict
from typing import Mapping

from ...configuration_utils import PretrainedConfig
from ...onnx import OnnxConfig
from ...utils import logging


lowerCAmelCase__  	=      logging.get_logger(__name__)

lowerCAmelCase__  	=      {
    "google/electra-small-generator": "https://huggingface.co/google/electra-small-generator/resolve/main/config.json",
    "google/electra-base-generator": "https://huggingface.co/google/electra-base-generator/resolve/main/config.json",
    "google/electra-large-generator": "https://huggingface.co/google/electra-large-generator/resolve/main/config.json",
    "google/electra-small-discriminator": (
        "https://huggingface.co/google/electra-small-discriminator/resolve/main/config.json"
    ),
    "google/electra-base-discriminator": (
        "https://huggingface.co/google/electra-base-discriminator/resolve/main/config.json"
    ),
    "google/electra-large-discriminator": (
        "https://huggingface.co/google/electra-large-discriminator/resolve/main/config.json"
    ),
}
class 	_a  (							lowerCamelCase_					):



	"""simple docstring"""



	__SCREAMING_SNAKE_CASE              =					'electra'


	def __init__(   self       ,  lowerCAmelCase_=30522       ,  lowerCAmelCase_=128       ,  lowerCAmelCase_=256       ,  lowerCAmelCase_=12       ,  lowerCAmelCase_=4       ,  lowerCAmelCase_=1024       ,  lowerCAmelCase_="gelu"       ,  lowerCAmelCase_=0.1       ,  lowerCAmelCase_=0.1       ,  lowerCAmelCase_=512       ,  lowerCAmelCase_=2       ,  lowerCAmelCase_=0.0_2       ,  lowerCAmelCase_=1e-12       ,  lowerCAmelCase_="first"       ,  lowerCAmelCase_=True       ,  lowerCAmelCase_="gelu"       ,  lowerCAmelCase_=0.1       ,  lowerCAmelCase_=0       ,  lowerCAmelCase_="absolute"       ,  lowerCAmelCase_=True       ,  lowerCAmelCase_=None       ,  **lowerCAmelCase_       ,  ):
		super().__init__(pad_token_id=lowerCAmelCase_       ,  **lowerCAmelCase_       )

		_lowercase   =vocab_size
		_lowercase   =embedding_size
		_lowercase   =hidden_size
		_lowercase   =num_hidden_layers
		_lowercase   =num_attention_heads
		_lowercase   =intermediate_size
		_lowercase   =hidden_act
		_lowercase   =hidden_dropout_prob
		_lowercase   =attention_probs_dropout_prob
		_lowercase   =max_position_embeddings
		_lowercase   =type_vocab_size
		_lowercase   =initializer_range
		_lowercase   =layer_norm_eps

		_lowercase   =summary_type
		_lowercase   =summary_use_proj
		_lowercase   =summary_activation
		_lowercase   =summary_last_dropout
		_lowercase   =position_embedding_type
		_lowercase   =use_cache
		_lowercase   =classifier_dropout

class 	_a  (							lowerCamelCase_					):



	"""simple docstring"""



	@property
	def __lowerCAmelCase      (   self       ):
		if self.task == "multiple-choice":
			_lowercase   ={0: "batch", 1: "choice", 2: "sequence"}
		else:
			_lowercase   ={0: "batch", 1: "sequence"}
		return OrderedDict(
		    [
		        ("input_ids", dynamic_axis),
		        ("attention_mask", dynamic_axis),
		        ("token_type_ids", dynamic_axis),
		    ]       )





def 	__lowerCamelCase							(				)      ->       Dict:
	_lowercase   =1

	while True:
		if (
		    sorted(str(__a		)		)
		    == sorted(str(2 * i		)		)
		    == sorted(str(3 * i		)		)
		    == sorted(str(4 * i		)		)
		    == sorted(str(5 * i		)		)
		    == sorted(str(6 * i		)		)
		):
			return i

		i += 1


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




