We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 395b0ca commit 4aff6edCopy full SHA for 4aff6ed
tests/openvino/test_seq2seq.py
@@ -846,9 +846,6 @@ def test_generate_utils(self, model_arch):
846
input_audio = self._generate_random_audio_data()
847
question = "Translate this audio to French"
848
inputs = model.preprocess_inputs(**preprocessors, text=question, audio=[input_audio])
849
- # skip the temporal_ids which makes the number of loop inconstant:
850
- # https://huggingface.co/openbmb/MiniCPM-V-4_5/blob/main/resampler.py#L261
851
- inputs.pop("temporal_ids", None)
852
outputs = model.generate(**inputs, max_new_tokens=10)
853
# filter out original prompt becuase it may contains out of tokenizer tokens e.g. in nanollva text separator = -200
854
outputs = outputs[:, inputs["input_ids"].shape[1] :]
0 commit comments