Ë
    T^(hdß  ã                   ó   — d Z ddlZddlmZmZmZ ddlZddlZddlmZ ddl	m
Z
mZmZ ddlmZ ddlmZmZmZmZmZmZmZ dd	lmZ dd
lmZmZ ddlmZmZmZm Z  ddl!m"Z" ddl#m$Z$m%Z%m&Z&m'Z'm(Z(m)Z)  e jT                  e+«      Z,dZ-dZ. G d„ dej^                  «      Z0 G d„ dej^                  «      Z1 G d„ dej^                  «      Z2 G d„ dej^                  «      Z3 G d„ dej^                  «      Z4 G d„ dej^                  «      Z5 G d„ dej^                  «      Z6 G d„ d ej^                  «      Z7 G d!„ d"ej^                  «      Z8 G d#„ d$e«      Z9d%Z:d&Z; ed'e:«       G d(„ d)e9«      «       Z< ed*e:«       G d+„ d,e9«      «       Z= G d-„ d.ej^                  «      Z> ed/e:«       G d0„ d1e9«      «       Z? ed2e:«       G d3„ d4e9«      «       Z@ ed5e:«       G d6„ d7e9«      «       ZA G d8„ d9ej^                  «      ZB ed:e:«       G d;„ d<e9«      «       ZCd?d=„ZDg d>¢ZEy)@zPyTorch I-BERT model.é    N)ÚOptionalÚTupleÚUnion)Únn)ÚBCEWithLogitsLossÚCrossEntropyLossÚMSELossé   )Úgelu)Ú)BaseModelOutputWithPastAndCrossAttentionsÚ,BaseModelOutputWithPoolingAndCrossAttentionsÚMaskedLMOutputÚMultipleChoiceModelOutputÚQuestionAnsweringModelOutputÚSequenceClassifierOutputÚTokenClassifierOutput)ÚPreTrainedModel)Ú find_pruneable_heads_and_indicesÚprune_linear_layer)Úadd_code_sample_docstringsÚadd_start_docstringsÚ%add_start_docstrings_to_model_forwardÚloggingé   )ÚIBertConfig)ÚIntGELUÚIntLayerNormÚ
IntSoftmaxÚQuantActÚQuantEmbeddingÚQuantLinearzkssteven/ibert-roberta-baser   c                   ó2   ‡ — e Zd ZdZˆ fd„Z	 dd„Zd„ Zˆ xZS )ÚIBertEmbeddingszV
    Same as BertEmbeddings with a tiny tweak for positional embeddings indexing.
    c                 óž  •— t         ‰| �  «        |j                  | _        d| _        d| _        d| _        d| _        d| _        t        |j                  |j                  |j                  | j                  | j                  ¬«      | _        t        |j                  |j                  | j                  | j                  ¬«      | _        | j                  dt!        j"                  |j$                  «      j'                  d«      d	¬
«       t)        |dd«      | _        |j                  | _        t        |j$                  |j                  | j,                  | j                  | j                  ¬«      | _        t1        | j                  | j                  ¬«      | _        t1        | j                  | j                  ¬«      | _        t7        |j                  |j8                  | j                  | j                  |j:                  ¬«      | _        t1        | j
                  | j                  ¬«      | _        tA        jB                  |jD                  «      | _#        y )Né   é   é   é    )Úpadding_idxÚ
weight_bitÚ
quant_mode)r*   r+   Úposition_ids)r   éÿÿÿÿF)Ú
persistentÚposition_embedding_typeÚabsolute©r+   ©ÚepsÚ
output_bitr+   Úforce_dequant)$ÚsuperÚ__init__r+   Úembedding_bitÚembedding_act_bitÚact_bitÚln_input_bitÚln_output_bitr    Ú
vocab_sizeÚhidden_sizeÚpad_token_idÚword_embeddingsÚtype_vocab_sizeÚtoken_type_embeddingsÚregister_bufferÚtorchÚarangeÚmax_position_embeddingsÚexpandÚgetattrr/   r)   Úposition_embeddingsr   Úembeddings_act1Úembeddings_act2r   Úlayer_norm_epsr5   Ú	LayerNormÚoutput_activationr   ÚDropoutÚhidden_dropout_probÚdropout©ÚselfÚconfigÚ	__class__s     €úf/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/transformers/models/ibert/modeling_ibert.pyr7   zIBertEmbeddings.__init__8   sÜ  ø€ Ü‰ÑÔØ ×+Ñ+ˆŒØˆÔØ!#ˆÔØˆŒØˆÔØˆÔä-Ø×ÑØ×ÑØ×+Ñ+Ø×)Ñ)Ø—‘ô 
ˆÔô &4Ø×"Ñ" F×$6Ñ$6À4×CUÑCUÐbf×bqÑbqô&
ˆÔ"ð
 	×ÑØœEŸL™L¨×)GÑ)GÓH×OÑOÐPWÓXÐejð 	ô 	
