
    bCi20                     2   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ar  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  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.J/r/J0r0J1r1J2r2J3r3J4r4J5r5J6r6J7r7J8r8J9r9J:r:J;r;J<r<J=r=J>r>J?r?J@r@JArAJBrBJCrCJDrD  SS"KEJFrFJGrGJHrHJIrIJJrJJKrKJLrLJMrM  SS#KJNrNJOrOJPrPJQrQJRrRJSrSJTrTJUrUJVrVJWrWJXrXJYrYJZrZJ[r[J\r\  SS$K]J^r^J_r_J`r`JaraJbrb   \" 5       (       d  \" 5       e SSKcJdrdJereJfrfJgrgJhrhJiriJjrjJkrkJlrlJmrmJnrnJoroJprpJqrqJrrr  SS%KsJtrtJuruJvrvJwrwJxrxJyryJzrzJ{r{J|r|J}r}J~r~   \" 5       (       d  \" 5       e SS&KJrJrJrJrJrJrJrJrJrJrJrJrJrJr  SS'KJrJrJrJr  g(S S(Kr\" \\" 5       S)   \\S*9\GR.                  \'   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ConstrainedBeamSearchScorerbeam_search)AssistedCandidateGeneratorCandidateGeneratorEarlyExitCandidateGeneratorPromptLookupCandidateGeneratorcandidate_generator)#AlternatingCodebooksLogitsProcessor%ClassifierFreeGuidanceLogitsProcessor#EncoderNoRepeatNGramLogitsProcessor'EncoderRepetitionPenaltyLogitsProcessorEpsilonLogitsWarperEtaLogitsWarperExponentialDecayLengthPenaltyForcedBOSTokenLogitsProcessorForcedEOSTokenLogitsProcessor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   )rM   )r$   r%   r&   r'   r(   r)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r7   r8   r:   r9   r;   r<   r=   r>   r?   r@   rB   rA   )rF   rG   rD   rE   rH   rI   rK   rJ   )rW   rV   rU   rT   rY   rX   rZ   r[   r\   r]   rO   rQ   rP   rS   rR   )rb   ra   rc   r_   r`   )r}   r|   r{   rz   r   r~   ru   rv   rw   ry   rx   )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"   rN   rM   rC   r$   r%   r&   r'   r(   r)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r7   r8   r:   r9   r;   r<   r=   r>   r?   r@   rB   rA   rL   rF   rG   rD   rE   rH   rI   rK   rJ   rW   rV   rU   rT   rY   rX   rZ   r[   r\   r]   rO   rQ   rP   rS   rR   rd   rb   ra   rc   r_   r`   rt   re   rf   rg   rh   ri   rj   rk   rl   rm   rn   ro   rp   rq   rr   rs   r   r}   r|   r{   rz   r   r~   ru   rv   rw   ry   rx   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     Z/home/james-whalen/.local/lib/python3.13/site-packages/transformers/generation/__init__.py<module>r      s   ! w w g
 \,..  
-()(m$
0+, +&'B	.)* 	0+,"g")n%#,.. 
.)*"%j!,.. 
0+, 'l#   gfQ
!##022 $
 	poXX	
 	
 	9 	
  	
  	
  	
  	
  	
  	
  	
  	
B		
 		
 		
	
 	
 	
 	
 	
"	
 	
#
  022 !
	
 	
 	
 	
 	
"	
 	
 	
 	
t ""022 #
	
 	
 	
 	
  	ts'')J2GIZhpqCKKu	 & 		| & 		J & 		P * f * J * sk   I +I I( I5 J )J III%$I%(I21I25I>=I>J
	J
JJ