
    Z jG	                     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YOLOS model configuration    )strict   )PreTrainedConfig)auto_docstringzhustvl/yolos-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4   -  \S'   Sr\\\   -  \\\4   -  \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#g-).YolosConfig   a]  
num_detection_tokens (`int`, *optional*, defaults to 100):
    The number of detection tokens.
use_mid_position_embeddings (`bool`, *optional*, defaults to `True`):
    Whether to use the mid-layer position encodings.

Example:

```python
>>> from transformers import YolosConfig, YolosModel

>>> # Initializing a YOLOS hustvl/yolos-base style configuration
>>> configuration = YolosConfig()

>>> # Initializing a model (with random weights) from the hustvl/yolos-base style configuration
>>> model = YolosModel(configuration)

>>> # Accessing the model configuration
>>> configuration = model.config
```yolosi   hidden_size   num_hidden_layersnum_attention_headsi   intermediate_sizegelu
hidden_actg        hidden_dropout_probattention_probs_dropout_probg{Gz?initializer_rangeg-q=layer_norm_eps)i   i`  .
image_size   
patch_sizer   num_channelsTqkv_biasd   num_detection_tokensuse_mid_position_embeddingsFauxiliary_loss   
class_cost   	bbox_cost   	giou_costbbox_loss_coefficientgiou_loss_coefficientg?eos_coefficient N)$__name__
__module____qualname____firstlineno____doc__
model_typer   int__annotations__r   r   r   r   strr   floatr   r   r   r   listtupler   r   r   boolr   r   r   r!   r#   r%   r&   r'   r(   __static_attributes__r)       ~/root/GenerationalWealth/GenerationalWealth/venv/lib/python3.13/site-packages/transformers/models/yolos/configuration_yolos.pyr	   r	      s"   * JKs!!!s!J'**03 %#+3#u#!NE!.8JS	E#s(O+846Jd3i%S/16L#Hd ###(,, ND JIsIs!"3"!"3" OU r8   r	   N)	r.   huggingface_hub.dataclassesr   configuration_utilsr   utilsr   r	   __all__r)   r8   r9   <module>r>      sG      . 3 # ./-!" -!  0-!` /r8   