ô (/¨vÐ7PÐR\Ó']ˆÔ$ð "×.Ñ.ˆÔÜ#1Ø×*Ñ*Ø×ÑØ×(Ñ(Ø×)Ñ)Ø—‘ô$
ˆÔ ô  (¨×(>Ñ(>È4Ï?É?Ô[ˆÔÜ'¨×(>Ñ(>È4Ï?É?Ô[ˆÔô &Ø×ÑØ×%Ñ%Ø×)Ñ)Ø—‘Ø ×.Ñ.ô
ˆŒô "*¨$¯,©,À4Ç?Á?Ô!SˆÔÜ—z‘z &×"<Ñ"<Ó=ˆ�ó    c                 óÐ  — |€D|�1t        || j                  |«      j                  |j                  «      }n| j	                  |«      }|�|j                  «       }n|j                  «       d d }|€:t        j                  |t        j                  | j                  j                  ¬«      }|€| j                  |«      \  }}nd }| j                  |«      \  }}	| j                  ||||	¬«      \  }
}| j                  dk(  r,| j                  |«      \  }}| j                  |
|||¬«      \  }
}| j                  |
|«      \  }
}| j!                  |
«      }
| j#                  |
|«      \  }
}|
|fS )Nr-   ©ÚdtypeÚdevice©ÚidentityÚidentity_scaling_factorr0   )Ú"create_position_ids_from_input_idsr)   Útor[   Ú&create_position_ids_from_inputs_embedsÚsizerD   ÚzerosÚlongr,   r@   rB   rJ   r/   rI   rM   rQ   rN   )rS   Ú	input_idsÚtoken_type_idsr,   Úinputs_embedsÚpast_key_values_lengthÚinput_shapeÚinputs_embeds_scaling_factorrB   Ú$token_type_embeddings_scaling_factorÚ
embeddingsÚembeddings_scaling_factorrI   Ú"position_embeddings_scaling_factors                 rV   ÚforwardzIBertEmbeddings.forwardl   sš  € ð ÐØÐ$äAØ˜t×/Ñ/Ð1Gó ç‘"�Y×%Ñ%Ó&ñ ð  $×JÑJÈ=ÓY�àÐ Ø#Ÿ.™.Ó*‰Kà'×,Ñ,Ó.¨s°Ð3ˆKàÐ!Ü"Ÿ[™[¨¼E¿J¹JÈt×O`ÑO`×OgÑOgÔhˆNàÐ Ø:>×:NÑ:NÈyÓ:YÑ7ˆMÑ7à+/Ð(ØFJ×F`ÑF`ÐaoÓFpÑCÐÐCà04×0DÑ0DØØ(Ø*Ø$Hð	 1Eó 1
Ñ-ˆ
Ð-ð ×'Ñ'¨:Ò5ØFJ×F^ÑF^Ð_kÓFlÑCÐÐ!CØ48×4HÑ4HØØ)Ø,Ø(Jð	 5Ió 5Ñ1ˆJÐ1ð 15·±¸zÐKdÓ0eÑ-ˆ
Ð-Ø—\‘\ *Ó-ˆ
Ø04×0FÑ0FÀzÐSlÓ0mÑ-ˆ
Ð-ØÐ4Ð4Ð4rW   c                 ó  — |j                  «       dd }|d   }t        j                  | j                  dz   || j                  z   dz   t        j                  |j
                  ¬«      }|j                  d«      j                  |«      S )z×
        We are provided embeddings directly. We cannot infer which are padded so just generate sequential position ids.

        Args:
            inputs_embeds: torch.Tensor

        Returns: torch.Tensor
        Nr-   r   rY   r   )rb   rD   rE   r)   rd   r[   Ú	unsqueezerG   )rS   rg   ri   Úsequence_lengthr,   s        rV   ra   z6IBertEmbeddings.create_position_ids_from_inputs_embeds›   s€   € ð $×(Ñ(Ó*¨3¨BÐ/ˆØ% a™.ˆä—|‘|Ø×Ñ˜qÑ  /°D×4DÑ4DÑ"DÀqÑ"HÔPU×PZÑPZÐcp×cwÑcwô
ˆð ×%Ñ% aÓ(×/Ñ/°Ó<Ð<rW   )NNNNr   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r7   ro   ra   Ú__classcell__©rU   s   @rV   r#   r#   3   s    ø„ ñô2>ðj rsó-5ö^=rW   r#   c                   ó2   ‡ — e Zd Zˆ fd„Zd„ Z	 	 	 dd„Zˆ xZS )ÚIBertSelfAttentionc           	      óž  •— t         ‰| �  «        |j                  |j                  z  dk7  r2t	        |d«      s&t        d|j                  › d|j                  › d�«      ‚|j                  | _        d| _        d| _        d| _	        |j                  | _        t        |j                  |j                  z  «      | _        | j                  | j                  z  | _        t        |j                  | j                  d| j                  | j                  | j                  d¬	«      | _        t        |j                  | j                  d| j                  | j                  | j                  d¬	«      | _        t        |j                  | j                  d| j                  | j                  | j                  d¬	«      | _        t#        | j                  | j                  ¬
«      | _        t#        | j                  | j                  ¬
«      | _        t#        | j                  | j                  ¬
«      | _        t#        | j                  | j                  ¬
«      | _        t-        j.                  |j0                  «      | _        t5        |dd«      | _        | j6                  dk7  rt        d«      ‚t9        | j                  | j                  |j:                  ¬«      | _        y )Nr   Úembedding_sizezThe hidden size (z6) is not a multiple of the number of attention heads (ú)r%   r(   T©Úbiasr*   Úbias_bitr+   Úper_channelr1   r/   r0   zDI-BERT only supports 'absolute' for `config.position_embedding_type`©r+   r5   )r6   r7   r>   Únum_attention_headsÚhasattrÚ
ValueErrorr+   r*   r€   r:   ÚintÚattention_head_sizeÚall_head_sizer!   ÚqueryÚkeyÚvaluer   Úquery_activationÚkey_activationÚvalue_activationrN   r   rO   Úattention_probs_dropout_probrQ   rH   r/   r   r5   ÚsoftmaxrR   s     €rV   r7   zIBertSelfAttention.__init__®   s?  ø€ Ü‰ÑÔØ×Ñ × :Ñ :Ñ:¸aÒ?ÌÐPVÐXhÔHiÜØ# F×$6Ñ$6Ð#7ð 8Ø ×4Ñ4Ð5°Qð8óð ð !×+Ñ+ˆŒØˆŒØˆŒØˆŒà#)×#=Ñ#=ˆÔ Ü#& v×'9Ñ'9¸F×<VÑ<VÑ'VÓ#WˆÔ Ø!×5Ñ5¸×8PÑ8PÑPˆÔô !Ø×ÑØ×ÑØØ—‘Ø—]‘]Ø—‘Øô
ˆŒ
ô Ø×ÑØ×ÑØØ—‘Ø—]‘]Ø—‘Øô
ˆŒô !Ø×ÑØ×ÑØØ—‘Ø—]‘]Ø—‘Øô
ˆŒ
ô !)¨¯©À$Ç/Á/Ô RˆÔÜ& t§|¡|ÀÇÁÔPˆÔÜ (¨¯©À$Ç/Á/Ô RˆÔÜ!)¨$¯,©,À4Ç?Á?Ô!SˆÔä—z‘z &×"EÑ"EÓFˆŒÜ'.¨vÐ7PÐR\Ó']ˆÔ$Ø×'Ñ'¨:Ò5ÜÐcÓdÐdä! $§,¡,¸4¿?¹?ÐZ`×ZnÑZnÔoˆ�rW   c                 ó    — |j                  «       d d | j                  | j                  fz   } |j                  |Ž }|j	                  dddd«      S )Nr-   r   é   r   r
   )rb   rƒ   r‡   ÚviewÚpermute)rS   ÚxÚnew_x_shapes      rV   Útranspose_for_scoresz'IBertSelfAttention.transpose_for_scoresè   sN   € Ø—f‘f“h˜s �m t×'?Ñ'?À×AYÑAYÐ&ZÑZˆØˆA�F‰F�KÐ ˆØ�y‰y˜˜A˜q !Ó$Ð$rW   c                 óÈ  — | j                  ||«      \  }}| j                  ||«      \  }}	| j                  ||«      \  }
}| j                  ||«      \  }}| j	                  ||	«      \  }}| j                  |
|«      \  }}| j                  |«      }| j                  |«      }| j                  |«      }t        j                  ||j                  dd«      «      }t        j                  | j                  «      }||z  }| j                  r	||z  |z  }nd }|�||z   }| j                  ||«      \  }}| j                  |«      }|�||z  }t        j                  ||«      }|�||z  }nd }|j!                  dddd«      j#                  «       }|j%                  «       d d | j&                  fz   } |j(                  |Ž }| j+                  ||«      \  }}|r||fn|f}|r||fn|f}||fS )Nr-   éþÿÿÿr   r’   r   r
   )r‰   rŠ   r‹   rŒ   r�   rŽ   r—   rD   ÚmatmulÚ	transposeÚmathÚsqrtr‡   r+   r�   rQ   r”   Ú
contiguousrb   rˆ   r“   rN   )rS   Úhidden_statesÚhidden_states_scaling_factorÚattention_maskÚ	head_maskÚoutput_attentionsÚmixed_query_layerÚ mixed_query_layer_scaling_factorÚmixed_key_layerÚmixed_key_layer_scaling_factorÚmixed_value_layerÚ mixed_value_layer_scaling_factorÚquery_layerÚquery_layer_scaling_factorÚ	key_layerÚkey_layer_scaling_factorÚvalue_layerÚvalue_layer_scaling_factorÚattention_scoresÚscaleÚattention_scores_scaling_factorÚattention_probsÚattention_probs_scaling_factorÚcontext_layerÚcontext_layer_scaling_factorÚnew_context_layer_shapeÚoutputsÚoutput_scaling_factors                               rV   ro   zIBertSelfAttention.forwardí   sY  € ð ?C¿j¹jÈÐXtÓ>uÑ;ÐÐ;Ø:>¿(¹(À=ÐRnÓ:oÑ7ˆÐ7Ø>B¿j¹jÈÐXtÓ>uÑ;ÐÐ;ð 37×2GÑ2GØÐ?ó3
Ñ/ˆÐ/ð /3×.AÑ.AÀ/ÐSqÓ.rÑ+ˆ	Ð+Ø26×2GÑ2GØÐ?ó3
Ñ/ˆÐ/ð
 ×/Ñ/°Ó<ˆØ×-Ñ-¨iÓ8ˆ	Ø×/Ñ/°Ó<ˆô !Ÿ<™<¨°Y×5HÑ5HÈÈRÓ5PÓQÐÜ—	‘	˜$×2Ñ2Ó3ˆØ+¨eÑ3ÐØ�?Š?Ø.HÐKcÑ.cÐfkÑ.kÑ+à.2Ð+àÐ%à/°.Ñ@Ðð ;?¿,¹,ØÐ=ó;
Ñ7ˆÐ7ð Ÿ,™, Ó7ˆð Ð Ø-°	Ñ9ˆOäŸ™ _°kÓBˆØ)Ð5Ø+IÐLfÑ+fÑ(à+/Ð(à%×-Ñ-¨a°°A°qÓ9×DÑDÓFˆØ"/×"4Ñ"4Ó"6°s¸Ð";¸t×?QÑ?QÐ>SÑ"SÐØ*˜×*Ñ*Ð,CÐDˆð 7;×6LÑ6LØÐ7ó7
Ñ3ˆÐ3ñ 7H�= /Ñ2ÈmÐM]ˆñ !ð *Ð+IÑJà.Ð0ð 	ð Ð-Ð-Ð-rW   ©NNF)rs   rt   ru   r7   r—   ro   rw   rx   s   @rV   rz   rz   ­   s    ø„ ô8pòt%ð ØØ÷K.rW   rz   c                   ó$   ‡ — e Zd Zˆ fd„Zd„ Zˆ xZS )ÚIBertSelfOutputc           	      óŠ  •— t         ‰| �  «        |j                  | _        d| _        d| _        d| _        d| _        d| _        t        |j                  |j                  d| j                  | j
                  | j                  d¬«      | _
        t        | j                  | j                  ¬«      | _        t        |j                  |j                  | j                  | j                  |j                  ¬«      | _        t        | j                  | j                  ¬«      | _        t%        j&                  |j(                  «      | _        y ©Nr%   r(   r'   Tr~   r1   r2   )r6   r7   r+   r:   r*   r€   r;   r<   r!   r>   Údenser   Úln_input_actr   rL   r5   rM   rN   r   rO   rP   rQ   rR   s     €rV   r7   zIBertSelfOutput.__init__<  sú   ø€ Ü‰ÑÔØ ×+Ñ+ˆŒØˆŒØˆŒØˆŒØˆÔØˆÔä Ø×ÑØ×ÑØØ—‘Ø—]‘]Ø—‘Øô
ˆŒ
ô % T×%6Ñ%6À4Ç?Á?ÔSˆÔÜ%Ø×ÑØ×%Ñ%Ø×)Ñ)Ø—‘Ø ×.Ñ.ô
ˆŒô "*¨$¯,©,À4Ç?Á?Ô!SˆÔÜ—z‘z &×"<Ñ"<Ó=ˆ�rW   c                 óÚ   — | j                  ||«      \  }}| j                  |«      }| j                  ||||¬«      \  }}| j                  ||«      \  }}| j	                  ||«      \  }}||fS ©Nr\   ©r¿   rQ   rÀ   rM   rN   ©rS   rŸ   r    Úinput_tensorÚinput_tensor_scaling_factors        rV   ro   zIBertSelfOutput.forwardY  ó’   € Ø6:·j±jÀÐPlÓ6mÑ3ˆÐ3ØŸ™ ]Ó3ˆØ6:×6GÑ6GØØ(Ø!Ø$?ð	 7Hó 7
Ñ3ˆÐ3ð 7;·n±nÀ]ÐTpÓ6qÑ3ˆÐ3à6:×6LÑ6LØÐ7ó7
Ñ3ˆÐ3ð Ð:Ð:Ð:rW   ©rs   rt   ru   r7   ro   rw   rx   s   @rV   r¼   r¼   ;  ó   ø„ ô>ö:;rW   r¼   c                   ó2   ‡ — e Zd Zˆ fd„Zd„ Z	 	 	 dd„Zˆ xZS )ÚIBertAttentionc                 ó¢   •— t         ‰| �  «        |j                  | _        t        |«      | _        t        |«      | _        t        «       | _        y ©N)	r6   r7   r+   rz   rS   r¼   ÚoutputÚsetÚpruned_headsrR   s     €rV   r7   zIBertAttention.__init__k  s=   ø€ Ü‰ÑÔØ ×+Ñ+ˆŒÜ& vÓ.ˆŒ	Ü% fÓ-ˆŒÜ›EˆÕrW   c                 ó>  — t        |«      dk(  ry t        || j                  j                  | j                  j                  | j
                  «      \  }}t        | j                  j                  |«      | j                  _        t        | j                  j                  |«      | j                  _        t        | j                  j                  |«      | j                  _	        t        | j                  j                  |d¬«      | j                  _        | j                  j                  t        |«      z
  | j                  _        | j                  j                  | j                  j                  z  | j                  _        | j
                  j                  |«      | _        y )Nr   r   ©Údim)Úlenr   rS   rƒ   r‡   rÐ   r   r‰   rŠ   r‹   rÎ   r¿   rˆ   Úunion)rS   ÚheadsÚindexs      rV   Úprune_headszIBertAttention.prune_headsr  s  € Üˆu‹:˜Š?ØÜ7Ø�4—9‘9×0Ñ0°$·)±)×2OÑ2OÐQU×QbÑQbó
‰ˆˆuô
 -¨T¯Y©Y¯_©_¸eÓDˆ�	‰	ŒÜ*¨4¯9©9¯=©=¸%Ó@ˆ�	‰	ŒÜ,¨T¯Y©Y¯_©_¸eÓDˆ�	‰	ŒÜ.¨t¯{©{×/@Ñ/@À%ÈQÔOˆ�‰Ôð )-¯	©	×(EÑ(EÌÈEË
Ñ(Rˆ�	‰	Ô%Ø"&§)¡)×"?Ñ"?À$Ç)Á)×B_ÑB_Ñ"_ˆ�	‰	ÔØ ×-Ñ-×3Ñ3°EÓ:ˆÕrW   c                 ó˜   — | j                  |||||«      \  }}| j                  |d   |d   ||«      \  }}	|f|dd  z   }
|	f|dd  z   }|
|fS )Nr   r   )rS   rÎ   )rS   rŸ   r    r¡   r¢   r£   Úself_outputsÚself_outputs_scaling_factorÚattention_outputÚattention_output_scaling_factorr¸   Úoutputs_scaling_factors               rV   ro   zIBertAttention.forward„  s�   € ð 59·I±IØØ(ØØØó5
Ñ1ˆÐ1ð =A¿K¹KØ˜‰OÐ8¸Ñ;¸]ÐLhó=
Ñ9ÐÐ9ð $Ð%¨°Q°RÐ(8Ñ8ˆØ"AÐ!CÐFaÐbcÐbdÐFeÑ!eÐØÐ.Ð.Ð.rW   rº   )rs   rt   ru   r7   rØ   ro   rw   rx   s   @rV   rË   rË   j  s   ø„ ô"ò;ð, ØØ÷/rW   rË   c                   ó$   ‡ — e Zd Zˆ fd„Zd„ Zˆ xZS )ÚIBertIntermediatec           	      óÌ  •— t         ‰| �  «        |j                  | _        d| _        d| _        d| _        t        |j                  |j                  d| j                  | j
                  | j                  d¬«      | _	        |j                  dk7  rt        d«      ‚t        | j                  |j                  ¬«      | _        t        | j                  | j                  ¬«      | _        y )	Nr%   r(   Tr~   r   z3I-BERT only supports 'gelu' for `config.hidden_act`r‚   r1   )r6   r7   r+   r:   r*   r€   r!   r>   Úintermediate_sizer¿   Ú
hidden_actr…   r   r5   Úintermediate_act_fnr   rN   rR   s     €rV   r7   zIBertIntermediate.__init__œ  s¶   ø€ Ü‰ÑÔØ ×+Ñ+ˆŒØˆŒØˆŒØˆŒÜ Ø×ÑØ×$Ñ$ØØ—‘Ø—]‘]Ø—‘Øô
ˆŒ
ð ×Ñ Ò&ÜÐRÓSÐSÜ#*°d·o±oÐU[×UiÑUiÔ#jˆÔ Ü!)¨$¯,©,À4Ç?Á?Ô!SˆÕrW   c                 óˆ   — | j                  ||«      \  }}| j                  ||«      \  }}| j                  ||«      \  }}||fS rÍ   )r¿   rä   rN   )rS   rŸ   r    s      rV   ro   zIBertIntermediate.forward°  sa   € Ø6:·j±jÀÐPlÓ6mÑ3ˆÐ3Ø6:×6NÑ6NØÐ7ó7
Ñ3ˆÐ3ð
 7;×6LÑ6LØÐ7ó7
Ñ3ˆÐ3ð Ð:Ð:Ð:rW   rÈ   rx   s   @rV   rà   rà   ›  s   ø„ ôTö(
;rW   rà   c                   ó$   ‡ — e Zd Zˆ fd„Zd„ Zˆ xZS )ÚIBertOutputc           	      óŠ  •— t         ‰| �  «        |j                  | _        d| _        d| _        d| _        d| _        d| _        t        |j                  |j                  d| j                  | j
                  | j                  d¬«      | _        t        | j                  | j                  ¬«      | _        t        |j                  |j                  | j                  | j                  |j                   ¬«      | _        t        | j                  | j                  ¬«      | _        t'        j(                  |j*                  «      | _        y r¾   )r6   r7   r+   r:   r*   r€   r;   r<   r!   râ   r>   r¿   r   rÀ   r   rL   r5   rM   rN   r   rO   rP   rQ   rR   s     €rV   r7   zIBertOutput.__init__¾  sú   ø€ Ü‰ÑÔØ ×+Ñ+ˆŒØˆŒØˆŒØˆŒØˆÔØˆÔä Ø×$Ñ$Ø×ÑØØ—‘Ø—]‘]Ø—‘Øô
ˆŒ
ô % T×%6Ñ%6À4Ç?Á?ÔSˆÔÜ%Ø×ÑØ×%Ñ%Ø×)Ñ)Ø—‘Ø ×.Ñ.ô
ˆŒô "*¨$¯,©,À4Ç?Á?Ô!SˆÔÜ—z‘z &×"<Ñ"<Ó=ˆ�rW   c                 óÚ   — | j                  ||«      \  }}| j                  |«      }| j                  ||||¬«      \  }}| j                  ||«      \  }}| j	                  ||«      \  }}||fS rÂ   rÃ   rÄ   s        rV   ro   zIBertOutput.forwardÛ  rÇ   rW   rÈ   rx   s   @rV   rç   rç   ½  rÉ   rW   rç   c                   ó2   ‡ — e Zd Zˆ fd„Z	 	 	 dd„Zd„ Zˆ xZS )Ú
IBertLayerc                 óX  •— t         ‰| �  «        |j                  | _        d| _        d| _        t        |«      | _        t        |«      | _        t        |«      | _
        t        | j                  | j                  ¬«      | _        t        | j                  | j                  ¬«      | _        y )Nr%   r   r1   )r6   r7   r+   r:   Úseq_len_dimrË   Ú	attentionrà   Úintermediaterç   rÎ   r   Úpre_intermediate_actÚpre_output_actrR   s     €rV   r7   zIBertLayer.__init__í  s}   ø€ Ü‰ÑÔØ ×+Ñ+ˆŒØˆŒàˆÔÜ'¨Ó/ˆŒÜ-¨fÓ5ˆÔÜ! &Ó)ˆŒä$,¨T¯\©\ÀdÇoÁoÔ$VˆÔ!Ü& t§|¡|ÀÇÁÔPˆÕrW   c                 óŒ   — | j                  |||||¬«      \  }}|d   }|d   }	|dd  }
| j                  ||	«      \  }}|f|
z   }
|
S )N)r£   r   r   )rî   Úfeed_forward_chunk)rS   rŸ   r    r¡   r¢   r£   Úself_attention_outputsÚ%self_attention_outputs_scaling_factorrÜ   rÝ   r¸   Úlayer_outputÚlayer_output_scaling_factors                rV   ro   zIBertLayer.forwardú  s†   € ð IMÏÉØØ(ØØØ/ð IWó I
ÑEÐÐ Eð 2°!Ñ4ÐØ*OÐPQÑ*RÐ'à(¨¨Ð,ˆà48×4KÑ4KØÐ=ó5
Ñ1ˆÐ1ð  �/ GÑ+ˆàˆrW   c                 ó¶   — | j                  ||«      \  }}| j                  ||«      \  }}| j                  ||«      \  }}| j                  ||||«      \  }}||fS rÍ   )rð   rï   rñ   rÎ   )rS   rÜ   rÝ   Úintermediate_outputÚ"intermediate_output_scaling_factorrö   r÷   s          rV   ró   zIBertLayer.feed_forward_chunk  s“   € Ø<@×<UÑ<UØÐ=ó=
Ñ9ÐÐ9ð CG×BSÑBSØÐ=óC
Ñ?ÐÐ?ð CG×BUÑBUØÐ!CóC
Ñ?ÐÐ?ð 59·K±KØÐ!CÐEUÐWvó5
Ñ1ˆÐ1ð Ð8Ð8Ð8rW   rº   )rs   rt   ru   r7   ro   ró   rw   rx   s   @rV   rë   rë   ì  s   ø„ ôQð" ØØóö69rW   rë   c                   ó0   ‡ — e Zd Zˆ fd„Z	 	 	 	 	 dd„Zˆ xZS )ÚIBertEncoderc                 óä   •— t         ‰| �  «        || _        |j                  | _        t	        j
                  t        |j                  «      D �cg c]  }t        |«      ‘Œ c}«      | _	        y c c}w rÍ   )
r6   r7   rT   r+   r   Ú
ModuleListÚrangeÚnum_hidden_layersrë   Úlayer)rS   rT   Ú_rU   s      €rV   r7   zIBertEncoder.__init__'  sP   ø€ Ü‰ÑÔØˆŒØ ×+Ñ+ˆŒÜ—]‘]ÄÀf×F^ÑF^Ó@_Ö#`¸1¤J¨vÕ$6Ò#`Óaˆ�
ùÒ#`s   ÁA-c                 ó  — |rdnd }|rdnd }	d }
d }t        | j                  «      D ]3  \  }}|r||fz   }|�||   nd } ||||||«      }|d   }|sŒ+|	|d   fz   }	Œ5 |r||fz   }|st        d„ ||||	|
fD «       «      S t        ||||	|
¬«      S )N© r   r   c              3   ó$   K  — | ]  }|�|–— Œ
 y ­wrÍ   r  )Ú.0Úvs     rV   ú	<genexpr>z'IBertEncoder.forward.<locals>.<genexpr>R  s   è ø€ ò 
