trias702 commited on
Commit
262d402
·
1 Parent(s): 33b2954

set default causal_context=True

Browse files

Signed-off-by: Daniel Egert <degert@nvidia.com>

Files changed (1) hide show
  1. modeling_ministral_dlm.py +1 -1
modeling_ministral_dlm.py CHANGED
@@ -722,7 +722,7 @@ class MinistralDiffEncoderModel(Ministral3PreTrainedModel, GenerationMixin):
722
  )
723
 
724
 
725
- def generate(self, prompt_ids, max_new_tokens, steps, block_length, shift_logits, threshold, causal_context=False, temperature=0):
726
  out_ids, nfe = generate_with_prefix_cache_block_diff(
727
  model=self,
728
  prompt=prompt_ids,
 
722
  )
723
 
724
 
725
+ def generate(self, prompt_ids, max_new_tokens, steps, block_length, shift_logits, threshold, causal_context=True, temperature=0):
726
  out_ids, nfe = generate_with_prefix_cache_block_diff(
727
  model=self,
728
  prompt=prompt_ids,