
    i	                     j    d Z ddlmZ ddlmZ ddlmZ  ed      e G d d	e                    Zd	gZy
)zFNet model configuration    )strict   )PreTrainedConfig)auto_docstringzgoogle/fnet-base)
checkpointc                      e Zd ZU dZdZdZeed<   dZeed<   dZ	eed<   d	Z
eed
<   dZeed<   dZeez  ed<   dZeed<   dZeed<   dZeed<   dZeed<   dZeed<   dZeed<   dZedz  ed<   dZedz  ed<   dZeee   z  dz  ed <   d!Zeed"<   y)#
FNetConfiga  
    use_tpu_fourier_optimizations (`bool`, *optional*, defaults to `False`):
        Determines whether to use TPU optimized FFTs. If `True`, the model will favor axis-wise FFTs transforms.
        Set to `False` for GPU/CPU hardware, in which case n-dimensional FFTs are used.
    tpu_short_seq_length (`int`, *optional*, defaults to 512):
        The sequence length that is expected by the model when using TPUs. This will be used to initialize the DFT
        matrix only when *use_tpu_fourier_optimizations* is set to `True` and the input sequence is shorter than or
        equal to 4096 tokens.

    Example:

    ```python
    >>> from transformers import FNetConfig, FNetModel

    >>> # Initializing a FNet fnet-base style configuration
    >>> configuration = FNetConfig()

    >>> # Initializing a model (with random weights) from the fnet-base style configuration
    >>> model = FNetModel(configuration)

    >>> # Accessing the model configuration
    >>> configuration = model.config
    ```fneti }  
vocab_sizei   hidden_size   num_hidden_layersi   intermediate_sizegelu_new
hidden_actg?hidden_dropout_probi   max_position_embeddings   type_vocab_sizeg{Gz?initializer_rangeg-q=layer_norm_epsFuse_tpu_fourier_optimizationstpu_short_seq_lengthr   Npad_token_id   bos_token_id   eos_token_idTtie_word_embeddings)__name__
__module____qualname____doc__
model_typer   int__annotations__r   r   r   r   strr   floatr   r   r   r   r   boolr   r   r   r   listr        |/var/www/vps2.regionflexible.com/Desarrollo/venv/lib/python3.12/site-packages/transformers/models/fnet/configuration_fnet.pyr	   r	      s    0 JJKs!s! J '**#&S&OS#u#!NE!*/!4/ ### L#*  L#* +,L#S	/D(, $$r,   r	   N)	r#   huggingface_hub.dataclassesr   configuration_utilsr   utilsr   r	   __all__r+   r,   r-   <module>r2      sG     . 3 # -.*%! *%  /*%Z .r,   