
    <h0                     :   S SK Jr  SSKJrJrJrJrJr  / SQ/ SQS.r \" 5       (       d  \" 5       e / SQ\S'   / S	Q\S
'   / SQ\S'   / SQ\S'   / SQ\S'   S/\S'   / SQ\S'   / SQ\S'    \" 5       (       d  \" 5       e / SQ\S'   / SQ\S'    \" 5       (       d  \" 5       e / SQ\S'   / SQ\S'   \(       Gav  SSK	J
r
JrJrJrJrJr  SSKJrJrJrJr   \" 5       (       d  \" 5       e SSKJrJrJrJr  SS	KJrJrJrJr  SSKJ r J!r!J"r"J#r#  SS K$J%r%  SS!K&J'r'J(r(J)r)J*r*J+r+J,r,J-r-J.r.J/r/J0r0J1r1J2r2J3r3J4r4J5r5J6r6J7r7J8r8J9r9J:r:J;r;J<r<J=r=J>r>J?r?J@r@JArAJBrBJCrCJDrDJErEJFrF  SS"KGJHrHJIrIJJrJJKrKJLrLJMrMJNrNJOrO  SS#KJPrPJQrQJRrRJSrSJTrTJUrUJVrVJWrWJXrXJYrYJZrZJ[r[J\r\J]r]J^r^  SS$K_J`r`JaraJbrbJcrcJdrd   \" 5       (       d  \" 5       e SSKeJfrfJgrgJhrhJiriJjrjJkrkJlrlJmrmJnrnJoroJprpJqrqJrrrJsrsJtrt  SS%KuJvrvJwrwJxrxJyryJzrzJ{r{J|r|J}r}J~r~JrJr   \" 5       (       d  \" 5       e SS&KJrJrJrJrJrJrJrJrJrJrJrJrJrJr  SS'KJrJrJrJr  g(S S(Kr\" \\" 5       S)   \\S*9\GR2                  \'   g(! \ a     GNf = f! \ a     GNf = f! \ a     GNf = f! \ a     Nf = f! \ a     Nf = f! \ a     g(f = f)+    )TYPE_CHECKING   )OptionalDependencyNotAvailable_LazyModuleis_flax_availableis_tf_availableis_torch_available)BaseWatermarkingConfigCompileConfigGenerationConfigGenerationModeSynthIDTextWatermarkingConfigWatermarkingConfig)AsyncTextIteratorStreamerBaseStreamerTextIteratorStreamerTextStreamer)configuration_utils	streamers)
ConstraintConstraintListStateDisjunctiveConstraintPhrasalConstraintbeam_constraints)BeamHypotheses
BeamScorerBeamSearchScorerConstrainedBeamSearchScorerbeam_search)AssistedCandidateGeneratorCandidateGeneratorEarlyExitCandidateGeneratorPromptLookupCandidateGeneratorcandidate_generator) #AlternatingCodebooksLogitsProcessor%ClassifierFreeGuidanceLogitsProcessor#EncoderNoRepeatNGramLogitsProcessor'EncoderRepetitionPenaltyLogitsProcessorEpsilonLogitsWarperEtaLogitsWarperExponentialDecayLengthPenaltyForcedBOSTokenLogitsProcessorForcedEOSTokenLogitsProcessorHammingDiversityLogitsProcessorInfNanRemoveLogitsProcessorLogitNormalizationLogitsProcessorLogitsProcessorListMinLengthLogitsProcessor!MinNewTokensLengthLogitsProcessorMinPLogitsWarperNoBadWordsLogitsProcessorNoRepeatNGramLogitsProcessor PrefixConstrainedLogitsProcessor RepetitionPenaltyLogitsProcessorSequenceBiasLogitsProcessorSuppressTokensLogitsProcessor$SuppressTokensAtBeginLogitsProcessor#SynthIDTextWatermarkLogitsProcessorTemperatureLogitsWarperTopKLogitsWarperTopPLogitsWarperTypicalLogitsWarper.UnbatchedClassifierFreeGuidanceLogitsProcessorWhisperTimeStampLogitsProcessorWatermarkLogitsProcessorlogits_process)MaxLengthCriteriaMaxTimeCriteriaConfidenceCriteriaEosTokenCriteriaStoppingCriteriaStoppingCriteriaListvalidate_stopping_criteriaStopStringCriteriastopping_criteriaContinuousMixincontinuous_batching)GenerationMixin GreedySearchEncoderDecoderOutputGreedySearchDecoderOnlyOutputSampleEncoderDecoderOutputSampleDecoderOnlyOutputBeamSearchEncoderDecoderOutputBeamSearchDecoderOnlyOutputBeamSampleEncoderDecoderOutputBeamSampleDecoderOnlyOutput%ContrastiveSearchEncoderDecoderOutput"ContrastiveSearchDecoderOnlyOutputGenerateBeamDecoderOnlyOutput GenerateBeamEncoderDecoderOutputGenerateDecoderOnlyOutputGenerateEncoderDecoderOutpututils)WatermarkDetectorWatermarkDetectorOutputBayesianDetectorModelBayesianDetectorConfigSynthIDTextWatermarkDetectorwatermarking)TFForcedBOSTokenLogitsProcessorTFForcedEOSTokenLogitsProcessorTFForceTokensLogitsProcessorTFLogitsProcessorTFLogitsProcessorListTFLogitsWarperTFMinLengthLogitsProcessorTFNoBadWordsLogitsProcessorTFNoRepeatNGramLogitsProcessor"TFRepetitionPenaltyLogitsProcessor&TFSuppressTokensAtBeginLogitsProcessorTFSuppressTokensLogitsProcessorTFTemperatureLogitsWarperTFTopKLogitsWarperTFTopPLogitsWarpertf_logits_process)TFGenerationMixinTFGreedySearchDecoderOnlyOutput"TFGreedySearchEncoderDecoderOutputTFSampleEncoderDecoderOutputTFSampleDecoderOnlyOutput TFBeamSearchEncoderDecoderOutputTFBeamSearchDecoderOnlyOutput TFBeamSampleEncoderDecoderOutputTFBeamSampleDecoderOnlyOutput'TFContrastiveSearchEncoderDecoderOutput$TFContrastiveSearchDecoderOnlyOutputtf_utils)!FlaxForcedBOSTokenLogitsProcessor!FlaxForcedEOSTokenLogitsProcessorFlaxForceTokensLogitsProcessorFlaxLogitsProcessorFlaxLogitsProcessorListFlaxLogitsWarperFlaxMinLengthLogitsProcessor(FlaxSuppressTokensAtBeginLogitsProcessor!FlaxSuppressTokensLogitsProcessorFlaxTemperatureLogitsWarperFlaxTopKLogitsWarperFlaxTopPLogitsWarper#FlaxWhisperTimeStampLogitsProcessor FlaxNoRepeatNGramLogitsProcessorflax_logits_process)FlaxGenerationMixinFlaxGreedySearchOutputFlaxSampleOutputFlaxBeamSearchOutput
flax_utils   )rO   ) r%   r&   r'   r(   r)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r7   r8   r9   r:   r<   r;   r=   r>   r?   r@   rA   rB   rD   rC   )rH   rI   rF   rG   rJ   rK   rM   rL   )rY   rX   rW   rV   r[   rZ   r\   r]   r^   r_   rQ   rS   rR   rU   rT   )rd   rc   re   ra   rb   )r   r~   r}   r|   r   r   rw   rx   ry   r{   rz   )r   r   r   r   r   r   r   r   r   r   r   r   r   r   )r   r   r   r   N__file__)module_spec)typingr   r`   r   r   r   r   r	   _import_structurer   r
   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r$   r    r!   r"   r#   rP   rO   rE   r%   r&   r'   r(   r)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r7   r8   r9   r:   r<   r;   r=   r>   r?   r@   rA   rB   rD   rC   rN   rH   rI   rF   rG   rJ   rK   rM   rL   rY   rX   rW   rV   r[   rZ   r\   r]   r^   r_   rQ   rS   rR   rU   rT   rf   rd   rc   re   ra   rb   rv   rg   rh   ri   rj   rk   rl   rm   rn   ro   rp   rq   rr   rs   rt   ru   r   r   r~   r}   r|   r   r   rw   rx   ry   r{   rz   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   sys__name__globals__spec__modules     X/var/www/html/shao/venv/lib/python3.13/site-packages/transformers/generation/__init__.py<module>r      s   ! w w g
 ^,..  
-()(m$0+,!+&'D	.)* 	0+,"g")n%#,.. 
.)*"%j!,.. 
0+, 'l#   gfR
!##022 $
 	pojj	
 	
 	9!	
 !	
 !	
 !	
 !	
 !	
 !	
 !	
 !	
D		
 		
 		
	
 	
 	
 	
 	
"	
 	
#
  022 !
	
 	
 	
 	
 	
"	
 	
 	
 	
t ""022 #
	
 	
 	
 	
  	ts'')J2GIZhpqCKK{	 & 		@ & 		J & 		P * h * J * sk   I +I I, I9 J -J III)(I),I65I69JJJJJJ