àð �=ô ñ
ùs   ‚)Úlast_hidden_stateÚpast_key_valuesrŸ   Ú
attentionsÚcross_attentions)Ú	enumerater  Útupler   )rS   rŸ   r    r¡   r¢   r£   Úoutput_hidden_statesÚreturn_dictÚall_hidden_statesÚall_self_attentionsÚall_cross_attentionsÚnext_decoder_cacheÚiÚlayer_moduleÚlayer_head_maskÚlayer_outputss                   rV   ro   zIBertEncoder.forward-  sÿ   € ñ #7™B¸DÐÙ$5™b¸4ÐØ#ÐØ!Ðä(¨¯©Ó4ò 	P‰OˆAˆ|Ù#Ø$5¸Ð8HÑ$HÐ!à.7Ð.C˜i¨šlÈˆOá(ØØ,ØØØ!óˆMð *¨!Ñ,ˆMÚ Ø&9¸]È1Ñ=MÐ<OÑ&OÑ#ð!	Pñ$  Ø 1°]Ð4DÑ DÐáÜñ 
ð "Ø&Ø%Ø'Ø(ðô
ó 
ð 
ô 9Ø+Ø.Ø+Ø*Ø1ô
ð 	
rW   )NNFFTrÈ   rx   s   @rV   rü   rü   &  s   ø„ ôbð ØØØ"Ø÷6
rW   rü   c                   ó$   ‡ — e Zd Zˆ fd„Zd„ Zˆ xZS )ÚIBertPoolerc                 óÔ   •— t         ‰| �  «        |j                  | _        t        j                  |j
                  |j
                  «      | _        t        j                  «       | _        y rÍ   )	r6   r7   r+   r   ÚLinearr>   r¿   ÚTanhÚ
