transformers/docs/source
Crystina 692e61e91a
Flax t5 Encoder (#17784)
* first draft adding Flax-t5-encoder and Flax-mt5-encoder

* imports

* after make fixup

* flax t5 encoder test

* black on test

* make fix-copies

* clean

* all_model_classes -> tuple

* clean test

* is_encoder_decoder=False in t5-enc tester

* remove file docstring before FlaxT5Encoder

* black

* isort

* commit suggestions on src/transformers/models/t5/modeling_flax_t5.py

Co-authored-by: Suraj Patil <surajp815@gmail.com>

* commit suggestions on src/transformers/models/t5/modeling_flax_t5.py

Co-authored-by: Suraj Patil <surajp815@gmail.com>

* Apply suggestions from code review

Co-authored-by: Suraj Patil <surajp815@gmail.com>

* remove _get_encoder_module

* self.decoder_seq_length -> self.encoder_seq_length as t5-enc does not have decoder

* bugfix - self.module_class is class itself, not instance;

* docs for mt5 and t5

* call -> __call__ in t5 doc

* FlaxMT5EncoderModel to TYPE_HINT

* run doc-builder to allow change the files

Co-authored-by: Suraj Patil <surajp815@gmail.com>
2022-06-30 00:49:02 +02:00
..
en Flax t5 Encoder (#17784) 2022-06-30 00:49:02 +02:00
es In group_texts function, drop last block if smaller than block_size (#17908) 2022-06-28 08:34:55 -04:00
it Translation/autoclass (#17615) 2022-06-09 20:56:44 -04:00
pt Added translation of index.mdx to Portuguese Issue #16824 (#17565) 2022-06-17 20:06:05 -04:00
_config.py Use doc builder styler (#16412) 2022-03-28 07:45:18 -04:00