transformers/tests/models/clip
Suraj Patil 7f74433814
[CLIP] allow loading projection layer in vision and text model (#18962)
* allow loading projection in text and vision model

* begin tests

* finish test for CLIPTextModelTest

* style

* add slow tests

* add new classes for projection heads

* remove with_projection

* add in init

* add in doc

* fix tests

* fix some more tests

* fix copies

* fix docs

* remove leftover from fix-copies

* add the head models in IGNORE_NON_AUTO_CONFIGURED

* fix docstr

* fix tests

* Apply suggestions from code review

Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>

* add docstr for models

Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
2022-11-15 17:50:07 +01:00
..
__init__.py Move test model folders (#17034) 2022-05-03 14:42:02 +02:00
test_feature_extraction_clip.py Add Image Processors (#19796) 2022-11-02 11:57:36 +00:00
test_modeling_clip.py [CLIP] allow loading projection layer in vision and text model (#18962) 2022-11-15 17:50:07 +01:00
test_modeling_flax_clip.py Move test model folders (#17034) 2022-05-03 14:42:02 +02:00
test_modeling_tf_clip.py Update serving code to enable saved_model=True (#18153) 2022-07-22 18:05:38 +01:00
test_processor_clip.py [processor] Add 'model input names' property (#20117) 2022-11-10 19:29:20 +00:00
test_tokenization_clip.py Move test model folders (#17034) 2022-05-03 14:42:02 +02:00