Spaces:
Paused
Paused
Update chatterbox/src/chatterbox/models/t3/inference/t3_hf_backend.py
Browse files105 unmodified lines106107108109110111112105 unmodified lines# assert inputs_embeds.size(0) == 1 # (disabled for CFG)# NOTE: hallucination handler may modify logits to force emit an EOS tokenlogits = self.alignment_stream_analyzer.step(logits)return CausalLMOutputWithCrossAttentions(logits=logits,105 unmodified lines106107108109110111112105 unmodified lines# assert inputs_embeds.size(0) == 1 # (disabled for CFG)# NOTE: hallucination handler may modify logits to force emit an EOS token# logits = self.alignment_stream_analyzer.step(logits)return CausalLMOutputWithCrossAttentions(logits=logits,
chatterbox/src/chatterbox/models/t3/inference/t3_hf_backend.py+1-1