transformers/utils
Suraj Patil 8719afa1ad
CLIP (#11445)
* begin second draft

* fix import, style

* add loss

* fix embeds, logits_scale, and projection

* fix imports

* add conversion script

* add feature_extractor and processor

* style

* add tests for tokenizer, extractor and processor

* add vision model tests

* add weight init

* add more tests

* fix save_load  test

* model output, dosstrings, causal mask

* config doc

* add clip model tests

* return dict

* bigin integration test

* add integration tests

* fix-copies

* fix init

* Clip => CLIP

* fix module name

* docs

* fix doc

* output_dim => projection_dim

* fix checkpoint names

* remoe fast tokenizer file

* fix conversion script

* fix tests, quality

* put causal mask on device

* Apply suggestions from code review

Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>

* fix attribute test

* style

* address sylvains comments

* style

* fix docstrings

* add qucik_gelu in activations, docstrings

* clean-up attention test

* fix act fun

* fix config

* fix torchscript tests

* even batch_size

* remove comment

* fix ouput tu_tuple

* fix save load tests

* fix add tokens test

* add fast tokenizer

* update copyright

* new processor API

* fix docs

* docstrings

* docs

* fix doc

* fix doc

* fix tokenizer

* fix import in doc example

* Apply suggestions from code review

Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>

* check types of config

* valhalla => openai

* load image using url

* fix test

* typo

Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
2021-05-12 13:48:15 +05:30
..
tf_ops Check TF ops for ONNX compliance (#10025) 2021-02-15 07:55:10 -05:00
check_copies.py make style (#11442) 2021-04-26 13:50:34 +02:00
check_dummies.py make style (#11442) 2021-04-26 13:50:34 +02:00
check_inits.py Dummies multi backend (#11100) 2021-04-07 09:56:40 -04:00
check_repo.py CLIP (#11445) 2021-05-12 13:48:15 +05:30
check_table.py make style (#11442) 2021-04-26 13:50:34 +02:00
check_tf_ops.py Check TF ops for ONNX compliance (#10025) 2021-02-15 07:55:10 -05:00
class_mapping_update.py remap MODEL_FOR_QUESTION_ANSWERING_MAPPING classes to names auto-generated file (#10487) 2021-03-03 08:54:00 -08:00
custom_init_isort.py Sort init import (#10801) 2021-03-19 16:17:13 -04:00
download_glue_data.py Enforce string-formatting with f-strings (#10980) 2021-03-31 10:00:27 -04:00
get_modified_files.py a more reliable version of branching point discovery (#9449) 2021-01-07 04:47:50 -05:00
link_tester.py Enforce string-formatting with f-strings (#10980) 2021-03-31 10:00:27 -04:00
notification_service.py Patch notification service 2021-04-30 08:56:18 +02:00
release.py Release utils (#10735) 2021-03-16 08:41:47 -04:00
style_doc.py make style (#11442) 2021-04-26 13:50:34 +02:00