activationrR   s     €rV   r7   zIBertPooler.__init__g  sF   ø€ Ü‰ÑÔØ ×+Ñ+ˆŒÜ—Y‘Y˜v×1Ñ1°6×3EÑ3EÓFˆŒ
ÜŸ'™'›)ˆ�rW   c                 ó\   — |d d …df   }| j                  |«      }| j                  |«      }|S ©Nr   )r¿   r  )rS   rŸ   Úfirst_token_tensorÚpooled_outputs       rV   ro   zIBertPooler.forwardm  s6   € ð +ª1¨a¨4Ñ0ÐØŸ
™
Ð#5Ó6ˆØŸ™¨Ó6ˆØÐrW   rÈ   rx   s   @rV   r  r  f  s   ø„ ô$örW   r  c                   ó&   — e Zd ZdZeZdZd„ Zdd„Zy)ÚIBertPreTrainedModelz†
    An abstract class to handle weights initialization and a simple interface for downloading and loading pretrained
    models.
    Úibertc                 ó�  — t        |t        t        j                  f«      rm|j                  j
                  j                  d| j                  j                  ¬«       |j                  �%|j                  j
                  j                  «        yyt        |t        t        j                  f«      rz|j                  j
                  j                  d| j                  j                  ¬«       |j                  �2|j                  j
                  |j                     j                  «        yyt        |t        t        j                  f«      rJ|j                  j
                  j                  «        |j                  j
                  j!                  d«       yt        |t"        «      r%|j                  j
                  j                  «        yy)zInitialize the weightsg        )ÚmeanÚstdNg      ð?)Ú
