Files
HuggingFace_transformer/docs/source/model_doc
Yih-Dar 2e20c0f34a Make Flax GPT2 working with cross attention (#13008)
* make flax gpt2 working with cross attention

* Remove encoder->decoder projection layer

* A draft (incomplete) for FlaxEncoderDecoderModel

* Add the method from_encoder_decoder_pretrained + the docstrings

* Fix the mistakes of using EncoderDecoderModel

* Fix style

* Add FlaxEncoderDecoderModel to the library

* Fix cyclic imports

* Add FlaxEncoderDecoderModel to modeling_flax_auto.py

* Remove question comments

* add tests for FlaxEncoderDecoderModel

* add flax_encoder_decoder to the lists of ignored entries in check_repo.py

* fix missing required positional arguments

* Remove **kwargs when creating FlaxEncoderDecoderModel in from_encoder_decoder_pretrained()

Also fix generation eos/pad tokens issue

* Fix: Use sequences from the generated_output

* Change a check from assert to raise ValueError

* Fix examples and token ids issues

* Fix missing all_cross_attentions when outputting tuple in modeling_gpt2

* Remove the changes in configuration docstrings.

* allow for bert 2 gpt2

* make fix-copies

* Apply suggestions from code review

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

* Change remaining examples to bert2gpt2

* Change the test to Bert2GPT2

* Fix examples

* Fix import

* Fix unpack bug

* Rename to FlaxEncoderDecoderModelTest and change the test to bert2gpt2

* Apply suggestions from code review

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

* Fix: NotImplentedError -> NotImplementedError

* Apply suggestions from code review

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

* up

* finalize

Co-authored-by: ydshieh <ydshieh@user.noreply>
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
2021-08-23 17:57:29 +02:00
..
2021-06-14 15:16:08 +05:30
2021-04-21 11:11:20 -04:00
2021-08-04 18:29:23 +02:00
2021-08-04 16:31:23 +02:00
2021-06-14 20:01:03 +01:00
2021-04-21 09:47:27 -04:00
2021-06-01 19:07:37 +01:00
2021-07-20 09:28:50 -04:00
2021-04-21 09:47:27 -04:00
2021-04-21 09:47:27 -04:00
2021-08-12 05:01:26 -04:00
2021-04-21 09:47:27 -04:00
2021-06-17 10:37:54 -04:00
2021-01-27 21:25:11 +03:00
2021-04-21 11:11:20 -04:00
2021-04-21 09:47:27 -04:00
2021-05-04 20:56:09 +02:00
2021-04-21 09:47:27 -04:00
2021-05-18 22:50:51 +01:00
2021-07-06 18:55:18 +05:30
2021-04-21 09:47:27 -04:00
2021-07-09 18:55:25 +01:00
2021-04-21 09:47:27 -04:00
2021-05-03 09:07:29 -04:00
2021-07-07 12:20:38 +05:30
2020-12-10 09:29:38 -05:00
2021-08-04 16:03:13 +02:00
2020-12-07 18:36:34 -05:00
2021-04-21 09:47:27 -04:00
2021-04-21 11:11:20 -04:00
2021-08-17 08:29:01 -04:00
2021-06-23 13:13:32 +01:00
2021-08-13 11:44:04 +05:30
2021-06-10 21:17:13 +05:30
2021-08-04 16:31:23 +02:00
2021-04-21 09:47:27 -04:00
2020-12-07 18:36:34 -05:00
2021-04-21 11:11:20 -04:00