Fix aria tests (#39879)
* fix aria tests * awful bug * fix copies * fix tests * fix style * revert this
This commit is contained in:
committed by
GitHub
parent
6e4a9a5b43
commit
2589a52c5c
@@ -137,8 +137,8 @@ class AriaVisionText2TextModelTester:
|
||||
|
||||
def get_config(self):
|
||||
return AriaConfig(
|
||||
text_config=self.text_config,
|
||||
vision_config=self.vision_config,
|
||||
text_config=self.text_config.to_dict(),
|
||||
vision_config=self.vision_config.to_dict(),
|
||||
ignore_index=self.ignore_index,
|
||||
image_token_index=self.image_token_index,
|
||||
projector_hidden_act=self.projector_hidden_act,
|
||||
|
||||
Reference in New Issue
Block a user