
    Z j	                     d    S r SSKJr  SSKJr  SSKJr  \" SS9\ " S S	\5      5       5       rS	/rg
)zFNet model configuration    )strict   )PreTrainedConfig)auto_docstringzgoogle/fnet-base)
checkpointc                   "   \ rS rSr% SrSrSr\\S'   Sr	\\S'   Sr
\\S	'   S
r\\S'   Sr\\S'   Sr\\-  \S'   Sr\\S'   Sr\\S'   Sr\\S'   Sr\\S'   Sr\\S'   Sr\\S'   Sr\S-  \S'   Sr\S-  \S'   S r\\\   -  S-  \S!'   S"r\\S#'   S$rg)%
FNetConfig   a  
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____firstlineno____doc__
model_typer   int__annotations__r   r   r   r   strr   floatr   r   r   r   r   boolr   r   r   r   listr    __static_attributes__r!       |/root/GenerationalWealth/GenerationalWealth/venv/lib/python3.13/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/   r0   <module>r5      sG     . 3 # -.*%! *%  /*%Z .r/   