isinstancer!   r   r  ÚweightÚdataÚnormal_rT   Úinitializer_ranger   Úzero_r    Ú	Embeddingr)   r   rM   Úfill_ÚIBertLMHead)rS   Úmodules     rV   Ú_init_weightsz"IBertPreTrainedModel._init_weights  s5  € ä�fœ{¬B¯I©IÐ6Ô7ð �M‰M×Ñ×&Ñ&¨C°T·[±[×5RÑ5RÐ&ÔSØ�{‰{Ð&Ø—‘× Ñ ×&Ñ&Õ(ð 'ä˜¤´·±Ð >Ô?Ø�M‰M×Ñ×&Ñ&¨C°T·[±[×5RÑ5RÐ&ÔSØ×!Ñ!Ð-Ø—‘×"Ñ" 6×#5Ñ#5Ñ6×<Ñ<Õ>ð .ä˜¤¬r¯|©|Ð <Ô=Ø�K‰K×Ñ×"Ñ"Ô$Ø�M‰M×Ñ×$Ñ$ SÕ)Ü˜¤Ô,Ø�K‰K×Ñ×"Ñ"Õ$ð -rW   Nc                 ó   — t        d«      ‚)Nz6`resize_token_embeddings` is not supported for I-BERT.)ÚNotImplementedError)rS   Únew_num_tokenss     rV   Úresize_token_embeddingsz,IBertPreTrainedModel.resize_token_embeddings‘  s   € Ü!Ð"ZÓ[Ð[rW   rÍ   )	rs   rt   ru   rv   r   Úconfig_classÚbase_model_prefixr3  r7  r  rW   rV   r$  r$  v  s   „ ñð
 €LØÐò%ô$\rW   r$  a?  

    This model inherits from [`PreTrainedModel`]. Check the superclass documentation for the generic methods the
    library implements for all its model (such as downloading or saving, resizing the input embeddings, pruning heads
    etc.)

    This model is also a PyTorch [torch.nn.Module](https://pytorch.org/docs/stable/nn.html#torch.nn.Module) subclass.
    Use it as a regular PyTorch Module and refer to the PyTorch documentation for all matter related to general usage
    and behavior.

    Parameters:
        config ([`IBertConfig`]): Model configuration class with all the parameters of the
            model. Initializing with a config file does not load the weights associated with the model, only the
            configuration. Check out the [`~PreTrainedModel.from_pretrained`] method to load the model weights.
a5
  
    Args:
        input_ids (`torch.LongTensor` of shape `({0})`):
            Indices of input sequence tokens in the vocabulary.

            Indices can be obtained using [`AutoTokenizer`]. See [`PreTrainedTokenizer.encode`] and
            [`PreTrainedTokenizer.__call__`] for details.

            [What are input IDs?](../glossary#input-ids)
        attention_mask (`torch.FloatTensor` of shape `({0})`, *optional*):
            Mask to avoid performing attention on padding token indices. Mask values selected in `[0, 1]`:

            - 1 for tokens that are **not masked**,
            - 0 for tokens that are **masked**.

            [What are attention masks?](../glossary#attention-mask)
        token_type_ids (`torch.LongTensor` of shape `({0})`, *optional*):
            Segment token indices to indicate first and second portions of the inputs. Indices are selected in `[0,
            1]`:

            - 0 corresponds to a *sentence A* token,
            - 1 corresponds to a *sentence B* token.

            [What are token type IDs?](../glossary#token-type-ids)
        position_ids (`torch.LongTensor` of shape `({0})`, *optional*):
            Indices of positions of each input sequence tokens in the position embeddings. Selected in the range `[0,
            config.max_position_embeddings - 1]`.

            [What are position IDs?](../glossary#position-ids)
        head_mask (`torch.FloatTensor` of shape `(num_heads,)` or `(num_layers, num_heads)`, *optional*):
            Mask to nullify selected heads of the self-attention modules. Mask values selected in `[0, 1]`:

            - 1 indicates the head is **not masked**,
            - 0 indicates the head is **masked**.

        inputs_embeds (`torch.FloatTensor` of shape `({0}, hidden_size)`, *optional*):
            Optionally, instead of passing `input_ids` you can choose to directly pass an embedded representation. This
            is useful if you want more control over how to convert `input_ids` indices into associated vectors than the
            model's internal embedding lookup matrix.
        output_attentions (`bool`, *optional*):
            Whether or not to return the attentions tensors of all attention layers. See `attentions` under returned
            tensors for more detail.
        output_hidden_states (`bool`, *optional*):
            Whether or not to return the hidden states of all layers. See `hidden_states` under returned tensors for
            more detail.
        return_dict (`bool`, *optional*):
            Whether or not to return a [`~utils.ModelOutput`] instead of a plain tuple.
z`The bare I-BERT Model transformer outputting raw hidden-states without any specific head on top.c                   óœ  ‡ — e Zd ZdZdˆ fd„	Zd„ Zd„ Zd„ Z ee	j                  d«      «       eeee¬«      	 	 	 	 	 	 	 	 	 ddeej"                     d	eej$                     d
eej"                     deej"                     deej$                     deej$                     dee   dee   dee   deeeej$                     f   fd„«       «       Zˆ xZS )Ú
IBertModela¦  

    The model can behave as an encoder (with only self-attention) as well as a decoder, in which case a layer of
    cross-attention is added between the self-attention layers, following the architecture described in [Attention is
    all you need](https://arxiv.org/abs/1706.03762) by Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit,
    Llion Jones, Aidan N. Gomez, Lukasz Kaiser and Illia Polosukhin.

    c                 óÜ   •— t         ‰| �  |«       || _        |j                  | _        t	        |«      | _        t        |«      | _        |rt        |«      nd | _	        | j                  «        y rÍ   )r6   r7   rT   r+   r#   rl   rü   Úencoderr  ÚpoolerÚ	post_init)rS   rT   Úadd_pooling_layerrU   s      €rV   r7   zIBertModel.__init__å  sX   ø€ Ü‰Ñ˜Ô ØˆŒØ ×+Ñ+ˆŒä)¨&Ó1ˆŒÜ# FÓ+ˆŒá->”k &Ô)ÀDˆŒð 	�‰ÕrW   c                 ó.   — | j                   j                  S rÍ   ©rl   r@   ©rS   s    rV   Úget_input_embeddingszIBertModel.get_input_embeddingsò  s   € Ø�‰×.Ñ.Ð.rW   c                 ó&   — || j                   _        y rÍ   rB  )rS   r‹   s     rV   Úset_input_embeddingszIBertModel.set_input_embeddingsõ  s   € Ø*/ˆ�‰Õ'rW   c                 ó˜   — |j                  «       D ]7  \  }}| j                  j                  |   j                  j	                  |«       Œ9 y)z�
        Prunes heads of the model. heads_to_prune: dict of {layer_num: list of heads to prune in this layer} See base
        class PreTrainedModel
        N)Úitemsr=  r  rî   rØ   )rS   Úheads_to_pruner  rÖ   s       rV   Ú_prune_headszIBertModel._prune_headsø  sE   € ð
 +×0Ñ0Ó2ò 	C‰LˆE�5Ø�L‰L×Ñ˜uÑ%×/Ñ/×;Ñ;¸EÕBñ	CrW   úbatch_size, sequence_length©Ú
checkpointÚoutput_typer8  re   r¡   rf   r,   r¢   rg   r£   r  r  Úreturnc
           	      ó®  — |�|n| j                   j                  }|�|n| j                   j                  }|	�|	n| j                   j                  }	|�|�t	        d«      ‚|�#| j                  ||«       |j                  «       }
n!|�|j                  «       d d }
nt	        d«      ‚|
\  }}|�|j                  n|j                  }|€t        j                  ||f|¬«      }|€&t        j                  |
t        j                  |¬«      }| j                  ||
«      }| j                  || j                   j                  «      }| j                  ||||¬«      \  }}| j!                  |||||||	¬«      }|d   }| j"                  �| j#                  |«      nd }|	s
||f|d	d  z   S t%        |||j&                  |j(                  |j*                  |j,                  ¬
«      S )NzDYou cannot specify both input_ids and inputs_embeds at the same timer-   z5You have to specify either input_ids or inputs_embeds)r[   rY   )re   r,   rf   rg   )r¡   r¢   r£   r  r  r   r   )r	  Úpooler_outputr
  rŸ   r  r  )rT   r£   r  Úuse_return_dictr…   Ú%warn_if_padding_and_no_attention_maskrb   r[   rD   Úonesrc   rd   Úget_extended_attention_maskÚget_head_maskr   rl   r=  r>  r   r
  rŸ   r  r  )rS   re   r¡   rf   r,   r¢   rg   r£   r  r  ri   Ú
batch_sizeÚ
seq_lengthr[   Úextended_attention_maskÚembedding_outputÚembedding_output_scaling_factorÚencoder_outputsÚsequence_outputr"  s                       rV   ro   zIBertModel.forward   s  € ð$ 2CÐ1NÑ-ÐTX×T_ÑT_×TqÑTqÐà$8Ð$DÑ È$Ï+É+×JjÑJjð 	ð &1Ð%<‘kÀ$Ç+Á+×B]ÑB]ˆàÐ  ]Ð%>ÜÐcÓdÐdØÐ"Ø×6Ñ6°yÀ.ÔQØ#Ÿ.™.Ó*‰KØÐ&Ø'×,Ñ,Ó.¨s°Ð3‰KäÐTÓUÐUà!,Ñˆ
�JØ%.Ð%:�×!Ò!À×@TÑ@TˆàÐ!Ü"ŸZ™Z¨*°jÐ)AÈ6ÔRˆNØÐ!Ü"Ÿ[™[¨¼E¿J¹JÈvÔVˆNð 15×0PÑ0PÐQ_ÐalÓ0mÐð ×&Ñ& y°$·+±+×2OÑ2OÓPˆ	à<@¿O¹OØØ%Ø)Ø'ð	 =Ló =
Ñ9ÐÐ9ð Ÿ,™,ØØ+Ø2ØØ/Ø!5Ø#ð 'ó 
ˆð *¨!Ñ,ˆØ8<¿¹Ð8O˜Ÿ™ OÔ4ÐUYˆáØ# ]Ð3°oÀaÀbÐ6IÑIÐIä;Ø-Ø'Ø+×;Ñ;Ø)×7Ñ7Ø&×1Ñ1Ø,×=Ñ=ô
ð 	
rW   )T)	NNNNNNNNN)rs   rt   ru   rv   r7   rD  rF  rJ  r   ÚIBERT_INPUTS_DOCSTRINGÚformatr   Ú_CHECKPOINT_FOR_DOCr   Ú_CONFIG_FOR_DOCr   rD   Ú
LongTensorÚFloatTensorÚboolr   r   ro   rw   rx   s   @rV   r;  r;  ×  sI  ø„ ñ
õò/ò0òCñ +Ð+A×+HÑ+HÐIfÓ+gÓhÙØ&Ø@Ø$ôð 15Ø6:Ø59Ø37Ø15Ø59Ø,0Ø/3Ø&*ñK
à˜E×,Ñ,Ñ-ðK
ð ! ×!2Ñ!2Ñ3ðK
ð ! ×!1Ñ!1Ñ2ð	K
ð
 ˜u×/Ñ/Ñ0ðK
ð ˜E×-Ñ-Ñ.ðK
ð   × 1Ñ 1Ñ2ðK
ð $ D™>ðK
ð ' t™nðK
ð ˜d‘^ðK
ð 
Ð;¸UÀ5×CTÑCTÑ=UÐUÑ	VòK
óó iôK
rW   r;  z4I-BERT Model with a `language modeling` head on top.c                   óº  ‡ — e Zd ZddgZˆ fd„Zd„ Zd„ Z eej                  d«      «       e
eeed¬«      	 	 	 	 	 	 	 	 	 	 dd	eej                      d
eej"                     deej                      deej                      deej"                     deej"                     deej                      dee   dee   dee   deeeej"                     f   fd„«       «       Zˆ xZS )ÚIBertForMaskedLMzlm_head.decoder.biaszlm_head.decoder.weightc                 óˆ   •— t         ‰| �  |«       t        |d¬«      | _        t	        |«      | _        | j                  «        y ©NF)r@  )r6   r7   r;  r%  r1  Úlm_headr?  rR   s     €rV   r7   zIBertForMaskedLM.__init__X  s6   ø€ Ü‰Ñ˜Ô ä ¸%Ô@ˆŒ
Ü" 6Ó*ˆŒð 	�‰ÕrW   c                 ó.   — | j                   j                  S rÍ   )ri  ÚdecoderrC  s    rV   Úget_output_embeddingsz&IBertForMaskedLM.get_output_embeddingsa  s   € Ø�|‰|×#Ñ#Ð#rW   c                 ó\   — || j                   _        |j                  | j                   _        y rÍ   )ri  rk  r   )rS   Únew_embeddingss     rV   Úset_output_embeddingsz&IBertForMaskedLM.set_output_embeddingsd  s    € Ø-ˆ�‰ÔØ*×/Ñ/ˆ�‰ÕrW   rK  z<mask>)rM  rN  r8  Úmaskre   r¡   rf   r,   r¢   rg   Úlabelsr£   r  r  rO  c                 óš  — |
�|
n| j                   j                  }
| j                  ||||||||	|
¬«	      }|d   }| j                  |«      }d}|�Ft	        «       } ||j                  d| j                   j                  «      |j                  d«      «      }|
s|f|dd z   }|�|f|z   S |S t        |||j                  |j                  ¬«      S )a(  
        labels (`torch.LongTensor` of shape `(batch_size, sequence_length)`, *optional*):
            Labels for computing the masked language modeling loss. Indices should be in `[-100, 0, ...,
            config.vocab_size]` (see `input_ids` docstring) Tokens with indices set to `-100` are ignored (masked), the
            loss is only computed for the tokens with labels in `[0, ..., config.vocab_size]`
        kwargs (`Dict[str, any]`, *optional*, defaults to `{}`):
            Used to hide legacy arguments that have been deprecated.
        N©r¡   rf   r,   r¢   rg   r£   r  r  r   r-   r’   ©ÚlossÚlogitsrŸ   r  )
rT   rR  r%  ri  r   r“   r=   r   rŸ   r  )rS   re   r¡   rf   r,   r¢   rg   rq  r£   r  r  r¸   r]  Úprediction_scoresÚmasked_lm_lossÚloss_fctrÎ   s                    rV   ro   zIBertForMaskedLM.forwardh  sú   € ð8 &1Ð%<‘kÀ$Ç+Á+×B]ÑB]ˆà—*‘*ØØ)Ø)Ø%ØØ'Ø/Ø!5Ø#ð ó 

ˆð " !™*ˆØ ŸL™L¨Ó9ÐàˆØÐÜ'Ó)ˆHÙ%Ð&7×&<Ñ&<¸RÀÇÁ×AWÑAWÓ&XÐZ`×ZeÑZeÐfhÓZiÓjˆNáØ'Ð)¨G°A°B¨KÑ7ˆFØ3AÐ3M�^Ð%¨Ñ.ÐYÐSYÐYäØØ$Ø!×/Ñ/Ø×)Ñ)ô	
ð 	
rW   ©
NNNNNNNNNN)rs   rt   ru   Ú_tied_weights_keysr7   rl  ro  r   r^  r_  r   r`  r   ra  r   rD   rb  rc  rd  r   r   ro   rw   rx   s   @rV   rf  rf  T  sX  ø„ à0Ð2JÐKÐôò$ò0ñ +Ð+A×+HÑ+HÐIfÓ+gÓhÙØ&Ø"Ø$Øô	ð 15Ø6:Ø59Ø37Ø15Ø59Ø-1Ø,0Ø/3Ø&*ñ3
à˜E×,Ñ,Ñ-ð3
ð ! ×!2Ñ!2Ñ3ð3
ð ! ×!1Ñ!1Ñ2ð	3
ð
 ˜u×/Ñ/Ñ0ð3
ð ˜E×-Ñ-Ñ.ð3
ð   × 1Ñ 1Ñ2ð3
ð ˜×)Ñ)Ñ*ð3
ð $ D™>ð3
ð ' t™nð3
ð ˜d‘^ð3
ð 
ˆ~˜u U×%6Ñ%6Ñ7Ð7Ñ	8ò3
óó iô3
rW   rf  c                   ó0   ‡ — e Zd ZdZˆ fd„Zd„ Zdd„Zˆ xZS )r1  z)I-BERT Head for masked language modeling.c                 óâ  •— t         ‰| �  «        t        j                  |j                  |j                  «      | _        t        j                  |j                  |j                  ¬«      | _        t        j                  |j                  |j                  «      | _
        t        j                  t        j                  |j                  «      «      | _        | j                  | j                  _        y )N)r3   )r6   r7   r   r  r>   r¿   rM   rL   Ú
layer_normr=   rk  Ú	ParameterrD   rc   r   rR   s     €rV   r7   zIBertLMHead.__init__¨  s—   ø€ Ü‰ÑÔÜ—Y‘Y˜v×1Ñ1°6×3EÑ3EÓFˆŒ
ÜŸ,™, v×'9Ñ'9¸v×?TÑ?TÔUˆŒä—y‘y ×!3Ñ!3°V×5FÑ5FÓGˆŒÜ—L‘L¤§¡¨V×->Ñ->Ó!?Ó@ˆŒ	Ø ŸI™Iˆ�‰ÕrW   c                 ó‚   — | j                  |«      }t        |«      }| j                  |«      }| j                  |«      }|S rÍ   )r¿   r   r~  rk  )rS   ÚfeaturesÚkwargsr•   s       rV   ro   zIBertLMHead.forward±  s;   € Ø�J‰J�xÓ ˆÜ�‹GˆØ�O‰O˜AÓˆð �L‰L˜‹OˆàˆrW   c                 óÌ   — | j                   j                  j                  j                  dk(  r| j                  | j                   _        y | j                   j                  | _        y )NÚmeta)rk  r   r[   ÚtyperC  s    rV   Ú_tie_weightszIBertLMHead._tie_weights»  sC   € à�<‰<×Ñ×#Ñ#×(Ñ(¨FÒ2Ø $§	¡	ˆD�L‰LÕð Ÿ™×)Ñ)ˆD�IrW   )rO  N)rs   rt   ru   rv   r7   ro   r†  rw   rx   s   @rV   r1  r1  ¥  s   ø„ Ù3ô&ò÷*rW   r1  zž
    I-BERT Model transformer with a sequence classification/regression head on top (a linear layer on top of the pooled
    output) e.g. for GLUE tasks.
    c                   ó¤  ‡ — e Zd Zˆ fd„Z eej                  d«      «       eee	e
¬«      	 	 	 	 	 	 	 	 	 	 ddeej                     deej                     deej                     deej                     deej                     d	eej                     d
eej                     dee   dee   dee   dee	eej                     f   fd„«       «       Zˆ xZS )ÚIBertForSequenceClassificationc                 óª   •— t         ‰| �  |«       |j                  | _        t        |d¬«      | _        t        |«      | _        | j                  «        y rh  )r6   r7   Ú
num_labelsr;  r%  ÚIBertClassificationHeadÚ
classifierr?  rR   s     €rV   r7   z'IBertForSequenceClassification.__init__Ì  sC   ø€ Ü‰Ñ˜Ô Ø ×+Ñ+ˆŒä ¸%Ô@ˆŒ
Ü1°&Ó9ˆŒð 	�‰ÕrW   rK  rL  re   r¡   rf   r,   r¢   rg   rq  r£   r  r  rO  c                 ó  — |
�|
n| j                   j                  }
| j                  ||||||||	|
¬«	      }|d   }| j                  |«      }d}|��‡| j                   j                  €�| j
                  dk(  rd| j                   _        nl| j
                  dkD  rL|j                  t        j                  k(  s|j                  t        j                  k(  rd| j                   _        nd| j                   _        | j                   j                  dk(  rIt        «       }| j
                  dk(  r& ||j                  «       |j                  «       «      }nŒ |||«      }n‚| j                   j                  dk(  r=t        «       } ||j                  d| j
                  «      |j                  d«      «      }n,| j                   j                  dk(  rt        «       } |||«      }|
s|f|d	d z   }|�|f|z   S |S t        |||j                   |j"                  ¬
«      S )a�  
        labels (`torch.LongTensor` of shape `(batch_size,)`, *optional*):
            Labels for computing the sequence classification/regression loss. Indices should be in `[0, ...,
            config.num_labels - 1]`. If `config.num_labels == 1` a regression loss is computed (Mean-Square loss), If
            `config.num_labels > 1` a classification loss is computed (Cross-Entropy).
        Nrs  r   r   Ú
regressionÚsingle_label_classificationÚmulti_label_classificationr-   r’   rt  )rT   rR  r%  rŒ  Úproblem_typerŠ  rZ   rD   rd   r†   r	   Úsqueezer   r“   r   r   rŸ   r  ©rS   re   r¡   rf   r,   r¢   rg   rq  r£   r  r  r¸   r]  rv  ru  ry  rÎ   s                    rV   ro   z&IBertForSequenceClassification.forwardÖ  sÚ  € ð2 &1Ð%<‘kÀ$Ç+Á+×B]ÑB]ˆà—*‘*ØØ)Ø)Ø%ØØ'Ø/Ø!5Ø#ð ó 

ˆð " !™*ˆØ—‘ Ó1ˆàˆØÑØ�{‰{×'Ñ'Ð/Ø—?‘? aÒ'Ø/;�D—K‘KÕ,Ø—_‘_ qÒ(¨f¯l©l¼e¿j¹jÒ.HÈFÏLÉLÔ\a×\eÑ\eÒLeØ/L�D—K‘KÕ,à/K�D—K‘KÔ,à�{‰{×'Ñ'¨<Ò7Ü"›9�Ø—?‘? aÒ'Ù# F§N¡NÓ$4°f·n±nÓ6FÓG‘Dá# F¨FÓ3‘DØ—‘×)Ñ)Ð-JÒJÜ+Ó-�Ù §¡¨B°·±Ó @À&Ç+Á+ÈbÃ/ÓR‘Ø—‘×)Ñ)Ð-IÒIÜ,Ó.�Ù ¨Ó/�ÙØ�Y ¨¨ Ñ,ˆFØ)-Ð)9�T�G˜fÑ$ÐE¸vÐEä'ØØØ!×/Ñ/Ø×)Ñ)ô	
ð 	
rW   rz  )rs   rt   ru   r7   r   r^  r_  r   r`  r   ra  r   rD   rb  rc  rd  r   r   ro   rw   rx   s   @rV   rˆ  rˆ  Ä  sM  ø„ ôñ +Ð+A×+HÑ+HÐIfÓ+gÓhÙØ&Ø,Ø$ôð 15Ø6:Ø59Ø37Ø15Ø59Ø-1Ø,0Ø/3Ø&*ñB
à˜E×,Ñ,Ñ-ðB
ð ! ×!2Ñ!2Ñ3ðB
ð ! ×!1Ñ!1Ñ2ð	B
ð
 ˜u×/Ñ/Ñ0ðB
ð ˜E×-Ñ-Ñ.ðB
ð   × 1Ñ 1Ñ2ðB
ð ˜×)Ñ)Ñ*ðB
ð $ D™>ðB
ð ' t™nðB
ð ˜d‘^ðB
ð 
Ð'¨¨u×/@Ñ/@Ñ)AÐAÑ	BòB
óó iôB
rW   rˆ  z§
    I-BERT Model with a multiple choice classification head on top (a linear layer on top of the pooled output and a
    softmax) e.g. for RocStories/SWAG tasks.
    c                   ó¤  ‡ — e Zd Zˆ fd„Z eej                  d«      «       eee	e
¬«      	 	 	 	 	 	 	 	 	 	 ddeej                     deej                     deej                     deej                     deej                     d	eej                     d
eej                     dee   dee   dee   dee	eej                     f   fd„«       «       Zˆ xZS )ÚIBertForMultipleChoicec                 óö   •— t         ‰| �  |«       t        |«      | _        t	        j
                  |j                  «      | _        t	        j                  |j                  d«      | _
        | j                  «        y )Nr   )r6   r7   r;  r%  r   rO   rP   rQ   r  r>   rŒ  r?  rR   s     €rV   r7   zIBertForMultipleChoice.__init__)  sV   ø€ Ü‰Ñ˜Ô ä Ó'ˆŒ
