mirror of
https://github.com/saymrwulf/transformers.git
synced 2026-05-14 20:58:08 +00:00
temp
This commit is contained in:
parent
83d600e5f8
commit
2d4cbba164
1 changed files with 1 additions and 1 deletions
|
|
@ -255,7 +255,7 @@ class Kosmos2_5ModelTester:
|
|||
):
|
||||
model = Kosmos2_5Model(config).to(torch_device).eval()
|
||||
with torch.no_grad():
|
||||
result = model(flattened_patches, input_ids, image_embeds_position_mask, attention_mask)
|
||||
result = model(input_ids, flattened_patches, image_embeds_position_mask, attention_mask)
|
||||
self.parent.assertEqual(
|
||||
result.last_hidden_state.shape,
|
||||
(
|
||||
|
|
|
|||
Loading…
Reference in a new issue