[CLAP] Fix few broken things (#21670)
* add `is_longer` * fix docstring * fix config class * fix loss * fix all doctests * fix order * fix last failing tests --------- Co-authored-by: arthur.zucker@gmail.com <arthur.zucker@gmail.com>
This commit is contained in:
@@ -268,7 +268,7 @@ class ClapAudioModelTest(ModelTesterMixin, unittest.TestCase):
|
||||
for model_name in CLAP_PRETRAINED_MODEL_ARCHIVE_LIST[:1]:
|
||||
model = ClapAudioModelWithProjection.from_pretrained(model_name)
|
||||
self.assertIsNotNone(model)
|
||||
self.assertTrue(hasattr(model, "visual_projection"))
|
||||
self.assertTrue(hasattr(model, "audio_projection"))
|
||||
|
||||
|
||||
class ClapTextModelTester:
|
||||
|
||||
Reference in New Issue
Block a user