Ü—z‘z &×"<Ñ"<Ó=ˆŒÜŸ)™) F×$6Ñ$6¸Ó:ˆŒð 	�‰ÕrW   z(batch_size, num_choices, sequence_lengthrL  re   rf   r¡   rq  r,   r¢   rg   r£   r  r  rO  c                 óL  — |
�|
n| j                   j                  }
|�|j                  d   n|j                  d   }|�!|j                  d|j	                  d«      «      nd}|�!|j                  d|j	                  d«      «      nd}|�!|j                  d|j	                  d«      «      nd}|�!|j                  d|j	                  d«      «      nd}|�1|j                  d|j	                  d«      |j	                  d«      «      nd}| j                  ||||||||	|
¬«	      }|d   }| j                  |«      }| j                  |«      }|j                  d|«      }d}|�t        «       } |||«      }|
s|f|dd z   }|�|f|z   S |S t        |||j                  |j                  ¬«      S )aJ  
        labels (`torch.LongTensor` of shape `(batch_size,)`, *optional*):
            Labels for computing the multiple choice classification loss. Indices should be in `[0, ...,
            num_choices-1]` where `num_choices` is the size of the second dimension of the input tensors. (See
            `input_ids` above)
        Nr   r-   r™   )r,   rf   r¡   r¢   rg   r£   r  r  r’   rt  )rT   rR  Úshaper“   rb   r%  rQ   rŒ  r   r   rŸ   r  )rS   re   rf   r¡   rq  r,   r¢   rg   r£   r  r  Únum_choicesÚflat_input_idsÚflat_position_idsÚflat_token_type_idsÚflat_attention_maskÚflat_inputs_embedsr¸   r"  rv  Úreshaped_logitsru  ry  rÎ   s                           rV   ro   zIBertForMultipleChoice.forward3  sà  € ð2 &1Ð%<‘kÀ$Ç+Á+×B]ÑB]ˆØ,5Ð,A�i—o‘o aÒ(À}×GZÑGZÐ[\ÑG]ˆàCLÐCX˜Ÿ™¨¨I¯N©N¸2Ó,>Ô?Ð^bˆØLXÐLd˜L×-Ñ-¨b°,×2CÑ2CÀBÓ2GÔHÐjnÐØR`ÐRl˜n×1Ñ1°"°n×6IÑ6IÈ"Ó6MÔNÐrvÐØR`ÐRl˜n×1Ñ1°"°n×6IÑ6IÈ"Ó6MÔNÐrvÐð Ð(ð ×Ñ˜r =×#5Ñ#5°bÓ#9¸=×;MÑ;MÈbÓ;QÔRàð 	ð —*‘*ØØ*Ø.Ø.ØØ,Ø/Ø!5Ø#ð ó 

