
    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BART model configuration    )strict   )PreTrainedConfig)auto_docstringzfacebook/bart-large)
checkpointc                   x  ^  \ rS rSr% SrSrS/rSSSS.rS	r\	\
S
'   Sr\	\
S'   Sr\	S-  \
S'   Sr\	S-  \
S'   Sr\	S-  \
S'   Sr\	S-  \
S'   Sr\	S-  \
S'   Sr\	S-  \
S'   Sr\S-  \
S'   Sr\S-  \
S'   Sr\S-  \
S'   Sr\	S-  \
S'   Sr\\	-  S-  \
S'   Sr\\	-  S-  \
S'   Sr\\	-  S-  \
S'   Sr\S-  \
S'   Sr\\	-  S-  \
S '   S!r\S-  \
S"'   S#r\\
S$'   S%r \	S-  \
S&'   S'r!\	S-  \
S('   S)r"\	\#\	   -  S-  \
S*'   S#r$\S-  \
S+'   S)r%\	S-  \
S,'   S)r&\	\#\	   -  S-  \
S-'   S!r'\S-  \
S.'   S#r(\\
S/'   U 4S0 jr)S1r*U =r+$ )2
BartConfig   a  
Example:

```python
>>> from transformers import BartConfig, BartModel

>>> # Initializing a BART facebook/bart-large style configuration
>>> configuration = BartConfig()

>>> # Initializing a model (with random weights) from the facebook/bart-large style configuration
>>> model = BartModel(configuration)

>>> # Accessing the model configuration
>>> configuration = model.config
```bartpast_key_valuesencoder_attention_headsd_modelencoder_layers)num_attention_headshidden_sizenum_hidden_layersiY  
vocab_sizei   max_position_embeddings   Ni   encoder_ffn_dim   decoder_layersdecoder_ffn_dimdecoder_attention_headsg        encoder_layerdropdecoder_layerdropgeluactivation_functiong?dropoutattention_dropoutactivation_dropoutg{Gz?init_stdclassifier_dropoutFscale_embeddingT	use_cache   pad_token_idr   bos_token_id   eos_token_idis_encoder_decoderdecoder_start_token_idforced_eos_token_id
is_decodertie_word_embeddingsc                 n   > U R                   c  UR                  SS5      U l        [        TU ]  " S0 UD6  g )N
num_labelsr    )id2labelpopr1   super__post_init__)selfkwargs	__class__s     |/root/GenerationalWealth/GenerationalWealth/venv/lib/python3.13/site-packages/transformers/models/bart/configuration_bart.pyr6   BartConfig.__post_init__M   s1     == $jjq9DO''    )r1   ),__name__
__module____qualname____firstlineno____doc__
model_typekeys_to_ignore_at_inferenceattribute_mapr   int__annotations__r   r   r   r   r   r   r   r   floatr   r   strr   r   r    r!   r"   r#   r$   boolr%   r'   r(   r*   listr+   r,   r-   r.   r/   r6   __static_attributes____classcell__)r9   s   @r:   r	   r	      s     J#4"58 -M J#'S'!#NC$J#"&OS4Z&*,S4Z,!#NC$J#"&OS4Z&*,S4Z,&)ut|)&)ut|)&,t,GS4Z"%GUS[4%,/us{T)/-0d*0!Hedl!-0d*0#(OTD[(It L#*  L#* +,L#S	/D(,&*t*)*C$J*23tCy4/3#Jt# $$( (r<   r	   N)	rA   huggingface_hub.dataclassesr   configuration_utilsr   utilsr   r	   __all__r2   r<   r:   <module>rQ      sG     . 3 # 01;(! ;(  2;(| .r<   