clean spaces
Browse files- modeling_minicpmo.py +1 -1
modeling_minicpmo.py
CHANGED
|
@@ -817,7 +817,7 @@ class MiniCPMO(MiniCPMOPreTrainedModel):
|
|
| 817 |
outputs = self._decode(model_inputs["inputs_embeds"], tokenizer, attention_mask, **kwargs)
|
| 818 |
|
| 819 |
result = self._decode_text(outputs.sequences, tokenizer)
|
| 820 |
-
|
| 821 |
if decode_text is False:
|
| 822 |
return outputs
|
| 823 |
|
|
|
|
| 817 |
outputs = self._decode(model_inputs["inputs_embeds"], tokenizer, attention_mask, **kwargs)
|
| 818 |
|
| 819 |
result = self._decode_text(outputs.sequences, tokenizer)
|
| 820 |
+
|
| 821 |
if decode_text is False:
|
| 822 |
return outputs
|
| 823 |
|