ˆð   ™
ˆàŸ™ ]Ó3ˆØ—‘ Ó/ˆØ Ÿ+™+ b¨+Ó6ˆàˆØÐÜ'Ó)ˆHÙ˜O¨VÓ4ˆDáØ%Ð'¨'°!°"¨+Ñ5ˆFØ)-Ð)9�T�G˜fÑ$ÐE¸vÐEä(ØØ"Ø!×/Ñ/Ø×)Ñ)ô	
ð 	
rW   rz  )rs   rt   ru   r7   r   r^  r_  r   r`  r   ra  r   rD   rb  rc  rd  r   r   ro   rw   rx   s   @rV   r•  r•  !  s@  ø„ ôñ +Ð+A×+HÑ+HÐIsÓ+tÓuÙØ&Ø-Ø$ôð 15Ø59Ø6:Ø-1Ø37Ø15Ø59Ø,0Ø/3Ø&*ñ?
à˜E×,Ñ,Ñ-ð?
ð ! ×!1Ñ!1Ñ2ð?
ð ! ×!2Ñ!2Ñ3ð	?
ð
 ˜×)Ñ)Ñ*ð?
ð ˜u×/Ñ/Ñ0ð?
ð ˜E×-Ñ-Ñ.ð?
ð   × 1Ñ 1Ñ2ð?
ð $ D™>ð?
ð ' t™nð?
ð ˜d‘^ð?
ð 
Ð(¨%°×0AÑ0AÑ*BÐBÑ	Cò?
óó vô?
rW   r•  z¥
    I-BERT Model with a token classification head on top (a linear layer on top of the hidden-states output) e.g. for
    Named-Entity-Recognition (NER) tasks.
    c                   ó¤  ‡ — e Zd Zˆ fd„Z eej                  d«      «       eee	e
¬«      	 	 	 	 	 	 	 	 	 	 ddeej                     deej                     deej                     deej                     deej                     d	eej                     d
eej                     dee   dee   dee   dee	eej                     f   fd„«       «       Zˆ xZS )ÚIBertForTokenClassificationc                 ó0  •— t         ‰| �  |«       |j                  | _        t        |d¬«      | _        t        j                  |j                  «      | _        t        j                  |j                  |j                  «      | _        | j                  «        y rh  )r6   r7   rŠ  r;  r%  r   rO   rP   rQ   r  r>   rŒ  r?  rR   s     €rV   r7   z$IBertForTokenClassification.__init__ƒ  sk   ø€ Ü‰Ñ˜Ô Ø ×+Ñ+ˆŒä ¸%Ô@ˆŒ
Ü—z‘z &×"<Ñ"<Ó=ˆŒÜŸ)™) F×$6Ñ$6¸×8IÑ8IÓJˆŒð 	�‰ÕrW   rK  rL  re   r¡   rf   r,   r¢   rg   rq  r£   r  r  rO  c                 ó¨  — |
�|
n| j                   j                  }
| j                  ||||||||	|
¬«	      }|d   }| j                  |«      }| j	                  |«      }d}|�<t        «       } ||j                  d| j                  «      |j                  d«      «      }|
s|f|dd z   }|�|f|z   S |S t        |||j                  |j                  ¬«      S )zÛ
        labels (`torch.LongTensor` of shape `(batch_size, sequence_length)`, *optional*):
            Labels for computing the token classification loss. Indices should be in `[0, ..., config.num_labels - 1]`.
        Nrs  r   r-   r’   rt  )rT   rR  r%  rQ   rŒ  r   r“   rŠ  r   rŸ   r  r“  s                    rV   ro   z#IBertForTokenClassification.forwardŽ  sö   € ð. &1Ð%<‘kÀ$Ç+Á+×B]ÑB]ˆà—*‘*ØØ)Ø)Ø%ØØ'Ø/Ø!5Ø#ð ó 

ˆð " !™*ˆàŸ,™, Ó7ˆØ—‘ Ó1ˆàˆØÐÜ'Ó)ˆHÙ˜FŸK™K¨¨D¯O©OÓ<¸f¿k¹kÈ"»oÓNˆDáØ�Y ¨¨ Ñ,ˆFØ)-Ð)9�T�G˜fÑ$ÐE¸vÐEä$ØØØ!×/Ñ/Ø×)Ñ)ô	
ð 	
rW   rz  )rs   rt   ru   r7   r   r^  r_  r   r`  r   ra  r   rD   rb  rc  rd  r   r   ro   rw   rx   s   @rV   r¡  r¡  {  s@  ø„ ô	ñ +Ð+A×+HÑ+HÐIfÓ+gÓhÙØ&Ø)Ø$ôð 15Ø6:Ø59Ø37Ø15Ø59Ø-1Ø,0Ø/3Ø&*ñ2
à˜E×,Ñ,Ñ-ð2
ð ! ×!2Ñ!2Ñ3ð2
ð ! ×!1Ñ!1Ñ2ð	2
ð
 ˜u×/Ñ/Ñ0ð2
ð ˜E×-Ñ-Ñ.ð2
ð   × 1Ñ 1Ñ2ð2
ð ˜×)Ñ)Ñ*ð2
ð $ D™>ð2
ð ' t™nð2
ð ˜d‘^ð2
ð 
Ð$ e¨E×,=Ñ,=Ñ&>Ð>Ñ	?ò2
óó iô2
rW   r¡  c                   ó(   ‡ — e Zd ZdZˆ fd„Zd„ Zˆ xZS )r‹  z-Head for sentence-level classification tasks.c                 ó&  •— t         ‰| �  «        t        j                  |j                  |j                  «      | _        t        j                  |j                  «      | _        t        j                  |j                  |j                  «      | _
        y rÍ   )r6   r7   r   r  r>   r¿   rO   rP   rQ   rŠ  Úout_projrR   s     €rV   r7   z IBertClassificationHead.__init__Ì  s`   ø€ Ü‰ÑÔÜ—Y‘Y˜v×1Ñ1°6×3EÑ3EÓFˆŒ
Ü—z‘z &×"<Ñ"<Ó=ˆŒÜŸ	™	 &×"4Ñ"4°f×6GÑ6GÓHˆ�rW   c                 óÐ   — |d d …dd d …f   }| j                  |«      }| j                  |«      }t        j                  |«      }| j                  |«      }| j	                  |«      }|S r   )rQ   r¿   rD   Útanhr¦  )rS   r�  r‚  rŸ   s       rV   ro   zIBertClassificationHead.forwardÒ  s^   € Ø ¢ A¢q Ñ)ˆØŸ™ ]Ó3ˆØŸ
™
 =Ó1ˆÜŸ
™
 =Ó1ˆØŸ™ ]Ó3ˆØŸ™ mÓ4ˆØÐrW   )rs   rt   ru   rv   r7   ro   rw   rx   s   @rV   r‹  r‹  É  s   ø„ Ù7ôIörW   r‹  zß
    I-BERT Model with a span classification head on top for extractive question-answering tasks like SQuAD (a linear
    layers on top of the hidden-states output to compute `span start logits` and `span end logits`).
    c                   óÄ  ‡ — e Zd Zˆ fd„Z eej                  d«      «       eee	e
¬«      	 	 	 	 	 	 	 	 	 	 	 ddeej                     deej                     deej                     deej                     deej                     d	eej                     d
eej                     deej                     dee   dee   dee   dee	eej                     f   fd„«       «       Zˆ xZS )ÚIBertForQuestionAnsweringc                 óè   •— t         ‰| �  |«       |j                  | _        t        |d¬«      | _        t        j                  |j                  |j                  «      | _        | j                  «        y rh  )
r6   r7   rŠ  r;  r%  r   r  r>   Ú
qa_outputsr?  rR   s     €rV   r7   z"IBertForQuestionAnswering.__init__ä  sU   ø€ Ü‰Ñ˜Ô Ø ×+Ñ+ˆŒä ¸%Ô@ˆŒ
ÜŸ)™) F×$6Ñ$6¸×8IÑ8IÓJˆŒð 	�‰ÕrW   rK  rL  re   r¡   rf   r,   r¢   rg   Ústart_positionsÚend_positionsr£   r  r  rO  c                 ó(  — |�|n| j                   j                  }| j                  |||||||	|
|¬«	      }|d   }| j                  |«      }|j	                  dd¬«      \  }}|j                  d«      j                  «       }|j                  d«      j                  «       }d}|�·|�µt        |j                  «       «      dkD  r|j                  d«      }t        |j                  «       «      dkD  r|j                  d«      }|j                  d«      }|j                  d|«      }|j                  d|«      }t        |¬«      } |||«      } |||«      }||z   dz  }|s||f|dd z   }|�|f|z   S |S t        ||||j                  |j                  ¬	«      S )
a  
        start_positions (`torch.LongTensor` of shape `(batch_size,)`, *optional*):
            Labels for position (index) of the start of the labelled span for computing the token classification loss.
            Positions are clamped to the length of the sequence (`sequence_length`). Position outside of the sequence
            are not taken into account for computing the loss.
        end_positions (`torch.LongTensor` of shape `(batch_size,)`, *optional*):
            Labels for position (index) of the end of the labelled span for computing the token classification loss.
            Positions are clamped to the length of the sequence (`sequence_length`). Position outside of the sequence
            are not taken into account for computing the loss.
        Nrs  r   r   r-   rÒ   )Úignore_indexr’   )ru  Ústart_logitsÚ
end_logitsrŸ   r  )rT   rR  r%  r¬  Úsplitr’  rž   rÔ   rb   Úclampr   r   rŸ   r  )rS   re   r¡   rf   r,   r¢   rg   r­  r®  r£   r  r  r¸   r]  rv  r±  r²  Ú
total_lossÚignored_indexry  Ú
start_lossÚend_lossrÎ   s                          rV   ro   z!IBertForQuestionAnswering.forwardî  sÂ  € ð< &1Ð%<‘kÀ$Ç+Á+×B]ÑB]ˆà—*‘*ØØ)Ø)Ø%ØØ'Ø/Ø!5Ø#ð ó 

ˆð " !™*ˆà—‘ Ó1ˆØ#)§<¡<°°r <Ó#:Ñ ˆ�jØ#×+Ñ+¨BÓ/×:Ñ:Ó<ˆØ×'Ñ'¨Ó+×6Ñ6Ó8ˆ
àˆ
ØÐ&¨=Ð+Dä�?×'Ñ'Ó)Ó*¨QÒ.Ø"1×"9Ñ"9¸"Ó"=�Ü�=×%Ñ%Ó'Ó(¨1Ò,Ø -× 5Ñ 5°bÓ 9�à(×-Ñ-¨aÓ0ˆMØ-×3Ñ3°A°}ÓEˆOØ)×/Ñ/°°=ÓAˆMä'°]ÔCˆHÙ! ,°Ó@ˆJÙ 
¨MÓ:ˆHØ$ xÑ/°1Ñ4ˆJáØ" JÐ/°'¸!¸"°+Ñ=ˆFØ/9Ð/E�Z�M FÑ*ÐQÈ6ÐQä+ØØ%Ø!Ø!×/Ñ/Ø×)Ñ)ô
ð 	
rW   )NNNNNNNNNNN)rs   rt   ru   r7   r   r^  r_  r   r`  r   ra  r   rD   rb  rc  rd  r   r   ro   rw   rx   s   @rV   rª  rª  Ü  sf  ø„ ôñ +Ð+A×+HÑ+HÐIfÓ+gÓhÙØ&Ø0Ø$ôð 15Ø6:Ø59Ø37Ø15Ø59Ø6:Ø48Ø,0Ø/3Ø&*ñH
à˜E×,Ñ,Ñ-ðH
ð ! ×!2Ñ!2Ñ3ðH
ð ! ×!1Ñ!1Ñ2ð	H
ð
 ˜u×/Ñ/Ñ0ðH
ð ˜E×-Ñ-Ñ.ðH
ð   × 1Ñ 1Ñ2ðH
ð " %×"2Ñ"2Ñ3ðH
ð   × 0Ñ 0Ñ1ðH
ð $ D™>ðH
ð ' t™nðH
ð ˜d‘^ðH
ð 
Ð+¨U°5×3DÑ3DÑ-EÐEÑ	FòH
óó iôH
rW   rª  c                 ó¾   — | j                  |«      j                  «       }t        j                  |d¬«      j	                  |«      |z   |z  }|j                  «       |z   S )aM  
    Replace non-padding symbols with their position numbers. Position numbers begin at padding_idx+1. Padding symbols
    are ignored. This is modified from fairseq's *utils.make_positions*.

    Args:
    input_ids (`torch.LongTensor`):
           Indices of input sequence tokens in the vocabulary.

    Returns: torch.Tensor
    r   rÒ   )Úner†   rD   ÚcumsumÚtype_asrd   )re   r)   rh   rp  Úincremental_indicess        rV   r_   r_   ?  sW   € ð �<‰<˜Ó$×(Ñ(Ó*€DÜ Ÿ<™<¨°!Ô4×<Ñ<¸TÓBÐE[Ñ[Ð_cÑcÐØ×#Ñ#Ó%¨Ñ3Ð3rW   )rf  r•  rª  rˆ  r¡  r;  r$  )r   )Frv   rœ   Útypingr   r   r   rD   Útorch.utils.checkpointr   Útorch.nnr   r   r	   Úactivationsr   Úmodeling_outputsr   r   r   r   r   r   r   Úmodeling_utilsr   Úpytorch_utilsr   r   Úutilsr   r   r   r   Úconfiguration_ibertr   Úquant_modulesr   r   r   r   r    r!   Ú
get_loggerrs   Úloggerr`  ra  ÚModuler#   rz   r¼   rË   rà   rç   rë   rü   r  r$  ÚIBERT_START_DOCSTRINGr^  r;  rf  r1  rˆ  r•  r¡  r‹  rª  r_   Ú__all__r  rW   rV   ú<module>rÍ     sb  ðñ$ ã ß )Ñ )ã Û Ý ß AÑ Aå ÷÷ ñ õ .ß Qß uÓ uÝ ,ß c× cð 
ˆ×	Ñ	˜HÓ	%€à3Ð Ø€ôw=�b—i‘iô w=ôtK.˜Ÿ™ô K.ô\,;�b—i‘iô ,;ô^./�R—Y‘Yô ./ôb;˜Ÿ	™	ô ;ôD,;�"—)‘)ô ,;ô^79�—‘ô 79ôt=
�2—9‘9ô =
ô@�"—)‘)ô ô \˜?ô \ð>Ð ð /Ð ñd ØfØóôv
Ð%ó v
ó	ðv
ñr ÐPÐRgÓhôM
Ð+ó M
ó iðM
ô`*�"—)‘)ô *ñ> ðð óôS
Ð%9ó S
óðS
ñl ðð óôP
Ð1ó P
óðP
ñf ðð óôD
Ð"6ó D
óðD
ôN˜bŸi™iô ñ& ðð óôY
Ð 4ó Y
óðY
óx4ò"�rW   